How to install MS-DOS on a CF-card without using a floppy

Oracle VM

This information is based on http://theinstructionlimit.com/installing-ms-dos-6-22-on-a-486-without-a-floppy-drive-using-a-cf-to-ide-adapter and is more of a note to self. Anyway, as a retrocomputer enthusiast I often find myself in the following situation:

I have a compact flash to IDE adapter with a suitable CF-card. However, I do not have a floppy drive on the retrocomputer that I want to install MS DOS to. Furthermore, I also need to install Ontrack Disk Manager to utilize larger partitions on older computers. The proposed solution is to perform the install by using a Virtual Machine.

Preparations:

Now, I follow this procedure to install Ontrack Disk Manager and MS DOS 6.22 on the CF-card.

Step 1: Type:

wmic diskdrive list brief

to identify your cf-card’s DeviceID (it should look something like \.\PHYSICALDRIVE1)

Step 2: Change to the VirtualBox directory (usually c:\Program Files\Oracle\VirtualBox). Type the following to create a raw virtual machine (.vmdk) (replace N in \.\PHYSICALDRIVE1 with DeviceID).

vboxmanage internalcommands createrawvmdk -filename CompactFlashCard.vmdk -rawdisk \.\PhysicalDriveN

Step 3: Start VirtualBox with administrator rights.

Create a DOS virtual machine (other -> DOS), default settings, except for hard disk, where you choose “Use an existing virtual disk file”, where you assign the CompactFlashCard.vmdk-file that you created earlier.

From here, you can add your Ontrack Disk Manager and MS DOS disk images to the floppy drive of the virtual machine, and install MS DOS. Ontrack Disk Manager usually divides your CF-card to partitions of 2 gb each.

If you want to add additional files (games, drivers etc) to the cf card using your modern PC, you can just unplug and plugin the cf card in Windows and drag n drop software onto it.

2 Comments

  1. a

    Hi
    I tried your instructions on a Win10 machine. I can crate the vdmk file on the CF card. However, since I deleted all the partitons, I cannot acces the vdmk file from the virtualpc menue (it shows the usb device but does not see a partition and does not let me open it…)

    Reply
    1. Dreamcast (Post author)

      Hi Andreas! The vdmk-file is created on your computer, usually in the c:\Programxxx\Oracle\VirtualBox\ folder.

      Reply

Leave a Comment

Your email address will not be published. Required fields are marked *

Skip to toolbar