Inside the MS-DOS emulation, perform the following steps:Ĭopy the driver file to the C:\DOS directory: copy a:\oakcdrom.sys c:\dos The driver file can now be copied to the disk image. After that, dismount the image sudo umount ~/mntĪnd start the emulation, with the floppy image attached: qemu-system-i386 -L. You can now copy the driver file to the directory where your image is mounted. The uid (user id) and gid (group id) options must be set in order to be able to write to the mounted directory. Then, mount it (I'm using the directory mnt in my home directory here): sudo mount -t msdos -o loop,rw,uid=1000,gid=1000 blank.dd ~/mnt So, first create a blank floppy image (1.44 MB): mkfs.msdos -C blank.dd 1440 I will show you the latter way, since it is quite handy on other occasions to know how to create "virtual diskettes" for your emulation. The other way is to create a blank floppy image, put the file into it and then use the image in qemu. Now the question is: How do we get the CDROM driver in our MS-DOS environment? One way would be to connect the hard disk image we created with qemu-nbd as block device and then mount it. If you don't have oakcdrom.sys at hand, do a quick search on the web, the file should be widely available. I found oakcdrom.sys to be working in the emulation and got a copy of it from another disk I had around. First the program mscdex.exe which already comes with MS-DOS 6.22 (you'll find it in the C:\DOS directory). CDROM supportįor CDROM support in MS-DOS 6.22 you need two components. Presto! You have a working MS-DOS 6.22 environment. To exit the emulation either just close the QEMU window or switch to the QEMU console and type quit.įor subsequent starts of the VM without booting from Diskette use qemu-system-i386 -L. Switch back and confirm the installation dialog. To do so, change to the QEMU console again and type eject floppy0 At the end of the installation process you are prompted to remove the floppy disk from the drive. Repeat this when prompted for the third diskette. There, issue the command change floppy0 Īnd then press CTRL+ALT 1 to go back to the emulation. In order to change floppy disk images press CTRL+ALT 2 in QEMU to switch to the QEMU console. The MS-DOS installation wizard will automatically start up and guide you through the installation process, which reduces to just switching the floppy disks when prompted. Then we boot from first floppy image (I have named my MS-DOS floppy disk image dos622_1.dd, dos622_2.dd and dos622_3.dd: qemu-system-i386 -L. Installationįirst, we need a blank harddisk image to install MS-DOS on: qemu-img create msdos.disk -f qcow2 512M Instead I will go straight to the MS-DOS installation process. Installation and basic usage of QEMU as well as the creation of floppy disk images is beyond the scope of this post. Images of all three installation diskettes of MS-DOS 6.22.In this post I will show you how to install MS-DOS 6.22 in QEMU under Linux and add CDROM support. Doing the same with Version 6.22 of MS-DOS is even easier. In a previous post, I had installed MS-DOS 3.30 in the QEMU emulation system, what turned out to be quite simple.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |