Chainload FreeDOS from GRUB2
Hello!
I'm trying to boot the FreeDOS boot floppy [1] from GRUB2 with the loopback module under QEMU (but the same happens on a real system). On the GRUB2 console I have:
=====
grub> loobpack (fd0) (hd0,1)/boot/fdboot.img
grub> chainloader (hd0,1)/boot/fdboot.img
grub> boot
FreeDOS
=====
And the system freezes.
I also tried the DOS 6.22 fd image at [2], but with the same commands above I obtain:
=====
Non-System disk or disk error
Replace and press any key when ready
=====
BTW, both fd images works OK when tested directly in QEMU, i.e. with qemu -fda $IMG.
Now, is it possible to load a fd image from GRUB2? And if yes, where's the error in my case?
Thx, bye,
Gismo / Luca
Footnotes:
[1] http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdboot.img
[2] http://www.bootdisk.com/bootdisk.htm