Minix 3/Minix 3 on Qemu

From Wikibooks, open books for an open world
Jump to: navigation, search

Run MINIX 3 on Linux Qemu[edit]

The step below was successfully tried with MINIX on Qemu and it was running under on Fedora Core 3 Linux

  • Download the latest minix ISO and this can be found on minix3 website [1] minix_R3.2.1-972156d.iso.bz2.
  • Create a directory called "minix" and stored everything inside that directory. So simple steps command lines to do the above and few things more:
mkdir minix
cd minix
wget http://download.minix3.org/iso/minix_R3.2.1-972156d.iso.bz2
bunzip2 minix_R3.2.1-972156d.iso.bz2
mkdir /mnt/isoimage
mount -t iso9660 -o loop minix_R3.2.1-972156d.iso /mnt/isoimage
The above steps downloads, extracts and mounts a minix iso image in the directory /mnt/isoimage
  • The following steps downloads and installs qemu:
wget http://web.archive.org/20060831115225/fabrice.bellard.free.fr/qemu/qemu-0.8.2-i386.tar.gz
mkdir temp
cd temp
tar -xvzf ../qemu-0.8.2-i386.tar.gz
mkdir -p /usr/local/share
cp -r usr/local/share/qemu /usr/local/share/
cp -r usr/local/share/doc/qemu /usr/share/doc/
cp usr/local/share/man/man1/* /usr/share/man/man1/
  • This completes your installation of qemu.
Installing MINIX:
Create a local image file:
cd minix
qemu-img create minix3.img 2048M
qemu -boot a -fda /mnt/isoimage/bootflop.img -hda "minix3.img" -cdrom minix_R3.2.1-972156d.iso -m 64 -localtime