From: Michael Prokop Date: Sun, 20 Mar 2011 23:22:57 +0000 (+0100) Subject: Probe the device where the Grml ISO is being stored using ${grub_probe} instead of... X-Git-Tag: v0.3.1~1 X-Git-Url: https://git.grml.org/?p=grml-rescueboot.git;a=commitdiff_plain;h=6323d69dad19996387c086b288c1810c347abb64;hp=5361a30d7097df019c4b5cf8dcef84593dafc906 Probe the device where the Grml ISO is being stored using ${grub_probe} instead of using ${GRUB_DEVICE_BOOT}. [Closes: issue977] Thanks: Johann Felix Soden --- diff --git a/42_grml b/42_grml index 69f4b96..6913346 100755 --- a/42_grml +++ b/42_grml @@ -34,7 +34,7 @@ for grmliso in $list ; do cat << EOF menuentry "${title}" { -$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/ /") +$(prepare_grub_to_access_device $(${grub_probe} -t device ${grmliso}) | sed -e "s/^/ /") iso_path="${rel_dirname}/${grml}" export iso_path kernelopts="$CUSTOM_BOOTOPTIONS"