Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The best way to boot DOS ???
#14
1. Format the main first partition as NTFS
2. Add grubfm_multiarch.iso to your Ventoy drive https://github.com/a1ive/grub2-filemanag...tag/v7.4.0
3. Get suitable DOS image file (unzip the one in Easy2Boot at \_ISO\DOS\MNU\Freedos288.IMA.gz) and rename file as FREEDOS.IMG
4. Legacy Boot to Ventoy - load grubfm_multiarch.iso iso
5. Navigate to the FREEDOS.IMG file, press ENTER and choose 'Boot floppy image (map)' option

You now are in FreeDOS, D: is the Ventoy Partition 1 NTFS volume.
You can use CD command to get to any folder and run any DOS program directly from Partition 1.

If you dont want to load the DOS NTFS driver then make Partition 3 a FAT32 partition and place your DOS executables and flash files in that partition.

You could also construct a Ventoy F6 user menu which runs grub.exe (grub4dos) using the linux command?
https://rmprepusb.com/tutorials/062-chai...FROM_GRUB2

Using \ventoy\ventoy_grub.cfg

Code:
# use F6 in Ventoy to load it
# case sensitive filenames


if [ "${grub_platform}_${grub_cpu}" = "pc_i386" -a -f ${vtoy_iso_part}/grub.exe -a -f ${vtoy_iso_part}/Freedos.IMG ]; then
    menuentry "Load FreeDOS (MBR)" --class=custom {
        # set default partition for img file - grub.exe must be in root of Ventoy partition
        set root=${vtoydev},1
        set opts='map --mem /Freedos.IMG (fd0); map --hook; root (fd0); chainloader /kernel.sys || chainloader +1;'
        linux ${vtoy_iso_part}/grub.exe --config-file=${opts}
    }
fi



You can get grub.exe from  zip file at https://github.com/chenall/grub4dos/rele...2-12-22.7z

Ptn1 can be NTFS or FAT32 so DOS can access it.
Reply


Messages In This Thread
The best way to boot DOS ??? - by mat-industries - 09-17-2020, 06:31 PM
RE: The best way to boot DOS ??? - by Steve2926 - 09-19-2020, 07:50 AM
RE: The best way to boot DOS ??? - by GCMartin - 09-19-2020, 03:34 PM
RE: The best way to boot DOS ??? - by dgasaway - 09-22-2020, 02:38 AM
RE: The best way to boot DOS ??? - by markm - 10-01-2020, 06:58 PM
RE: The best way to boot DOS ??? - by bzzz - 12-23-2022, 02:01 AM
RE: The best way to boot DOS ??? - by Midas - 10-02-2020, 12:16 PM
RE: The best way to boot DOS ??? - by Steve2926 - 12-24-2022, 07:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)