

Also note that I mounted the shared folder with read & write support.
Mac os x how to install emulator full#
Please note that you need to specify the full path to the shared folder, as I did in the above example. Qemu virtual_hard_drive.img -hdb fat:rw:/home/reinholz/qemu_share & Then when we start up qemu, we can tell it to use the shared folder like this: I'm not going to go through the steps of installing that OS-I'm assuming you can figure that out for yourself.Īnother option you might like is to create a "shared folder" that will show up as a second hard drive in the guest OS, but will remain an ordinary directory on your system.
Mac os x how to install emulator windows#
This should boot from the CD-ROM, and take us into the Windows 98 installer. Because we executed qemu from the same directory we created our virtual hard disk ("virtual_hard_drive.img") in, we didn't need to specify a path. Finally, we specified the path to our virtual hard disk. If you do not specify this option, the emulated system will attempt to boot from the virtual hard disk. "-boot d" tells the emulated system to boot from the CD-ROM drive (or the. We launched the default qemu system (x86), and told it to use our computer's first CD-ROM drive as the guest OS's CD-ROM drive. Qemu -cdrom /dev/acd0 -boot d virtual_hard_drive.img & Insert your install CD, then, assuming it is an ISO9660 CD (most are, unless this is an Apple CD-ROM), mount it: I tested this with an old copy of Windows 98 that I had laying around. Now that we have a virtual hard disk image, we have to install a guest OS. Note that the image will not actually take up 3 GB-it will grow as the guest OS needs it. This will create a Qemu formatted virtual hard drive image with a capacity of 3 GB named "virtual_hard_drive.img" in the current directory. Qemu-img create -f qcow virtual_hard_drive.img 3G To create a new virtual hard drive image, as user, type To automatically load the kqemu kernel module every time your system starts up, add the following line to /boot/nf: We then need to load the kqemu kernel module:

Optionally, if you want to build qemu with the qemu-accelerator kernel module, which will drastically increase qemu's performance in terms of x86-on-x86 emulation (if not, skip ahead): Its most popular (and well-developed) use is, however, decidedly x86 emulation. Qemu is a powerful computer processor emulator that can be used to emulate x86, Sparc, and PowerPC processors, among others.
