diff --git a/initramfs/init b/initramfs/init index c6c8b0b..1f27a6b 100755 --- a/initramfs/init +++ b/initramfs/init @@ -6,10 +6,9 @@ IMAGEFILE=/boot/imagefile.cpio.gz # Get our basic working environment up. +mount -t devtmpfs devtmpfs /dev mount -t proc proc /proc mount -t sysfs sysfs /sys -mdev -s - # This is called if something goes horribly wrong. panic() @@ -276,4 +275,5 @@ sync umount /boot umount /sys umount /proc +umount /dev exec switch_root -c /dev/console /rootfs /sbin/init