Jim's Depository

this code is not yet written
 

Mount CD. Build and load squashfs module
Mount nix-store.squashfs (Lemma: uncompress, uncpio initrd, learn that init is nix/store/*-stage-1-init.sh. This is all about boot parameters, modules, mounting filesystems, and such then leaps to the *-system/init in the main nix-store.)

Make nix-installer dir add dev proc sys etc add nix/store mount nix-store.squashfs on nix/store

oops, “upstart” requires its PID be 1. I can’t chroot the installer, it will have to be containered as well.

mount -t tmpfs tmpfs /machines/nixos-installer cd /machines/nixos-installer mkdir -p dev dev/pts proc sys etc nix/store sbin mount -o loop /media/nixos/nix-store.squashfs nix/store/ cd sbin ln -s ../nix/store/*system/init init

Hmm, maybe it is the graphical installer causing trouble, try the minimal ISO

Need to mknod console,null,zero,tty,and tty{0-4} Drops to an emergency shell mailing to remount /nix/store

nixos-option -i   # make configt file edit /mnt/etc/configuration.nix: (kill grub and modules)