User Tools

Site Tools


virtual_machines

If you want to send us your comments, please do so. Thanks
More on comments


Virtual Machines

bochs

Install: 10 MB
Bochs is a portable Intel Architecture 32 (x86) emulator that runs on most popular operating systems
Bochs on Wikipedia

dosbox

Install: 3,2 MB
DOSBox, a DOS-emulator, man page

qemu

Install

With aptitude install qemu This uses about 460MB
It installs about 350MB of stuff you probably will not need
As also the case in other packages it is unclear why packages have to be installed which seem to be of no use
On Debian 10 Buster in aptitude for the x86 emulator: 54MB

Install Freedos in qemu

  • Do wget http://www.freedos.org/download/download/FD12CD.iso or download the CDROM “standard” installer from Freedos
  • qemu-img create -f raw /opt/qemu/freedos.qemu.img 200M
  • qemu-img resize -f raw /opt/qemu/freedos.qemu.img +400M
  • Once: qemu-system-i386 -m 32M -drive file=/opt/qemu/freedos.qemu.img,media=disk,format=raw -drive file=/home/user/downloads/FD12CD.iso,media=cdrom -boot order=d
  • Follow the instructions:
    • Wait a few seconds or press ESC
    • Press <ENTER> to install to harddisk
    • Your language (English) Press <ENTER>
    • Yes - Continue with the installation Press <ENTER>
    • Yes - Partition drive C: Press <ENTER>
    • Do you want to use large disk (FAT32) support (Y\N).[Y]? Press <ENTER>
    • Enter choice: [1] Press <ENTER>
    • Enter choice: [ ] Press <1> (Create primary DOS partition) and <ENTER>
    • Do you wish to use the maximum available size for a Primary DOS partition and make the partition active (Y\N)…………..? [Y] Press <ENTER>
    • Check what has been done and press <Esc> three times
    • Yes - Please reboot now Press <ENTER>
  • Run: qemu-system-i386 -drive file=/opt/qemu/freedos.qemu.img,format=raw
  • Do some more configuration
  • Create a directory to put your dos programs in: mkdir /opt/qemun/dosprograms
  • Put a dos program in that directory
  • Run, use this every time you want to start qemu with freedos,: qemu-system-i386 -drive file=/opt/qemu/freedos.qemu.img,format=raw -drive file=fat:rw:dosprograms/
  • Do D: and then dir now you should see your dos programs and are able to run them

Errors

Press Esc for boot menu Booting from harddisk... partition signature !=55AA** This is an ERROR

We solved this by changing

  qemu-system-x86_64 -drive file=/opt/qemu/freedos.qemu.img,format=raw -cdrom /home/user/downloads/FD12CD.iso -boot menu=on -machine pc -cpu n270

to

qemu-system-i386 -m 32M -drive file=/opt/qemu/freedos.qemu.img,media=disk,format=raw -drive file=/home/user/downloads/FD12CD.iso,media=cdrom -boot order=d

Some other commands we tried

qemu-system-x86_64 -machine help
qemu-system-x86_64 -cpu help
qemu-system-i386 -m 1 -k en-us -rtc base=localtime -device cirrus-vga -display curses -hda /opt/qemu/dos.img -fda /opt/qemu/FLOPPY.img -boot order=adc -drive file=fat:rw:dosprograms/,format=vvfat

VMware Player

  • Download the VMware player evaluation version. You do not need this one. Just for reference

Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
virtual_machines.txt · Last modified: 14-06-2020 19:43 by wim