Skip to content

Commit

Permalink
Work around regression in GRUB 2.00-22
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
schierlm committed Mar 29, 2014
1 parent 462afb6 commit 10201fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/boot/grub/addons.cfg
Expand Up @@ -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
Expand Down

0 comments on commit 10201fb

Please sign in to comment.