Minix 3/Minix 3 on Qemu

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

[edit] Run MINIX 3 on Linux Qemu

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] IDE-3.1.2a.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://www.minix3.org/download/IDE-3.1.2a.iso.bz2
bunzip2 IDE-3.1.2a.iso.bz2
mkdir /mnt/isoimage
mount -t iso9660 -o loop IDE-3.1.2a.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://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 IDE-3.1.2a.iso -m 64 -localtime