eM-!3 wrote on 2024-11-30, 20:10:
I have a disk with FreeDOS ("FrankenDOS" really) installed. Let say that I boot into FreeDOS. I don't want to install DOS to a new partition. If it's possible I would prefer to just run it, boot DR-DOS from a file. I know it's possible to boot Linux that way. What tools should I use: Grub4DOS, Syslinux?
What you want is grub/syslinux, with memdisk.
https://wiki.syslinux.org/wiki/index.php?title=MEMDISK
This allows booting of a ram backed disk image, and allows for a very extensive list of possible boot images. (For example, a cdrom with multiple configurations or windows versions. Yes, win9x is fully bootable this way.)
This can be a hyper-minimal bootable floppy image, with just the dos kernel, command interpreter, and autoexec.bat/config.sys for that dos version, and appropriate PATH variables set for each, pointing to a universal FAT formatted volume serving as the C drive.
Eg, DR-DOS and MSDOS have their own 'dos' folders set up, and being a real hardware drive, is persistently writable. A ramdisk based A drive hosts the kernel and command interpreter.
It can also supply a whole bootable hard disk image, if that's your poison.