set root="hd0,gpt?" # This is your grub-partition
set memfile="memdisk" # expected to be in grub folder
set imgfile="?.img" # name of img or iso or whatever
linux16 ($root)$memfile floppy pause # wait=slow-down, floppy=older images require
initrd16 ($root)$imgfile
Many thanks for this insight.When using grub, FreeDOS limitations should not matter.
Try using memdisk, which is like a magic wand in most cases. Place it in /boot/grub (or wherever grub resides) & edit your grub.cfg as:
Code:set root="hd0,gpt?" # This is your grub-partition set memfile="memdisk" # expected to be in grub folder set imgfile="?.img" # name of img or iso or whatever linux16 ($root)$memfile floppy pause # wait=slow-down, floppy=older images require initrd16 ($root)$imgfile
With, this, you don't even need a separate partition, the image file can be booted straight-up.
HTH
set root=(hd0,gpt2)
set memfile="/boot/grub/memdisk" # memdisk from syslinux 6.03
set imgfile="/boot/grub/dos.img" # balder10.img renamed as dos.img
linux16 ($root)$memfile floppy pause
initrd16 ($root)$imgfile
Looks as thoughBooting a command list
error: you need to load the kernel first.
Press any key to continue...
MEMDISK 6.03 2014-10-06 Copyright 2001-2014 H. Peter Anvin at al
MEMDISK: No ramdisk image specified!
memdisk
is starts but there may be something wrong with balder.img. Also which 'kernel' is being referred? It doesn't really seem to matter that it hasn't been loaded as the process continues anyway.GRUB2
Add the following in your config scripts for grub2:
menuentry "Hardware Detection Tool from floppy" {
linux16 /memdisk
initrd16 /hdt.img
}
menuentry "Hardware Detection Tool from iso" {
linux16 /memdisk iso
initrd16 /hdt.iso
}
menuentry "DOS from floppy image (with 'raw' parameter)" {
linux16 /memdisk raw
initrd16 /dosboot.img
}
How's the how-to going ?It's all doable and pretty simple. I'll see if I can write a how-to