From: Harald Hoyer Date: Mon, 5 Aug 2013 09:23:16 +0000 (+0200) Subject: systemd/dracut-initqueue.sh: continue to boot if finished failed X-Git-Tag: 032~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=226e3710b4236c69a8f821b6a5c53a264fe4892a;p=thirdparty%2Fdracut.git systemd/dracut-initqueue.sh: continue to boot if finished failed but /sysroot/etc/fstab exists. --- diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh index 35cd76f52..893ebc47e 100755 --- a/modules.d/98systemd/dracut-initqueue.sh +++ b/modules.d/98systemd/dracut-initqueue.sh @@ -62,7 +62,14 @@ while :; do fi main_loop=$(($main_loop+1)) - [ $main_loop -gt $RDRETRY ] && action_on_fail "Could not boot." && break + if [ $main_loop -gt $RDRETRY ]; + if ! [ -d /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then + action_on_fail "Could not boot." && break + fi + warn "Not all disks have been found." + warn "You might want to regenerate your initramfs." + break + fi done unset job