First post, by LSS10999
I'm considering booting multiple DOS versions in a single system (with the help of NTLDR or GRUB4DOS), and have been using VirtualBox to conduct experiments, and I could then save the completed result into an image that I could dd into the real machine. VirtualBox's snapshot feature has been very helpful for me when I'm working on this, as it allows me to easily revert to a previous state should anything go wrong later on.
So far I'm able to get FreeDOS and PTS-DOS 32 to coexist, as they by default do not share any system file, though a boot sector dump (can be created using DEBUG) is needed for PTS-DOS 32 while FreeDOS kernel can be chainloaded directly by GRUB4DOS.
But when it comes to ROM-DOS 7.10 (SUV) and MS-DOS (Win98/Me) I ran into a problem: only one of these two can be booted at a time even with correct boot sector dumps.
If I install MS-DOS (Win98/Me) first then ROM-DOS, then I cannot boot MS-DOS with my old boot sector file anymore. If I reinstall the MS-DOS boot code (via SYS/FDISK), then MS-DOS will boot, but ROM-DOS will stop working with its respective boot sector file as well.
I've checked that both DOS' system files (IO.SYS/MS-DOS.SYS for MS-DOS, and IBMBIO.COM/IBMDOS.COM for ROM-DOS) are present and intact. These two DOS do not share kernel files but they share CONFIG.SYS/AUTOEXEC.BAT, though it's technically possible to hex-edit one of these kernels (preferrably the ROM-DOS one) to look for a different CONFIG file (and from the new CONFIG specify a different AUTOEXEC file in the SHELL line).
I'm wondering what else might be causing the conflict, given I've the boot sectors of both DOS versions dumped and they do not really share any kernel file... I once read that some old DOS versions additionally expect the kernel files be the first two files in the filesystem, but I don't think this really is the case... maybe I need to dig a bit further into their boot sector codes...