Lines 366-371
Link Here
|
366 |
echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting" |
366 |
echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting" |
367 |
cd /newroot |
367 |
cd /newroot |
|
|
368 |
mkdir /newroot/proc /newroot/sys |
368 |
pivot_root . tmp/.initrd |
369 |
pivot_root . tmp/.initrd |
369 |
echo -n '.' |
370 |
echo -n '.' |
Lines 374-379
Link Here
|
374 |
umount /tmp/.initrd/proc || echo '*: Failed to unmount the initrd /proc!' |
375 |
umount /tmp/.initrd/proc || echo '*: Failed to unmount the initrd /proc!' |
375 |
mount -n --move /tmp/.initrd/dev dev || echo '*: Failed to move over the /dev tree!' |
376 |
mount -n --move /tmp/.initrd/dev dev || echo '*: Failed to move over the /dev tree!' |
376 |
rm /tmp/.initrd/dev -rf || '*: Failed to remove the initrd /dev!' |
377 |
rm /tmp/.initrd/dev -rf || '*: Failed to remove the initrd /dev!' |
|
|
378 |
elif [ "${CDROOT}" -eq '0' -a "${USE_UDEV_NORMAL}" -eq '1' ] |
379 |
then |
380 |
umount /tmp/.initrd/proc || echo '*: Failed to unmount the initrd /proc!' |
381 |
umount /tmp/.initrd/sys || echo '*: Failed to unmount the initrd /sys!' |
377 |
elif [ "${CDROOT}" -eq '1' ] |
382 |
elif [ "${CDROOT}" -eq '1' ] |
378 |
then |
383 |
then |
379 |
# If automount at boot was on with devfs, we'll want to umount it |
384 |
# If automount at boot was on with devfs, we'll want to umount it |