From: Christian Hofstaedtler Date: Fri, 25 Mar 2011 23:41:09 +0000 (+0100) Subject: Work around grub sillyness of adding " to cmdline X-Git-Tag: v0.3.3~1 X-Git-Url: http://git.grml.org/?p=grml-rescueboot.git;a=commitdiff_plain;h=0858c92d63b359de78ecf4cb5977c27133d572bd Work around grub sillyness of adding " to cmdline Some versions of grub apparently add " to the cmdline when expanding vars, and some don't. As we cannot really change the ISOs, work around this here. --- diff --git a/42_grml b/42_grml index c7b2016..6e82b90 100755 --- a/42_grml +++ b/42_grml @@ -49,7 +49,7 @@ menuentry "${title}" { $(prepare_grub_to_access_device "$device" | sed -e "s/^/ /") iso_path="${rel_dirname}/${grml}" export iso_path - kernelopts="$CUSTOM_BOOTOPTIONS $additional_param" + kernelopts=" $CUSTOM_BOOTOPTIONS $additional_param " export kernelopts loopback loop "${rel_dirname}/$grml" set root=(loop)