3

I am setting up a new development computer with FreeDOS and can boot off the SATA or USB drive. This is my first new computer with sophisticated UEFI (I have CMS enabled).

If I boot from the USB I will see the USB as C: and the SATA as D:. However if I boot off the SATA, DOS does not see the USB drive.

I suspect the FreeDOS USB driver is not doing what it is suppose to but it seems wrong that dos sees it if it was used for a boot?

Has anyone experienced this problem and found a solution?

  • What “FreeDOS USB driver” are you using? – Stephen Kitt Jan 21 at 5:38
  • I'm voting to leave this open because FreeDOS is Retrocomputing in my opinion. – Wilson Jan 21 at 10:40
6

The FreeDOS kernel doesn’t support USB drives on its own.

When you boot from a USB drive, the CSM makes it available through the BIOS 13h services, so it appears to DOS as a “standard” drive and everything works fine.

When you boot from your SATA drive, the CSM doesn’t set anything up for your USB drive (although in some cases it can be induced to do so) and DOS doesn’t see it. To access the drive in that case, you need to install and configure a USB driver; FreeDOS provides the usbdos package for this purpose.

  • As an interesting update I have found that if I have a non-system USB stick in a USB port during boot DOS can access all USB ports after that. However it will not detect any other usb stick that was not in at boot. It seems the BIOS will remap the stick (perhaps keeping track of its serial number) as I move it from port to port... weird! – jwzumwalt Jan 21 at 8:49
  • And CSM is?.... – Thorbjørn Ravn Andersen Jan 22 at 22:04
  • @Thorbjørn Compatibility Support Module, an optional module in UEFI which emulates BIOS services. – Stephen Kitt Jan 22 at 22:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.