logoalt Hacker News

fuzzfactorlast Saturday at 9:34 AM3 repliesview on HN

I've got an adapter that only goes up to 40GB because it's 20 yrs old.

ATA (aka IDE or EIDE) was all they had before SATA so these adapters were all over the place.

WTF is a Pi for?

There's small little chips that do exactly this interface, still probably plenty available surplus for cheap since ATA is not popular any more.

Any ATA HDD that works on a mainstream USB adapter will handle CHS for DOS usage just fine, or LBA. Pretty much automatically. This was already smoothed out before about 1994 or so.

DOS of the '90's could handle LBA anyway, I like the MS-DOS from Win98SE which was not available separately by then but after W98 is installed to a FAT32 partition, the key DOS OS files in W98 will be available to copy to a fresh fat32 volume. You pretty much copy the same (newer) DOS files from W98 to your DOS root that it would have after installing DOS 6.22

Here's a USB adapter now:

https://www.amazon.com/SATA-Adapter-Converter-Cable-Drive/dp...

Not only that but Windows 10 will still install and run on drives with these old connectors just fine in BIOS mode as expected but also partitioned & formatted with the latest GPT HDD layout, GPT would boot with UEFI rather than BIOS for most mainstream configurations.

But also if you do it right, GPT will boot a plain MBR HDD if the UEFI can find a suitable FAT32 BOOT folder.

UEFI + GPT alone is just too lame to run DOS on bare metal any more. Not without BIOS mode or CSM enabled. GPT is still a show-stopper though, DOS needs MBR drive layout :(

OTOH MS-DOS will still install & run on any PC or drive, even NVMe, as long as there is a CSM or legacy BIOS mode and you are not stuck with a crippled mother board having only UEFI. GPT-only means no DOS for you. Not without some kludge like a virtual machine.

The purpose of UEFI + GPT was to make it so you couldn't run DOS, Win3.x, W9x, Wxp, Vista, W7, and Linux ever again on bare metal.

Not without CSM. The key UEFI module.


Replies

lprovenyesterday at 3:01 PM

> I like the MS-DOS from Win98SE which was not available separately by then

IBM PC-DOS 7.1 exists and works and it can handle FAT32 and drives over 8GB.

https://pcdosretro.gitlab.io/

I blogged about how to get it:

https://liam-on-linux.livejournal.com/59703.html

I also have a complete, fully installed, Virtualbox VDI for download:

https://liam-on-linux.livejournal.com/82982.html

This supplements the PC-DOS 7.1 boot and system files with the rest of PC-DOS 2000, for a complete OS.

show 1 reply
eqvinoxlast Saturday at 3:27 PM

> The purpose of UEFI + GPT was to make it so you couldn't run DOS, Win3.x, W9x, Wxp, Vista, W7, and Linux ever again on bare metal.

> Not without CSM. The key UEFI module.

Linux works perfectly fine with GPT, UEFI and even Secure Boot though?

show 1 reply
rep_lodsblast Saturday at 1:40 PM

This has nothing to do with this project. It's an adapter for connecting (very) old hard drives which only support CHS to a modern computer via USB, so that you can copy the data off them.

show 1 reply