X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper;h=17e19ae245b794e1c7b0271d454db0bfbf601048;hb=refs%2Ftags%2Fdebian%2F1.79%2Bdebian-2;hp=c46224737c95f5c6d15ededb9ec698233aafa416;hpb=97458dd49a574c8d84f5c1e1051ca2c47dd902a3;p=live-boot-grml.git diff --git a/scripts/casper b/scripts/casper index c462247..17e19ae 100644 --- a/scripts/casper +++ b/scripts/casper @@ -95,7 +95,7 @@ parse_cmdline () PRESEEDS="${PRESEEDS}\"${question}=${value}\" " ;; console=*) - export DEFCONSOLE="${x#*=}" ;; + export DEFCONSOLE=$(sed -e 's%.*console=%console=%' /proc/cmdline) ;; esac done @@ -426,6 +426,7 @@ setup_unionfs() { rofsstring=${rofsstring%:} mkdir -p /cow + cowdevice="tmpfs" cow_fstype="tmpfs" @@ -588,7 +589,7 @@ mountroot() { fi else # Scan local devices for the image - for i in 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13; do + for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; do livefs_root=$(find_livefs $i) if [ -n "${livefs_root}" ]; then break