From 90ad6ff31f66112e863ea86c9960b9770a0a245e Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Fri, 19 Dec 2008 18:44:34 +0100 Subject: 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. --- init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init b/init index 102eda2..69cbeed 100755 --- a/init +++ b/init @@ -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=*) -- cgit v1.2.3