From 6323d69dad19996387c086b288c1810c347abb64 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 21 Mar 2011 00:22:57 +0100 Subject: [PATCH] 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 --- 42_grml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.1.4