diff --git a/packages/initramfs/sysutils/busybox-initramfs/scripts/init b/packages/initramfs/sysutils/busybox-initramfs/scripts/init index fa10a66a7f..42dded7099 100755 --- a/packages/initramfs/sysutils/busybox-initramfs/scripts/init +++ b/packages/initramfs/sysutils/busybox-initramfs/scripts/init @@ -174,9 +174,9 @@ REBOOT="0" /bin/busybox mount --move /storage /sysroot/storage fi -# unmount all other filesystems - /bin/busybox umount /dev - /bin/busybox umount /proc +# move some special filesystems + /bin/busybox mount --move /dev /sysroot/dev + /bin/busybox mount --move /proc /sysroot/proc # switch to new sysroot and start real init exec /bin/busybox switch_root /sysroot /sbin/init diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index e81019243c..362db170ad 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -21,12 +21,12 @@ ################################################################################ # mounting needed special filesystems - mount -n -t proc none /proc +# mount -n -t proc none /proc # mounted in initramfs mount -n -t sysfs none /sys echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink - mount -n -t devtmpfs none /dev +# mount -n -t devtmpfs none /dev # mounted in initramfs mkdir -p /dev/pts mount -n -t devpts -o gid=5,mode=620 none /dev/pts