<clever>
but without /boot, grub cant find normal.mod, so its stuck in rescue mode
<clever>
i didnt copy enough of it
<clever>
just typing fs0: and bootx64 into the shell runs bootx64.efi
<clever>
it boots
<clever>
waiting for the 60 second hang
<clever>
samueldr: ive yoinked the grub efi file from my laptop, and stuck it into the qemu image, to confirm if i'm even using the efi shell right
<clever>
it might only be the basic vesa driver that had trouble
<clever>
mfiano: oh, and the nvidia drivers may not have trouble with efi
<clever>
mfiano: it will fail to download because its closed source, and the error explains what you have to add to configuration.nix, to enable unfree software
<clever>
mfiano: you can use the keywords from this list to activte it
<clever>
mfiano: can you screenshot what comes up when you initially login?
<clever>
mfiano: there is an xterm desktop manager that may be enabled by default
<clever>
and auto-login skips that
<clever>
mfiano: if your using the slim display manager, i think it was f1 or f3 to cycle between the options, and its white on light blue, so its hard to read
<clever>
samueldr: only 4 leads in this cable
<clever>
samueldr: ah
<clever>
stock*
<clever>
samueldr: oh, and the stick firmware on this motherboard can take bitmap screenshots of itself, and save them to usb
<clever>
its the same port that handles reflashing itself
<clever>
samueldr: you have to hit a special button on the motherboard, to switch it into device mode on that port
<clever>
samueldr: ive been told that its violating the standards to make such a cable
<clever>
samueldr: even if the motherboard is "off"
<clever>
samueldr: then using USB HID packets, it can change the bios settings, simulate the power/reset buttons, and monitor the temps and fan speeds
<clever>
samueldr: this motherboard also has a non-standard double-male usb cable, that connects a special usb port on the mobo, to another pc running special software
<clever>
mfiano: it was just hard-coded to the path windows uses
<clever>
mfiano: i heard somebody mention in here a week ago, about a bios that could only boot windows
<clever>
mfiano: that reminds me
<clever>
BlessJah: i run it on my router, and we have #nixos-on-your-router
<clever>
ah, ldap, thats what i was trying to think of
<clever>
Guanin: i was thinking more about things like not even having users in /etc/passwd, and looking them up over the network
<clever>
Guanin: ah, yeah, thats a bit different
<clever>
Guanin: ignoring the normal centralized user stuff in pam, and just using git to sync the nixos config that generates users
<clever>
Guanin: have you considered just having normal pam setup everywhere, but using a nixos config file in git to keep them in sync?
<clever>
and if pam gets interrupted with any signal,returning an error code that says to try again, pam instead treats it as a hard failure
<clever>
haskell uses a timer signal to implement lightweight threads
<clever>
other then pam not handling stray signals well
<clever>
yeah, that program didnt have any pam problems
<clever>
Guanin: oh, correction to what i said above, hsdm is running as root when it does these calls, and will drop root to the chosen user once it confirms things
<clever>
Guanin: i think this file is also involved somehow
<clever>
MP2E: try you try it again from nixpkgs f607771d0f5 ?
<clever>
MP2E: one min
<clever>
MP2E: yeah, 32bit support is on, are you using the steam chroot stuff from nixpkgs?
<clever>
MP2E: what does this output? cat /proc/config.gz | gunzip | grep IA32
<clever>
MP2E: and if you run file on it?
<clever>
mfiano: for my laptop, its using 62gig, and my desktop, 46gig
<clever>
MP2E: if you run ls -lh ~/.local/share/Steam/ubuntu12_32/steam, what does it say?
<clever>
MP2E: if you override boot.kernelPackages, it will set the kernel automatically
<clever>
MP2E: are you using the hardened linux kernel
<clever>
spectre-meltdown-checker is also in nixpkgs, so you can test your boxes
<clever>
MichaelRaskin: i think there might have also been something about KPTI ruins performance, but the microcode can fix it faster
<clever>
MichaelRaskin: and spectre
<clever>
MichaelRaskin: and what is guix going to do with microcode blobs and meltdown?
<clever>
mfiano: one of the major strenghts of nixos, is that once you know a rev of nixpkgs that works good, you can always go back to that, no mater how bad things get, at the cost of downgrading to the versions within that rev
<clever>
simpson: my only guess, is that xfs looked up the mappings, then bypassed lvm, and got confused when lvm began shifting blocks around
<clever>
mfiano: ive got zfs with redundancy configured, and snapshots
<clever>
simpson: i once tried to resize an lvm volume, while an xfs one was mounted, something borked, and it overwrite a decent chunk of an ext3 volume in lvm
<clever>
mfiano: nix-env -iA nixos.gparted
<clever>
mfiano: yeah, and another optional thing you could try, is leave some empty space after that for windows
<clever>
mfiano: so you can upgrade to efi later on
<clever>
mfiano: we could just do legacy on gpt then, a 2mb bios boot partition, and the rest for btrfs and it should work
<clever>
mfiano: which might fix your EFI issues
<clever>
mfiano: boot.loader.grub.efiInstallAsRemovable lets you do an EFI install when not booted from EFI
<clever>
depends on if you want MBR or GPT, and if you want legacy or EFI
<clever>
and most bios should then boot it automatically without the special efi vars config
<clever>
mfiano: that tells grub to configure the sata drive as-if it was a removable disk
<clever>
mfiano: if you install nixos with boot.loader.grub.efiInstallAsRemovable = true; and the vfat mounted to /boot, it should become bootable
<clever>
mfiano: one sec
<clever>
mfiano: its very puzzling how just shrinking the bios boot partition breaks booting, because re-running nixos-install should fix it, and make it only boot nixos
<clever>
mfiano: my primary desktop is a 2 drive raid for nixos, and a 3rd drive for windows
<clever>
mfiano: that should work
<clever>
mfiano: dual-booting can be restored, once nixos is working, with the right nixos config for grub
<clever>
mfiano: also, is the CSM enabled in the bios?, your configured for legacy booting, not efi
<clever>
mfiano: the bios boot partition on sda1 only needs to be about 2mb, and it must never be mounted or formated with an FS
<clever>
mfiano: what does `mount` say?
<clever>
mfiano: also, what does `mount` say?
<clever>
mfiano: sda1 is way too big
<clever>
mfiano: and fdisk -l /dev/sda ?
<clever>
disasm: ah
<clever>
mfiano: then just ssh into it from a more capable machine
<clever>
mfiano: oh, also, systemctl start sshd, and passwd
<clever>
Ankhers: probably
<clever>
Ankhers: i'm not sure why its still in nixUnstable after being "released"
<clever>
mfiano: what does fdisk -l /dev/sda say?
<clever>
mfiano: and nix-env -iA nixos.gist lets you pastebin files with `gist -p file.txt`
<clever>
Ankhers: sudo -i then nix-env -iA nixpkgs.nixUnstable
<clever>
the conditions are a bit vague, but i think the trigger is if the mount namespace doesnt match its parent
<clever>
MichaelRaskin: you cant nest namespaces if you lack root
<clever>
when nix-bundle can just namespace the problem away
<clever>
but i would need root on your machine to import my store paths into your store
<clever>
MichaelRaskin: if you are running software that has been packaged to be ultra-portable, and self-updating
<clever>
MichaelRaskin: then nix-bundle will not be able to read a single /etc file
<clever>
MichaelRaskin: now nobody knows what udp is, and half my network applications just die
<clever>
MichaelRaskin: nix-bundle mounts a new dir over /nix
<clever>
MichaelRaskin: /etc/protocols is a symlink into /etc/static, and /etc/static points into the store
<clever>
MichaelRaskin: i also recently found a major problem between nixos and nix-bundle
<clever>
ahhh, atomic writes
<clever>
MichaelRaskin: for 20 seconds at a time
<clever>
MichaelRaskin: the oddity in my bug, is that the downstream was 100% working, with no latency, but the upstream had 100% packet loss, not high latency
<clever>
timokau: possibly, depends on if you want to make it fully read-only or not
<clever>
MichaelRaskin: windows would mass-disconnect everything, linux didnt even care
<clever>
MichaelRaskin: with my old dsl modem, i had a bug in the pppoe driver, causing only the upload path to 100% die, for upwards of 20 seconds
<clever>
timokau: others have to be writable like /etc/nixos/configuration.nix
<clever>
timokau: some files in /etc need to be "private" and not world-readable