VOGONS

Common searches


First post, by foul_owl

User metadata
Rank Newbie
Rank
Newbie

Fresh install of freedos to sd card via ide to sd card adapter. If I try to boot from the sd card, I get "read error while reading drive". However, if I swap out the sd card with windows 98 install (also on sd card) it boots without issue. Also if I boot from the freedos install cd and then choose "boot from hard drive" it boots freedos fine.

Taking a look at the freedos sd card in Linux, it looks like there's an empty 4 megs at the beginning of the disk, then the rest is fat32, but with bootable flag enabled on the fat32 partition. Not sure why there is this empty 4 megs at the beginning, I started with a blank sd card.

How can I get freedos to boot without the cd?

Reply 1 of 6, by Duffman

User metadata
Rank Member
Rank
Member

What motherboard do you have?

MB: ASRock B550 Steel Legend
CPU: Ryzen 9 5950X
RAM: Corsair 64GB Kit (4x16GB) DDR4 Veng LPX C18 4000MHz
SSDs: 2x Crucial MX500 1TB SATA + 1x Samsung 980 (non-pro) 1TB NVMe SSD
OSs: Win 11 Pro (NVMe) + WinXP Pro SP3 (SATA)
GPU: RTX2070 (11) GT730 (XP)

Reply 5 of 6, by myne

User metadata
Rank Member
Rank
Member

You could attempt using the sys command.
It writes the boot sector, and copies msdos.sys, io.sys, command.com
Assuming hdd=c:, cd=d:
sys d: c:
Should do the trick

Things I built:
Mechwarrior 2 installer for Windows 10/11 Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11 auto-install iso template (for vmware)

Reply 6 of 6, by Max Headroom

User metadata
Rank Newbie
Rank
Newbie
foul_owl wrote on 2023-11-18, 02:39:

How can I get freedos to boot without the cd?

I also had similar problem; perhaps my solution will work for you: first format your SD card in Windows using defaults for that card. No, don't select „FAT32” or anything else — just in that little window click the button described „use default values” (or similarly). Then connect that SD to the machine you're using FreeDOS on, and after booting it from CD you can do „SYS C:” (or whichever letter your SD gets assigned).
That made my 2 GB CF card bootable.
As for cylinders/heads/sectors you rather want to rely on values „autodetected” by the BIOS of that mobo devoted to FreeDOS.