Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Alvin777

macrumors 6502
Original poster
Aug 31, 2003
314
17
Hello MacRumor, Apple and Mac friends.

Is there any way to make FreeDOS, MS-DOS 6.22, 7.1 or MS-DOS 8 (if a real DOS mode, standalone of version 8 exists) boot on the Mac, specifically an iMac, be it off an internal Mac drive, external one, CD/DVD or via network (external drive like a USB-A flashdrive is way preferred) that'll have support for external USB drives (like a flashdrive or a hardisk in a USB-A enclosure)?

It's to know the capabilities of the Intel Macs (having tested FreeDOS on VirtualBox, macOS version and emulations like DOSBox) and to play some DOS apps (including DOS games) in its native, not emulated, non-virtualized form.

Thank you. As a bonus is there a way for FreeDOS, MS-DOS to run a GUI internet browser (just the browser is good) for a minimalist OS that can still browse the Internet 2.0 (or are we already on Internet 3.0 with all these deep learning and machine learning going around)?

If MS-DOS or FreeDOS can be booted (with external USB support) on an Intel Mac, natively, it'd be great to work, distraction free like this one :), too:

https://arstechnica.com/information-technology/2021/07/dos-boot-ars-spends-a-day-working-in-freedos/

God bless, Revelation 21:4
 
Last edited:

joevt

Contributor
Jun 21, 2012
6,016
3,566
I have used FreeDOS on my Mac Pro 2008 (MacPro3,1) but I haven't tried any games or graphical stuff.

I think to use FreeDOS requires an Intel Mac that can do legacy BIOS boot. Current Macs only do UEFI boot?

In the list of firmwares at https://support.apple.com/en-us/HT201518 , most of them have the legacy BootCamp EFI app (2B0585EB-D8B8-49A9-8B8C-E21B01AEF2B7 AppleLegacyLoad). I don't know if that means it works in all of them.

iMac4,1
iMac5,1
iMac5,2
iMac6,1
iMac7,1
iMac9,1
iMac11,1
iMac11,2
iMac12,1
iMac13,1
iMac14,1
iMac14,2
iMac14,3
iMac14,4
iMac15,1
MacBook1,1
MacBook2,1
MacBook3,1
MacBook5,1
MacBook5,2
MacBook7,1
MacBookAir1,1
MacBookAir2,1
MacBookAir3,1
MacBookAir4,1
MacBookAir5,1
MacBookAir6,1
MacBookPro1,1
MacBookPro1,2
MacBookPro2,1
MacBookPro2,2
MacBookPro3,1
MacBookPro5,1
MacBookPro5,2
MacBookPro5,3
MacBookPro5,5
MacBookPro6,1
MacBookPro7,1
MacBookPro8,1
MacBookPro9,1
MacBookPro10,1
MacBookPro10,2
MacBookPro11,1
MacBookPro11,2
Macmini1,1
Macmini3,1
Macmini4,1
Macmini5,1
Macmini6,1
Macmini7,1
MacPro1,1
MacPro2,1
MacPro3,1
MacPro4,1
MacPro5,1



Some of the newer firmwares do not have that EFI app. I don't know if that means they have an alternate method for doing legacy BIOS boot.

MacBook8,1
MacBookAir7,1
MacBookPro11,4
MacBookPro12,1
MacPro6,1
Xserve1,1
Xserve2,1
Xserve3,1


That page doesn't have firmwares for newer Macs so I can't check them.
 
  • Like
Reactions: Alvin777

Alvin777

macrumors 6502
Original poster
Aug 31, 2003
314
17
Hi, true, FreeDOS itself tweeted that it can't boot directly coz' DOS is just for BIOS. I'm just wondering how come my Windows 10 installer which is MBR can be booted by macOS's boot manager?

But a boot manager it seems may be able to boot it on Intel Macs. It's called rEFInd. I've used this before, about a decade ago if I remember. I think it can boot MS-DOS or FreeDOS- pray, fast & hope. I'll test it first on a macOS install (is on an external drive) where I test things (I wish it can be tested virtually on a virtual machine).
 

joevt

Contributor
Jun 21, 2012
6,016
3,566
rEFInd knows how to boot legacy BIOS stuff on old Macs. It uses the AppleLegacyLoad EFI app after setting the BootCampHD nvram variable (and also setting the active partition in the MBR). It's not going to work if it can't find the AppleLegacyLoad EFI app.

rEFInd also knows how to boot legacy BIOS on PCs. I don't think that works on new Macs though.

Either your Mac can boot FreeDOS like it can Windows, or your Windows is not MBR.

What kind of Windows installer was it? USB or CD/DVD? Make your FreeDOS installer the same.
 
  • Like
Reactions: Alvin777

Alvin777

macrumors 6502
Original poster
Aug 31, 2003
314
17
rEFInd knows how to boot legacy BIOS stuff on old Macs. It uses the AppleLegacyLoad EFI app after setting the BootCampHD nvram variable (and also setting the active partition in the MBR). It's not going to work if it can't find the AppleLegacyLoad EFI app.

rEFInd also knows how to boot legacy BIOS on PCs. I don't think that works on new Macs though.

Either your Mac can boot FreeDOS like it can Windows, or your Windows is not MBR.

What kind of Windows installer was it? USB or CD/DVD? Make your FreeDOS installer the same.
Hi, thanks. Sadly after 3 days or research and tedious trial and error, bit flipping even, converting to GPT, all the tricks in the book, including rEFInd, Intel Macs just can't boot DOS, be it MS-DOS, FreeDOS, PC-DOS perhaps someday, it's probably too legacy a BIOS for even the best BIOS emulator in Intel Macs.

I'll try again with a virtual machine (2nd time to test things out with a virtual machine) and somehow connect my internal drive and external drives using any of the three DOS OSes mentioned above. I'll also try, installing on an external drive, a second test macOS installation, use Boot Camp Assistant (which makes hybrid MBR and GPT drives) and cancel the windows installation then image burn any of the three DOS OSes into that partition, I have lots of external storage devices (will use FreeNAS and an old PC one of these days for more experiments).

Thanks, stay safe.
 

joevt

Contributor
Jun 21, 2012
6,016
3,566
Hi, thanks. Sadly after 3 days or research and tedious trial and error, bit flipping even, converting to GPT, all the tricks in the book, including rEFInd, Intel Macs just can't boot DOS, be it MS-DOS, FreeDOS, PC-DOS perhaps someday, it's probably too legacy a BIOS for even the best BIOS emulator in Intel Macs.

I'll try again with a virtual machine (2nd time to test things out with a virtual machine) and somehow connect my internal drive and external drives using any of the three DOS OSes mentioned above. I'll also try, installing on an external drive, a second test macOS installation, use Boot Camp Assistant (which makes hybrid MBR and GPT drives) and cancel the windows installation then image burn any of the three DOS OSes into that partition, I have lots of external storage devices (will use FreeNAS and an old PC one of these days for more experiments).

Thanks, stay safe.
You never said what iMac you have. Probably not one of the ones I listed.

Older Macs can boot FreeDOS just fine.

Virtual machine should be no problem. Parallels Desktop might not allow selecting certain partitions for its virtual hard drives - it may be possible to edit the hard drive files manually. I manually created a virtual hard drive that points to a macOS disk image so I can mount the disk image when I'm not using the virtual machine. Parallels has it's own app for mounting virtual hard drives, but I prefer the macOS disk image methods.
 
  • Like
Reactions: Alvin777

Alvin777

macrumors 6502
Original poster
Aug 31, 2003
314
17
Hi. Late 2015 5K iMac. Thanks for sharing your virtual method, it seems virtual is the way to go for this.

I plan to schedule another experimentation with booting DOS, perhaps on a weekend.

I'm still wondering though, how come Mac's boot manager can boot, even without rEFInd, a USB flashdrive Windows 10 installer which is also BIOS legacy and MBR but not FreeDOS which has the same protocols. What's in the Windows 10 installer that can be booted easily by the Macs Boot manager that's not in DOS (FreeDOS, PC-DOSL MS-DOS)?

God bless.
 
Last edited:

joevt

Contributor
Jun 21, 2012
6,016
3,566
Late 2015 5K iMac.
That's an iMac17,1. It's not in the list of firmwares so it might not have the legacy boot EFI app.

I'm still wondering though, how come Mac's boot manager can boot, even without rEFInd, a USB flashdrive Windows 10 installer which is also BIOS legacy and MBR but not FreeDOS which as the same protocols. What's in the Windows 10 installer that can be booted easily by the Macs Boot manager that's not in DOS (FreeDOS, PC-DOSL MS-DOS)?
Like I said before, either your Mac can boot FreeDOS like it can Windows, or your Windows is not MBR.

With a USB flash drive, it may support both MBR and EFI booting. How did you create the USB flash drive? What does the diskutil list command show? Does it have an EFI partition? Is there a bootx64.efi file?

Boot your computer, hold the option key down to get into the Startup Manager. Connect the Windows installer USB. New icons (possibly 1 or more) will appear in the Startup Manger. Do they say "Windows" or "EFI boot"?
"Windows" is legacy. "EFI boot" is EFI.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.