From: Michael Schierl Date: Sat, 29 Mar 2014 12:34:28 +0000 (+0100) Subject: Work around regression in GRUB 2.00-22 X-Git-Tag: v0.23.2~1 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=10201fbbc1d5717e11bd2e423bc43c6d27721823 Work around regression in GRUB 2.00-22 Seems that Grub 2.00-22 cannot properly load a gzipped initrd file with 'linux16' command (which is used to load the gzipped FreeDOS memdisk image). As a workaround, mount the filesystem using the 'loopback' command (which transparently decompresses it) and then use blocklist syntax to load the whole mounted filesystem as an initrd. --- diff --git a/templates/boot/grub/addons.cfg b/templates/boot/grub/addons.cfg index a1221df..ed91b04 100644 --- a/templates/boot/grub/addons.cfg +++ b/templates/boot/grub/addons.cfg @@ -18,7 +18,8 @@ menuentry "GRUB - all in one image" { menuentry "FreeDOS" { insmod linux16 linux16 /boot/addons/memdisk - initrd16 /boot/addons/balder10.imz + loopback balder /boot/addons/balder10.imz + initrd16 (balder)+2880 } if [ ${iso_path} ] ; then