nixpkgs/modules/system/boot
Eelco Dolstra 76c74cd7c7 initrd: Detect filesystem type before doing fsck/mount
BusyBox doesn't handle the "auto" filesystem type very well: fsck will
just ignore such filesystems, and mount will only work properly if the
required kernel module is already loaded.  Therefore, use blkid to
determine the filesystem type.

Also generate an /etc/fstab in the initrd rootfs on the fly.  This is
useful if you're dropped into an emergency shell since it allows you
to say "fsck /dev/sda1" or "mount /dev/sda" and have the right thing
happen.
2012-06-28 10:55:44 -04:00
..
kernel.nix Dropped the unused/unknown/obsolete module i8042 from 'boot.initrd.kernelModules'. 2012-04-06 19:21:50 +00:00
luksroot.nix try isn't used, so use the more compatct seq 10 2012-06-27 09:43:54 -04:00
modprobe.nix * Move the setting of $MODULE_DIR to modprobe.nix. 2012-03-20 22:02:27 +00:00
stage-1-init.sh initrd: Detect filesystem type before doing fsck/mount 2012-06-28 10:55:44 -04:00
stage-1.nix Use BusyBox in the initrd 2012-06-22 10:43:06 -04:00
stage-2-init.sh Don't use weird 777 permissions on unmounted /dev/shm 2012-06-27 09:35:53 -04:00
stage-2.nix Add findutils dependency for /tmp cleaning. 2012-06-11 07:05:15 +00:00