Hello people,
i have installed succesfully qemu-1.0p1 on my system(OpenBSD 5.1)
and then installed windows xp using these steps(i read the guide on /usr/local/share/doc/pkg-readmes):
Code:
qemu-system-i386 -m 320 -monitor stdio -no-fd-bootchk \-hda xpdark.img -cdrom *iso -boot d
Then compressed the virtualdisk with:
Code:
qemu-img convert -c -O qcow2 xpdark.img v.tmp && \mv v.tmp xpdark.img
and after using almost 100% of my cpu it finished succesfully.
The third step in the guide is for booting:
Code:
qemu-system-i386 -m 320 -nographic -no-fd-bootchk -hda xpdark.img
but that won't boot xp: qmu won't load and i have to press the x button on xterm
running qemu to stop it.
However xp load normally if i omit the nographic and -no-fd-bootchk params.
1)Not sure why that happens but i would like to know if anyone has faced the same issue.
2)Also, i noticed that i can't give to the guest OS more than 320mb of memory. Is there a way to give more?( 512 would be nice ) my physical system has 3GB of ram.
3)About networking now i'm trying to connect the guest to the internet but the man page is not much of a help.In the /usr/local/share/doc/pkg-readmes the networking part of qemu says:
Default Settings
By default, QEMU sets up the equivalent of the following networking:
-net nic,vlan=0,model=e1000,macaddr=52:54:00:12:34:56
-net user,vlan=0
Does this mean that networking should work by default if don't use the -net parameter to make manual settings?(it doesn't work for me). And if not, can anyone share some tips on how to do it?
4) Also about using usbs to the guest OS the man page says:
-usbdevice
devname
So i'm trying something like this:
Code:
qemu-system-i386 -usb -usbdevice sd0 -hda xpdark.img -m 320
but i get: qemu: could not add USB device 'sd0'
I also tried /dev/sd0,/dev/sd0c,/dev/sd0i and the same but with /dev/rsd
x
and i get the same errors.
I know i'm asking a lot of questions, but unfortunately, so far the qemu man page
is the most disappointing of all the man pages i've read.
I'm also attaching my dmesg in case someone needs it.