Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-10-30 02:07:06 -0500
committerAaron Griffin <aaronmgriffin@gmail.com>2008-10-30 02:07:06 -0500
commitaeffbb4753793644b86239da8fdcf98fb38479fc (patch)
treef5586bc050e6ae4bec02d747279a6e3fad60727a /archiso
parentd94a1f9db2f85aaf581350b33a9175e8d16d5064 (diff)
Fail to a shell if boot device not found
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'archiso')
-rw-r--r--archiso/hooks/archiso3
1 files changed, 2 insertions, 1 deletions
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"