Alright for all you PS3 linux users out there (or those that are curious). Here's how to get windows (windows 98 specifically) running on your PS3.
You will need the following before you can do this.
A windows install disk (full not upgrade) or iso
1 GB (bare minimum) of free space on the PS3's linux partition.
It is also possible to install and run windows from an external hard drive. There is a small performance difference if any from doing this
First get qemu. This is a machine emulator which will allow you to run windows.
Here's an rpm of it. Just download it then run it (in nautilus just double click it).
[removed dead link]
***
[MODERATOR EDIT]
If you follow the How to Install Software guide on this forum, you can install qemu with yum install qemu or use "Add/Remove Software" ...
The Fedora 7 version mentioned can be found here:
http://fedora.mirror.facebook.com/linux ... c7.ppc.rpm
Actually, any of the Fedora mirrors that have Fedora 7 PPC packages should have it ...
http://mirrors.fedoraproject.org/public ... ora/9/ppc/
It would be located releases/7/Everything/ppc/os/Fedora/ (there's a huge number of packages in there so the page may take a long time to load when you browse to it on one of the mirrors.
billb
[END MODERATOR EDIT]
***
Now insert the windows disk into the drive
Before we actually run qemu we need to make a hard drive image for windows. This will be the "drive c" for windows. To do that open a terminal then type...
"qemu-img create -f win98.img 1500M"
win98.img is the name of the image you're making. 1500M is the size of the image (it'll be filled as needed) you can also specify size in giga bytes. M is for megabytes G is for gigabytes.
Now with the hard drive image created and the cd in the drive we can start qemu and then install windows to the hard disk image
NOTE: While qemu is emulating windows 98 it will use the some of the CPU even when idle This is becuase of windows 98 not using the CPU HLT instruction right. This needs to be fixed after you install windows
To start qemu so that we can install windows 98 type the following in the terminal
"qemu -cdrom /dev/scd0 -boot d win98.img"
This tells qemu to boot from the cdrom drive and passes the hard drive image along so that it can be used.
Then follow the on screen instructions to install windows! It will take at least an hour.
Note: To install with an iso replace the "/dev/scd0" with the directory you mounted your iso image to. ("mount -o loop iso_file.iso /whereever" iso_file.iso being the name of the iso)
Now if you want to share files between your emulated windows and linux a shared folder must be setup in linux. Don't worry it's easy. Basically make a directory then when you start qemu again just do this
"qemu win98.img -hdb fat:rw:/wherethediris"
edit: Apparently the ampersand doesn't matter
The directory passed to qemu in this way will show up as a seperate hard drive in windows.
I haven't been able to switch cd's (literally it won't eject) while in windows so unfortunately using -cdrom /dev/scd0 option to use whatever cd is in the drive will lock the cd drive until you quit qemu (shutting down windows will close qemu automatically.) If you use an external drive you'll be able to switch cd's but windows won't see the new disc that's put in.
How does it work you ask? Is it slow? Is it usable?
Honestly it's odd. Windows itself runs pretty well. However once you start running a decent sized program (say a web browser) It starts to run slow. I think this might have something to do with part of the emulated windows (or program) running in the linux page file but I don't know for sure. It is usable though and the ps3 is still able to be used while running windows. I'm installing the winzip trial version in windows now while typing this story in linux (edit: That part was written when it was first written for the GAP on playstation.com it remains for context and performance evaluation). Processor is at around 70-90% while doing this and when windows is idle the processor hovers around high 30's to mid 50's.
Don't be afraid to ask any questions. The info on this page comes from the following pages. Thanks to rpmfind.net for hosting a ppc build of qemu.
http://www.engr.colostate.edu/~reinholz ... ators.html
Also to fix the CPU HLT problem in windows 9x. Download the following file
http://rtbuhler.googlepages.com/amnhltm.zip
Then uzip it in windows then run the .bat file then click yes when it asks you about adding the registry entry. Viola! Enjoy.
Please let me know if there are any changes needed to this or if this thread is no longer neccessary.



