Hi,
grub2 is currently unable to chainload a disk or cd-rom (.ico) image. I want to be able to boot the Balder boot disk FreeDOS distribution [1]. I place the image file balder10.img into my /boot ddirectory and try to boot it from grub using the following commands (and several variations of it):
loopback (fd0) /boot/balder10.img
chainloader (fd0) +1
I always get the "invalid signature" error message. If I leave out the "+1" from the chainloader command I get the "no file specified" error.
I know it is possible to mount cdrom images (e.g. linux distribution live cds) and directly specify the kernel and initrd files relative to the loopbacked device. But that's not what I want (and it certainly only works for complete linux distributions and no other OSs). I want to be able to boot the image *as if the disc was inserted in the drive*.
For the Balder FreeDOS boot disk I currently help myself by loading syslinux-common's memdisk image via the linux16 command and the balder10.img image via the initrd16 command. But I don't favour to use a feature of another bootloader (i.e. syslinux) to actually boot a disk image from grub2.
Cheers,
Fabian
PS: Many other users have reported similar problems, e.g. <http://michael-prokop.at/blog/2009/05/25/boot-an-iso-via-grub2/#comment-14147>
[1] http://www.finnix.org/Balder