Skip to contentSkip to conversation

Two issues in using Windows XP SP2 as host system

Qemu-devel Brett Bonfield 4 participants 4 messages Nov 24, 2004 – Nov 25, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): -3927837429242672554@unknownmsgid

#1 lore raw

Sorry for contributing nothing but bug reports (or very possibly reports on ways in which my systme isn't configured properly):

1. It was really useful to learn that "under WindowsXP, as well as invoking qemu with --enable-audio, it's necessary to go to Control panel -> Add/Remove Hardware and manually add the SoundBlaster 16." Unfortunately, when I did this I got a ""This device cannot start (Code 10)" error. Googling revealed this to be fairly common, and not just with the SoundBlaster 16 -- any wonder why I very much want to install Linux? -- but Googling revealed no workarounds that seemed to apply to this situation.

2. I downloaded and installed the latest Qemu win32 daily (20041124 ) in order to take advantage of the work that's been done with qemu-img.exe and QEMUMenu.bat. When I start QEMUMenu.bat I am given the choice to [C]reate Image File, which executes as

qemu0img.exe create -f "raw" "MEPIS.img" "3000M"
Formating 'MEPIS.img' , fmt=raw, size=3072000 kB

Windows Explorer shows the resulting image as 0 kb and when I choose to boot Qemu using the image, I get

Starting C:\Program Files\Qemu\MEPIS.img ...

qemu.exe -L "Program Files\Qemu\bios\" -m 128 -hda "C:\Program Files\Qemu\MEPIS.img" -enable-audio -localtime
Press any key to continue . . .

and then the command prompt window closes and nothing happens.

Again, I appreciate everyone's patience and responsiveness. For what it's worth, the document I've been keeping on how to install Linux on a Windows box, the one I hope to publish on the web at some point, keeps getting shorter and shorter and shorter as you make improvements to your amazing software.

Thanks,

Brett

#2 lore raw

Hi Brett,

For the sound issue - I used the Audio feature in QEMU and it works OK (XP as a guest, Fedora as a host)..

As for the mepis installation, you just created a 3GB partition. Indeed it's 0 bytes size, but it grows as you install and write more stuff. You wouldn't want to allocate 3GB directly by just writing 2GB stuff inside, would you? :)

As for the nothing-happend issue, it seems that you didn't select to boot from the CD image (or CD Device) as this is the first thing you want to do after creating a blank virtual hard drive, so you'll need to add "-boot d" and with the appropriate -cdrom stuff ..

Hope this helps, I'm not using QEMU under Windows..

Thanks,
Hetz

Quoted 46 lines · Brett Bonfield

Sorry for contributing nothing but bug reports (or very possibly reports on ways in which my systme isn't configured properly):

1. It was really useful to learn that "under WindowsXP, as well as invoking qemu with --enable-audio, it's necessary to go to Control panel -> Add/Remove Hardware and manually add the SoundBlaster 16." Unfortunately, when I did this I got a ""This device cannot start (Code 10)" error. Googling revealed this to be fairly common, and not just with the SoundBlaster 16 -- any wonder why I very much want to install Linux? -- but Googling revealed no workarounds that seemed to apply to this situation.

2. I downloaded and installed the latest Qemu win32 daily (20041124 ) in order to take advantage of the work that's been done with qemu-img.exe and QEMUMenu.bat. When I start QEMUMenu.bat I am given the choice to [C]reate Image File, which executes as

qemu0img.exe create -f "raw" "MEPIS.img" "3000M"
Formating 'MEPIS.img' , fmt=raw, size=3072000 kB

Windows Explorer shows the resulting image as 0 kb and when I choose to boot Qemu using the image, I get

Starting C:\Program Files\Qemu\MEPIS.img ...

qemu.exe -L "Program Files\Qemu\bios\" -m 128 -hda "C:\Program Files\Qemu\MEPIS.img" -enable-audio -localtime
Press any key to continue . . .

and then the command prompt window closes and nothing happens.

Again, I appreciate everyone's patience and responsiveness. For what it's worth, the document I've been keeping on how to install Linux on a Windows box, the one I hope to publish on the web at some point, keeps getting shorter and shorter and shorter as you make improvements to your amazing software.

Thanks,

Brett

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#3 lore raw
In reply to Brett Bonfield

Le Wed, 24 Nov 2004 18:00:50 -0500, Brett Bonfield a écrit :

Quoted 11 lines

Sorry for contributing nothing but bug reports (or very possibly reports on ways in which my systme isn't configured properly):

1. It was really useful to learn that "under WindowsXP, as well as invoking qemu with --enable-audio, it's necessary to go to Control panel -> Add/Remove Hardware and manually add the SoundBlaster 16." Unfortunately, when I did this I got a ""This device cannot start (Code 10)" error. Googling revealed this to be fairly common, and not just with the SoundBlaster 16 -- any wonder why I very much want to install Linux? -- but Googling revealed no workarounds that seemed to apply to this situation.

Are you saying you add a sb16 driver to you host to make audio works in guest?

#4 lore raw
In reply to Brett Bonfield

Hello,

I also had the problem with a 0kb RAW-Image. And qemu didn't start with this file under windows as host.
The problem seems to be that images >2GB don't work under Qemu-Windows. Some time ago I read theres a problem with mingw with files >2GB. Maybe that's the cause.

Also qcow images don't work under windows (here), even with filesize <2GB.

Try using an raw image <2GB and see if it works. It does here. Hope it helps.

Carsten

Quoted 48 lines

Sorry for contributing nothing but bug reports (or very possibly reports on ways in which my systme isn't configured properly):

1. It was really useful to learn that "under WindowsXP, as well as invoking qemu with --enable-audio, it's necessary to go to Control panel -> Add/Remove Hardware and manually add the SoundBlaster 16." Unfortunately, when I did this I got a ""This device cannot start (Code 10)" error. Googling revealed this to be fairly common, and not just with the SoundBlaster 16 -- any wonder why I very much want to install Linux? -- but Googling revealed no workarounds that seemed to apply to this situation.

2. I downloaded and installed the latest Qemu win32 daily (20041124 ) in order to take advantage of the work that's been done with qemu-img.exe and QEMUMenu.bat. When I start QEMUMenu.bat I am given the choice to [C]reate Image File, which executes as

qemu0img.exe create -f "raw" "MEPIS.img" "3000M"
Formating 'MEPIS.img' , fmt=raw, size=3072000 kB

Windows Explorer shows the resulting image as 0 kb and when I choose to boot Qemu using the image, I get

Starting C:\Program Files\Qemu\MEPIS.img ...

qemu.exe -L "Program Files\Qemu\bios\" -m 128 -hda "C:\Program Files\Qemu\MEPIS.img" -enable-audio -localtime
Press any key to continue . . .

and then the command prompt window closes and nothing happens.

Again, I appreciate everyone's patience and responsiveness. For what it's worth, the document I've been keeping on how to install Linux on a Windows box, the one I hope to publish on the web at some point, keeps getting shorter and shorter and shorter as you make improvements to your amazing software.

Thanks,

Brett

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel