DOS Machine on qemu/kvm
What is the easiest way to get a DOS machine running on qemu/kvm virtual machine?
Just wasted a good part of a day trying to get freedos to load. Having bad memories of why I hate MS. On debian 10 platform, if that matters. Thanks. |
Did you try the procedures at this link?
http://wiki.freedos.org/install/ Or this one? https://www.youtube.com/watch?v=o09FLGmbdp4 What's new with using DOS that you would want to install it in this day and age? |
1 Attachment(s)
Yes, have tried those.
Keep getting to the point in attached screen grab and hangs. Quote:
|
1 Attachment(s)
Also tried installing MSDOS6.22 using these instructions:
https://virtualisedreality.com/2009/...-6-22-in-a-vm/ with fail. |
Has to be something simple that I'm not aware of.
|
What about DOSBox?
|
Would I be able to use a serial port with Dosbox? Ie.: the ttyS0 port with a DB9 connector.
What I am trying to do is get some files off of a very old (Compaq Contura) laptop. The floppy does not work on the laptop, but it has Laplink installed. So if I can just get a DOS anything working with a serial port I'm hoping that I can transfer files from the lappy. Thanks, JP. |
It appears that it can
https://www.dosbox.com/DOSBoxManual.html#Multiplayer so it might be worth checking it. The Qemu approach can take a while to debug. |
I can confirm that serial ports work with dosbox. Another option is virtualbox. I have both freedos and DOS 6.22 running in a VM.
|
Looking into dosbox, it is running but have not figured out how to run
Code:
MODE COM1:2400,n,8,1,p If I put Virtual Box on my VM server would I have to remove qemu/kvm? Is Virtualbox easier to get guests running on? |
Qemu and VirtualBox are not mutually exclusive. Though ease of use is relative. I find Qemu preferable to VirtualBox but have no recent experience with any form of DOS. If I recall correctly, the last time I did use a DOS was to use GRUB to boot into FreeDOS directly. So if you have a spare machine to boot, using GRUB might be another option. Though Qemu should boot FreeDOS with the right options.
|
Just in case you were still interested installing qemu-kvm I reformatted your original command:
Code:
qemu-system-x86_64 -hda c.hd -drive format=raw,media=cdrom,readonly,file=/home/jogl/Downloads/freeDos/FD13-LiveCD/FD13LIVE.iso -boot d Code:
qemu-system-x86_64 -blockdev driver=raw,node-name=disk,file.driver=file,file.filename=c.hd -drive format=raw,media=cdrom,readonly,file=/home/jogl/Downloads/freeDos/FD13-LiveCD/FD13LIVE.iso -boot d |
Well, even the official FreeDOS documentation seems to be out of date, with a few deprecated Qemu options, but it boots FreeDOS nevertheless, at least for now:
Code:
qemu-img create freedos.img 150M Code:
qemu-system-i386 \ I took a quick look at trying to use mount on the disk image, but made no progress to get past its complaints about wrong fs type, bad option, bad superblock, missing codepage or helper program, or whatever. However, clicking on the FreeDOS disk image in the file manager seems to give positive results. So at least on a graphical system, like a desktop, you can get at your DOS files that way. |
Thanks, but still hangs at same spot.
|
I am sorry, I didn't look at your screenshot from before. You seem to be using the wrong menu item on the install page. You need to choose Install to Harddisk. Like you said something simple being overlooked
|
All times are GMT -5. The time now is 10:29 PM. |