Installing Windows XP Home edition on qemu 0.6.0 for Mac OS X
Hardware configuration:
iBook G4 1 GHz, 768 MB RAM, external FireWire hard drive.
Yesterday I started installing WinXP on my iBook, just wondered if it
was usable. The short answer is: no. It works, but it is terribly slow.
I wanted to use qemuX, but it didn't work. So I opened a shell.
- First I had to create a disk image:
hdiutil create
-size 2g -fs MS-DOS /Volumes/hfs/WinXPqemu
During my tests the Windows Installer told me, that the minimal disk
capacity must be 1250MB. So I think 2 GB is the absolute minimum.
- Then I made a iso disk image of my WinXP-CD. I used Toast
Titanium 5.2 and saved the image as .iso. Toast by default sets the
file name extension to ".toast", but in fact the image seems to be ISO.
- To read the manuals I thought it to be useful to add the install
directories of qemu to PATH and MANPATH:
export
"MANPATH=[insert
your old manpath here]:/opt/local/share/man"
export
PATH="[insert your old PATH here]:/opt/local/bin"
You get the
old values of MANPATH and PATH with the command env
.
- Then came the crucial step: Starting the guest machine from the
WinXP disk image to install Windows on the prepared FAT image:
qemu
-hda /Volumes/hfs/WinXPqemu.dmg -cdrom /Users/Shared/WXHOEM_DE.iso
-boot d -m 512
- Quite soon (after 1 hour or so) Windows restarted but wanted to
boot from CD again. Now the system should boot from hard disk, so I
stopped qemu and restarted using this command:
qemu -hda
/Volumes/hfs/WinXPqemu.dmg -cdrom /Users/Shared/WXHOEM_DE.iso -boot d
-m 512
- Installation took several hours. I quit all applications
during the install. The iBook got very hot, qemu took about 80% of CPU
time. From time to time, the built-in fan started, a noise which I hear
very rarely, if ever. I did some other work and took a look at the
iBook from
time to time, so I can't tell you the exact duration of the install. I
had to enter the product key, some other information etc.
- After a while, a black screen with Windows XP logo appeared
telling me to "please wait..."
- After an hour or so, I had to catch the train and shut down the
iBook.
Later I restarted qemu using the same command as above. Windows
complained about a corrupt file system, upon repair it detected
several .EXE.pinstall files. Seems as the install was not finished yet.
Anyway, I booted into safe mode and browsed around in the system
settings. It _is_ slow.
Starting up in normal mode just takes ages.
Note that the disk image for the Windows C drive (-hda in qemu terms)
is on an external hard drive. So the iBook has the internal on its own.
Because I have some CD-ROMs I'd like to access when I'm not near a
Wintel machine, I will try to install Windows 98. Maybe this is more
usable.
Here you can find a screenshot. Note that
not even the Finder is
running...
050422 / tinux at mail dot com