summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2008-07-05 01:46:31 +0200
committermaximilian attems <maks@debian.org>2008-07-05 01:46:31 +0200
commitb1c5ca97da3bf6053412f1e159db09a48b44a6c5 (patch)
treea1978c19c1935e1369ed271c4b43befdb0b76546 /scripts
parentf7d97ceae4000b9a08e7f04765beacd68b3bebb4 (diff)
downloadinitramfs-tools-b1c5ca97da3bf6053412f1e159db09a48b44a6c5.tar.gz
initramfs-tools-b1c5ca97da3bf6053412f1e159db09a48b44a6c5.zip
Merge more meaningful text for no root device panic from Ubuntu.
Debian users were pasting that without getting the real trouble, thanks for the better rephrasing.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/local9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/local b/scripts/local
index dc0745d..85d62af 100644
--- a/scripts/local
+++ b/scripts/local
@@ -87,9 +87,12 @@ mountroot ()
fi
;;
esac
- echo "ALERT! ${ROOT} does not exist. Dropping to a shell!"
- echo " Check your root= boot argument (cat /proc/cmdline)"
- panic " Check for missing modules (cat /proc/modules), or device files (ls /dev)"
+ echo "Gave up waiting for root device. Common problems:"
+ echo " - Boot args (cat /proc/cmdline)"
+ echo " - Check rootdelay= (did the system wait long enough?)"
+ echo " - Check root= (did the system wait for the right device?)"
+ echo " - Missing modules (cat /proc/modules; ls /dev)"
+ panic "ALERT! ${ROOT} does not exist. Dropping to a shell!"
done
# Get the root filesystem type if not set