diff --git a/generic/initrd.scripts b/generic/initrd.scripts index 14eba4e..ab80dfa 100644 --- a/generic/initrd.scripts +++ b/generic/initrd.scripts @@ -35,8 +35,9 @@ modules_scan() { findcdmount() { if [ "$#" -gt "1" ] then - for x in "$*" + for x in $* do + echo -e "${HILITE}---- Attempting to mount CD -- ${x}${NORMAL}" mount -t iso9660 -r ${x} /newroot/mnt/cdrom > /dev/null 2>&1 if [ "$?" = "0" ] then diff --git a/generic/linuxrc b/generic/linuxrc index 03ce3cf..d4c2ac2 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -74,7 +74,7 @@ mkdir /newroot if [ "${CDROOT}" -eq "1" ] then mount -t tmpfs tmpfs /newroot - mkdir /newroot/dev /newroot/mnt /newroot/mnt/cdrom /newrot/mnt/loop /newroot/tmp/.initrd /newroot/mnt/gentoo + mkdir /newroot/dev /newroot/mnt /newroot/mnt/cdrom /newroot/mnt/loop /newroot/tmp/.initrd /newroot/mnt/gentoo [ ! -e /newroot/dev/.devfsd ] && mount -t devfs devfs /newroot/dev devfsd /newroot/dev sleep 1 @@ -88,6 +88,10 @@ then if [ "${REAL_ROOT}" = "" ] then + echo "Dropping to shell so you can fix your shit" + exec /bin/ash + + # Undo stuff kill_devfsd sleep 1 umount /newroot/dev/