Windows version you should buy for QEMU

  • Install Windows
cd ~
mkdir .qemu
cd .qemu
qemu-img create hd.img 3500M
qemu -boot d -cdrom /dev/cdrom -hda hd.img
qemu -boot c -cdrom /dev/cdrom -hda hd.img
qemu -boot c -hda hd.img

How to install Windows with a cd image, not a cd.

qemu -boot d -cdrom windows_cd_image.iso -hda hd.img

Once Windows is installed you should start it using the following flags.

qemu -boot c -cdrom /dev/cdrom -hda hd.img -m 128  -localtime -soundhw es1370 -net nic,model=rtl8139 -smb /home/share

The -m 128 indicates how much ram the guest OS will have.
The -localtime passes the local time to the guest OS.
The -soundhw es1370 plugs in a virtual audio pci card of the type es1370. You could also use sb16.
The -net nic,model=rtl8139 plugs in a virtual rtl8139 ethernet card into a pci slot.
The -smb /home/share is specified within the host computers samba configuration file.
This can be useful -hdb fat:mntme if you want to load a vfat file system quick to copy from host to guest. The mntme is a directory on the host that you want the guest to see. This is read only.
It is not recommended to use the read write functionality since it is in beta. If you want to use it, modify the command like this -hdb fat:rw:mntme.

Samba Edit

To share a linux folder with your Windows running under QEMU using samba, use the smb option. Install samba, then share the folders with SMB and add the flag -smb /shared/folder to your startup command.

See also Edit

External howtos Edit

From HowTo Wiki, a Wikia wiki.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.