Jump to content

OS X for SSE (qemu)


Dragon
 Share

417 posts in this topic

Recommended Posts

OS X for SSE Project

 

Hi,

 

This thread has been created for the purpose of exchanging information regarding OS X being emulated on SSE processors by using a lightweight linux distribution as a host, and the open-source application qemu to emulate the SSE2 instructions. The linux distribution will serve as a host for qemu and will be loaded into ram for maximum speed. I have chosen Featherlinux as the current host distro because it is only 122mb in size, can fit into a small amount of ram, and has qemu pre-installed.

 

So far there are 3 people working on this project. Ai Haibara, Embio, and myself. Anyone else feel free to contribute.

 

Project Information

 

Aim: To get OS X emulated at the most usable speed possible, and create a DVD installer.

Method: The Featherlinux CD will be altered to house a 10.4.8 installation dvd, the necessary scripts required to create the files for qemu (harddisk image) and scripts to launch the virtual harddrive or native harddrive in full screen mode at startup.

Requirements: SSE PC with more than 512mb of ram, a decent graphics card, and a dvd-rom drive.

 

Our first goal is to find out what limitations we have other than ram and graphics. Embio and I are waiting for some more RAM before we can get to testing again, but if anybody has a PC that meets the requirements in the meantime feel free to try it and post your successes/failures.

 

My P3 is a custom built PC with a 'coppermine' processor, 256mb RAM and a radeon 9250 128mb (PCI) graphics card.

 

You CANNOT test this method in vmware because the video support that vmware provides does not work with qemu.

When booting from OS X in qemu, use the follow flags in the boot prompt :

platform=X86PC "Graphics Mode"="800x600x16" -v

 

If you need a demonstration of how to use qemu/featherlinux, download the attached file.

To run Featherlinux in ram, enter "knoppix toram" in boot options when the cd loads.

 

References/Thing of interest:

http://en.wikipedia.org/wiki/Qemu - Qemu

http://en.wikipedia.org/wiki/Feather_Linux - Featherlinux

http://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine - KVM

http://fabrice.bellard.free.fr/qemu/kqemu-doc.html - Qemu Accelerator

 

 

 

Good luck,

Dragon

:rolleyes:

Link to comment
Share on other sites

OS X for SSE Project

Requirements: SSE PC with more than 512mb of ram, a decent graphics card, and a dvd-rom drive.

Just wanted to point out lots of SSE boards top out at 512 of ram, have you guys even tried with 256?

I hope you the best of luck, maybe I could pull out some old parts if you get this going. I've read of a couple of gurus that have been able to run on SSE for a while

Link to comment
Share on other sites

On the apple website, it says that you must have "At least 256MB of physical RAM" to run tiger. Seeing as Featherlinux is going to be taking up a small portion of the ram, we are going to need more than 256mb. I have tried with 256mb and I think that is what is causing OS X to crash so I think the minimum amount of ram that we need to get OS X running is 384mb. That's only a 256mb + 128mb.

 

I've read of a couple of gurus that have been able to run on SSE for a while

What do you mean? Did they get it running natively or using qemu?

 

Dragon

Link to comment
Share on other sites

My old Athlon XP 2100+ had only SSE, and had a GB of RAM. I got a Celeron-D 2.26 GHz and i find it equivalent in speed. But sadly my Athlon is all burnt up, so oh well, so much for that. On the other hand, my new Celeron does SSE3 so thats awesome.

Edited by Unstable Connection
Link to comment
Share on other sites

What do you mean? Did they get it running natively or using qemu?

I'm not sure and I cant seem to find the posts. I think it would be natively because I believe I read it while looking through kernel development {censored}. I think it had something to do with compiling the kernel but I'm not positive what was done.

Link to comment
Share on other sites

I'm not sure and I cant seem to find the posts. I think it would be natively because I believe I read it while looking through kernel development {censored}. I think it had something to do with compiling the kernel but I'm not positive what was done.

 

Yeah, Semthex told me that the current kernel runs on SSE in single user mode, it's just the extra non-open source stuff like the finder and dock which still need SSE2. Let's get back to work on getting OS X running in qemu though :unsure:.

Link to comment
Share on other sites

you will have no luck guys

 

kvm need Intel VT or AMD SVM technology

 

no intel VT on pentium3 procs, and no AMD SVM on AthlonXP

 

I just posted that there as an item of interest. We are probably using qemu.

Link to comment
Share on other sites

hmm... never thought of that :D

i can't remember if it loaded boot options when booting from the hdd.

it copies the operating system files from the cd into RAM so i'd assume it would do the same with a hdd install..

 

anyways, i'll be checking tomorrow. gotta get some sleep :D

 

cya

Link to comment
Share on other sites

I have been reading about Knoppix remastering...

Featherlinux is just a remastered version of knoppix, i.e packages removed.

So I say we remaster our own version of knoppix, so we can choose what we want in it and what we don't.

 

http://www.knoppix.net/wiki/Knoppix_Remastering_Howto

http://www.oreillynet.com/sysadmin/blog/20...hout_remas.html

http://video.google.co.uk/videoplay?docid=...pix+remastering

http://www.brianmadden.com/content/content.asp?ID=575

 

knoppix will load into RAM also, if small enough.

Link to comment
Share on other sites

10.4 Tiger > 10.4.9

 

BTW, there is a version of featherlinux called tiny-feather that is only 49mb which we could pop qemu in.

I'm just trying to find it now.

 

tiny-feather.iso

Link to comment
Share on other sites

@mac-mini

 

you're right, the earliest leaked version was marklar-tiger.dmg and was version 10.4.1

 

tiger-x86.tar.bz2 is the 10.4.1 version

Apple.OS.X.x86.Developer.Kit.Install.DVD-pheNIX is 10.4.1 also

 

just google these, the top one is the harddrive image.

the second is the dvd install.

Link to comment
Share on other sites

 Share

×
×
  • Create New...