Add this to the grub.cfg in the root of sdX1:
Code: Select all
set root=(hd0,msdos2)
configfile /boot/grub/grub.cfg
Code: Select all
set timeout=5
set default=0
# Boot a puppy example
menuentry 'BionicPup64 8.0' {
linux /BionicPup64/vmlinuz psubdir=BionicPup64 pmedia=usbflash pfix=fsck
initrd /BionicPup64/initrd.gz
}
# Boot an ISO file example
menuentry "linuxmint-19.2-mate-64bit ISO" {
set isofile="/ISOs/linuxmint-19.2-mate-64bit.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile liveimg noprompt noeject quiet splash --
initrd (loop)/casper/initrd.lz
}
Those entries boot puppies and ISO's that are on the ext3 partition. This is really important with large ISO's as Grub4Dos requires them to be on a fat32 and occupy only 1 extent. Grub will boot regardless of how many extents.
So for multiple large ISO's, ext3 and grub works better.