diff options
author | maximilian attems <maks@debian.org> | 2008-12-19 18:44:34 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2008-12-19 18:46:43 +0100 |
commit | 90ad6ff31f66112e863ea86c9960b9770a0a245e (patch) | |
tree | 3d1e5f9af27014d4ec8b2e79d986e721728a0956 | |
parent | c5e4c28ef9e1b205a8a69c5c663ab00a1dfc97f3 (diff) | |
download | initramfs-tools-90ad6ff31f66112e863ea86c9960b9770a0a245e.tar.gz initramfs-tools-90ad6ff31f66112e863ea86c9960b9770a0a245e.zip |
init: Try to use old style sda1 if no root cmldine got specified.
with bad luck that might still be on hda1,
but then you get a warning about missing root boot param.
-rwxr-xr-x | init | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -70,6 +70,10 @@ for x in $(cat /proc/cmdline); do /dev/nfs) [ -z "${BOOT}" ] && BOOT=nfs ;; + "") + ROOT="/dev/sda1" + log_warning_msg "No root specified - trying /dev/sda1." + ;; esac ;; rootflags=*) |