From aeffbb4753793644b86239da8fdcf98fb38479fc Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 30 Oct 2008 02:07:06 -0500 Subject: Fail to a shell if boot device not found Signed-off-by: Aaron Griffin --- archiso/hooks/archiso | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archiso') diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index 1eb0832..f2b62fe 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -75,6 +75,8 @@ run_hook () if [ ${found} -eq 0 ]; then echo "ERROR: cannot find boot device, cannot continue..." + echo " Falling back to interactive prompt" + PS1="ramfs$ " /bin/sh -i exit 1 fi @@ -85,7 +87,6 @@ run_hook () base_img="/tmpfs/archiso.sqfs" fi - msg ":: Mounting squashfs image" /bin/modprobe -q squashfs >/dev/null 2>&1 msg ":: Mounting root (union) filesystem" -- cgit v1.2.3-70-g09d2