3 # echo "Starting shell from md boot"
6 /sbin/mount_tmpfs tmpfs /tmp
7 /sbin/mount_tmpfs tmpfs /var
12 echo "Starting recovery shell!"
20 for rcs in /etc/rc.*; do
26 echo "Mounting new root"
29 REAL_ROOT=`sysctl -n vfs.real_root`
30 if [ "$?" -ne "0" ]; then
31 echo "Kernel does not have vfs.real_root sysctl. Please update your" \
32 "kernel if you intend to use initrd"
39 if [ "$TYPE" = "local" ]; then
42 echo "executing /sbin/mount -t $FSTYPE $4 $MOUNTFROM /new_root"
43 /sbin/mount -o ro -t $FSTYPE $4 $MOUNTFROM /new_root
44 if [ "$?" -ne "0" ]; then
48 if [ -x "/etc/rcmount_${TYPE}" ]; then
49 . /etc/rcmount_${TYPE} $@
50 if [ "$?" -ne "0" ]; then
59 read UDEVD_PID < /var/run/udevd.pid
68 echo "Mounting devfs on new root"
69 #/sbin/mount_devfs /new_root/dev
70 /sbin/mount_null /dev /new_root/dev