Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

OS X for SSE (qemu), using a lightweight linux distro
Group Icon
  • Group: X Lab Developers
  • Posts: 414
  • Joined: 2-January 06
  • From: InsanelyMac forum
  • Member No.: 18,990
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
biggrin.gif
PM Profile Card
Go to the top of the page
+ Quote Post

Posts in this topic
- Dragon   OS X for SSE (qemu)   Jan 15 2007, 04:12 PM
- - Dragon   http://www.yourfilehost.com/media.php?cat=...knopp...   Jan 15 2007, 04:26 PM
- - Colonel   Awesome!   Jan 15 2007, 04:37 PM
- - joe75   QUOTE (Dragon @ Jan 15 2007, 11:12 AM) OS...   Jan 15 2007, 05:23 PM
- - Dragon   On the apple website, it says that you must have ...   Jan 15 2007, 11:33 PM
|- - joe75   QUOTE (Dragon @ Jan 15 2007, 06:33 PM) Wh...   Jan 16 2007, 06:44 PM
|- - DrJägermeister   No, OSX doesn't run natively on a SSE CPU but ...   Jan 22 2007, 09:11 AM
- - Embio   I still say 512MB is going to be a minimum, I...   Jan 16 2007, 01:51 AM
- - Unstable Connection   My old Athlon XP 2100+ had only SSE, and had a GB ...   Jan 16 2007, 02:52 PM
- - anoynimouss   you will have no luck guys kvm need Intel VT or A...   Jan 16 2007, 10:55 PM
- - Dragon   QUOTE I'm not sure and I cant seem to find the...   Jan 16 2007, 10:56 PM
- - Dragon   QUOTE you will have no luck guys kvm need Intel V...   Jan 16 2007, 10:58 PM
- - Embio   I will most likely be picking up some RAM this wee...   Jan 17 2007, 10:39 AM
- - Soundless   i am going to try this on my old p3 after i get it...   Jan 18 2007, 02:10 AM
- - mac mini   i have a P3 im willing to test on. i can also prov...   Jan 18 2007, 02:47 AM
- - Dragon   FeatherLinux - 122mb http://featherlinux.berlios.d...   Jan 18 2007, 05:21 AM
- - Embio   how do we make a hard drive installed FeatherLinux...   Jan 18 2007, 09:37 AM
- - Dragon   hmm... never thought of that i can't rememb...   Jan 18 2007, 02:12 PM
- - Soundless   would it be possible to make a complete installer,...   Jan 18 2007, 03:59 PM
- - Embio   first things first, FeatherLinux needs to have web...   Jan 18 2007, 05:47 PM
- - Dragon   I have been reading about Knoppix remastering... ...   Jan 18 2007, 09:00 PM
- - mac-mini   which version of OS X are we tring?   Jan 18 2007, 09:40 PM
- - Dragon   10.4 Tiger > 10.4.9 BTW, there is a version of...   Jan 18 2007, 10:00 PM
- - mac-mini   where can i get the copy of tiger? the earliest ve...   Jan 18 2007, 10:40 PM
- - Kiko   QUOTE where can i get the copy of tiger? the earli...   Jan 18 2007, 11:48 PM
- - Dragon   @mac-mini you're right, the earliest leaked v...   Jan 18 2007, 11:59 PM
- - Embio   we may as well use 10.4.8 or .9, no use going back...   Jan 19 2007, 12:54 AM
- - bwhsh8r   why dont we try modifying rhapsody to act more osx...   Jan 19 2007, 12:57 AM
- - Dragon   We could easily get rhapsody to look and act like ...   Jan 19 2007, 01:21 AM
- - Dragon   I think you can install this in KDE if you like : ...   Jan 19 2007, 02:38 AM
- - mac-mini   nevermind   Jan 19 2007, 02:19 PM
- - Cruxado   Hi there guys, I've been reading up on your pa...   Jan 20 2007, 12:11 AM
|- - consolation   QUOTE (Cruxado @ Jan 20 2007, 01:11 PM) ....   Jan 21 2007, 04:23 AM
- - Dragon   You can use your 10.4.6 DVD. QUOTE FeatherLinux ...   Jan 20 2007, 01:40 AM
- - Dragon   You can't run OS X natively on an SSE only com...   Jan 20 2007, 03:45 AM
|- - Cruxado   QUOTE (Dragon @ Jan 19 2007, 11:45 PM) Yo...   Jan 20 2007, 07:04 PM
- - mac-mini   today im going to put featherlinux on a 10GB HD an...   Jan 20 2007, 06:23 PM
- - Dragon   If Featherlinux isn't working for you, you can...   Jan 21 2007, 02:20 AM
- - Cruxado   Yea I get it. Sounds easy enough.. MAC OS X x...   Jan 21 2007, 04:09 AM
- - Cruxado   Update Ok, so Dragon I downloaded and burnt Kno...   Jan 22 2007, 12:17 AM
- - Pu7o   Guys, Mac OS X on qemu is slow as molasses, you...   Jan 22 2007, 01:42 AM
- - Dragon   QUOTE Ok, the first is the error, the second is th...   Jan 22 2007, 11:05 AM
|- - Pu7o   QUOTE (Dragon @ Jan 22 2007, 11:05 AM) @P...   Jan 22 2007, 02:10 PM
- - Dragon   QUOTE (DrJägermeister @ Jan 22 2007, 08:1...   Jan 22 2007, 11:12 AM
|- - DrJägermeister   It was long time ago (Nov 2005), I used a Suse 9.3...   Jan 22 2007, 11:34 AM
- - Dragon   Thank you for the info. I read the other topic you...   Jan 22 2007, 02:13 PM
- - Dragon   @Pu7o Emulating a whole different architecture wo...   Jan 22 2007, 02:16 PM
- - Pu7o   I don't know the technical aspects of it, but ...   Jan 22 2007, 02:21 PM
- - joe75   It's all going to be ssllloooww   Jan 22 2007, 02:23 PM
- - Dragon   That is true, I guess. I have never actually used ...   Jan 22 2007, 02:26 PM
- - Cruxado   Dragon, I also tried aside from /dev/sr0 I also t...   Jan 22 2007, 02:34 PM
- - joe75   I used PearPC back when things first got started 3...   Jan 22 2007, 02:51 PM
- - MacRetail   I would advise you to use PearPC, too. PearPC has ...   Jan 22 2007, 03:05 PM
- - Dragon   Wow, what progress was made?   Jan 22 2007, 03:13 PM
- - Dragon   Made a few attempts at compiling pearPC. DSL uses ...   Jan 22 2007, 03:52 PM
- - Dragon   Got PearPC installed in knoppix. Just getting dead...   Jan 24 2007, 02:44 AM
- - Cruxado   I tried using MagicISO to compile the .iso file fr...   Jan 24 2007, 12:55 PM
|- - joe75   QUOTE (Cruxado @ Jan 24 2007, 07:55 AM) A...   Jan 24 2007, 01:37 PM
- - Cruxado   MAC OS X x86 10.4.6 DVD >> Use alternate Sou...   Jan 24 2007, 04:59 PM
- - Embio   swear very loudly....?   Jan 25 2007, 09:59 AM
|- - Cruxado   QUOTE QUOTE (Embio @ Jan 25 2007, 05:59 A...   Jan 25 2007, 03:50 PM
- - Dragon   As Pu7o said, we are better off using PearPC inste...   Jan 25 2007, 12:27 PM
- - Dragon   Ok, in vmware I had to "chmod 777 /media/sda1...   Jan 25 2007, 01:36 PM
- - MacRetail   QUOTE (Dragon @ Jan 22 2007, 04:13 PM) Wo...   Jan 25 2007, 04:36 PM
- - joe75   Its funny to hear PearOS again, I use to play arou...   Jan 26 2007, 12:12 AM
- - Dragon   I got OS X working in qemu this afternoon (using k...   Jan 26 2007, 12:28 PM
- - Dragon   Here are my screenshots of OS X in qemu. It is run...   Jan 27 2007, 05:15 AM
- - Embio   sorry to keep ducking in and out of this thread an...   Jan 27 2007, 12:01 PM
- - Dragon   In the case of qemu and pearpc, both emulate a who...   Jan 27 2007, 04:57 PM
- - Cruxado   Yeah, school is always a problem.   Jan 28 2007, 01:35 PM
- - MacRetail   Just an idea: perhaps you could use the SLAX-distr...   Jan 28 2007, 04:53 PM
- - Embio   SLAX would be good, very light. cant see what adva...   Jan 28 2007, 07:09 PM
- - Pu7o   You can't virtualize half the architecture and...   Jan 29 2007, 01:05 AM
- - cro   ok, let me put this idea forward (something i am p...   Jan 29 2007, 06:01 AM
- - Dragon   @ Pu7o QUOTE qvm86 is a kernel module to provide x...   Jan 30 2007, 10:17 AM
- - Dragon   OK, I just read the stuff off the SLAX website tha...   Jan 31 2007, 08:22 AM
- - oktar   What we need is minimal Darwin 8.8.1 compiled for ...   Jan 31 2007, 03:55 PM
- - Dragon   That would take SOOO long it's not funny. SSE3...   Feb 1 2007, 06:30 AM
- - Dragon   I have OS X working in SLAX now using the same met...   Feb 1 2007, 11:07 AM
- - Cruxado   Show us some evidence. An instruction manual too,...   Feb 1 2007, 10:22 PM
- - cro   no, i'm talking about taking the aqua ui off o...   Feb 2 2007, 01:08 AM
- - Dragon   First of all, 10.3 is PPC only. Secondly, the gui ...   Feb 2 2007, 05:23 AM
- - Dragon   Here are the instructions : 1. Download SLAX Kill...   Feb 2 2007, 07:19 AM
- - joe75   Hows it run Is it crazy slooow   Feb 2 2007, 07:29 AM
- - semthex   isn't that oldsql Deadmoo? I have my doubts an...   Feb 2 2007, 12:33 PM
- - Dragon   I need the modified qemu that Jagermeister posted ...   Feb 2 2007, 02:54 PM
- - mac-mini   can you xbanch and geekbench it?   Feb 3 2007, 03:23 AM
- - Dragon   alrighty.. coming soon   Feb 3 2007, 05:58 AM
- - Cruxado   Excellent work Dragon!! I will follow you...   Feb 4 2007, 04:26 AM
- - Embio   if networking works, is there anything stopping th...   Feb 5 2007, 03:07 AM
- - Dragon   this is off-topic though why don't you just ma...   Feb 5 2007, 12:57 PM
- - Embio   I'm trying to get a bit more power for my powe...   Feb 5 2007, 07:38 PM
- - Dragon   guys, I have a lot of school stuff that I have to ...   Feb 6 2007, 06:11 AM
- - Baltazar   Cool project. As someone said earlier similar proj...   Feb 6 2007, 11:34 AM
- - MacRetail   @Baltazar: SoftPear is a completly different proje...   Feb 6 2007, 11:49 AM
- - munky   this would be very interesting if you do find an S...   Feb 6 2007, 12:01 PM
- - Baltazar   @MacRetail: You're right, mixed up those two. ...   Feb 6 2007, 12:21 PM
- - Dragon   http://www.megaupload.com/?d=U4XZFYOX This is : ...   Feb 6 2007, 03:30 PM
- - Baltazar   Hm, get a error trying to watch the vid in the new...   Feb 6 2007, 04:55 PM
- - Dragon   http://www.megaupload.com/?d=D4HMPALI converted, ...   Feb 7 2007, 02:01 AM
4 Pages V   1 2 3 > » 

Reply to this topic Start new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 22nd November 2009 - 12:04 PM