index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-02-17 18:31:31 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-02-17 19:05:44 -0300 |
commit | 58ff8792782e594949f2181eae36f9871ed7b20c (patch) | |
tree | a13630f91424e36033c94d427e636970b1329ac7 /archiso | |
parent | c14ef34b48d20d05f35bfda56f650268394fe640 (diff) |
-rw-r--r-- | archiso/hooks/archiso | 12 |
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index 7b4d756..aac2d21 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -85,16 +85,24 @@ archiso_mount_handler() { if mount -r -t "${FSTYPE}" ${archisodevice} /bootmnt > /dev/null 2>&1; then if [ -e "${isomounts}" ]; then echo "SUCCESS: Mounted archiso volume successfully." + fserror="0" else echo "ERROR: Mounting was successful, but the ${isomounts} file does not exist." - exit 1 + fserror="1" fi else echo "ERROR; Failed to mount ${archisodevice} (FS is ${FSTYPE})" - exit 1 + fserror="1" fi else echo "ERROR: ${archisodevice} found, but the filesystem type is unknown." + fserror="1" + fi + + if [ "${fserror}" = "1" ]; then + echo " Falling back to interactive prompt" + echo " You can try to fix the problem manually, log out when you are finished" + launch_interactive_shell fi msg ":: Mounting root (aufs) filesystem" |