Slashdot Mirror


Mac OS X Running On Xbox

PasteEater writes "The good people over at XBox Scene have the scoop. Mac OS X has been successfully installed on a modified Xbox. What does this mean? Well, it's no Xbox Media Center, but it does prove that nerds are at the forefront once again!"

29 of 343 comments (clear)

  1. XBOX2 by Squareball · · Score: 5, Informative

    I'll wait till Xbox2.. it's supposed to sport a PPC processor

    1. Re:XBOX2 by byolinux · · Score: 1, Informative

      if Linux gets ported to the Xbox2

      If? When GNU/Linux gets ported to the XBOX2... ;)

  2. Re:Debate by RangerRick98 · · Score: 5, Informative

    Clearly Linux, as OS X was only able to be installed on the Xbox by running PearPC on a Linux installation. :)

    --
    "You're older than you've ever been, and now you're even older."
  3. PearPC by News+for+nerds · · Score: 4, Informative

    It's just PearPC PowerPC Architecture Emulator installed on Xbox and it's painfully-as-hell slow atm, and especially on Xbox. Nothing to see, move on.

  4. Uh, not an Apple first... by WIAKywbfatw · · Score: 3, Informative

    Apple had its own gaming system once, called Pippin.

    --

    "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
  5. It's slashdotted ! Here's the text of the article by Anonymous Coward · · Score: 5, Informative

    (Posting AC to not kharma whore)

    PearPC and Mac OS X Installation

    Downloading, configuring, compiling and installing PearPC

    * You have software modded your Xbox and put Xebian Linux on it. You have purchased a copy of Mac OS X and made an image of it.
    * Download the source code for PearPC at http://prdownloads.sourceforge.net/pearpc/pearpc-0 .3.1.tar.gz. As of this writing, 0.3.1 is the most recent version.
    * Use tar to decompress the file with tar -xzvf pearpc-0.3.1.tar.gz. A directory called pearpc-0.3.1 will be created.
    * Go into this directory configure PearPC by running the configuration script as ./configure -enable-ui=x11 && --enable-cpu=generic. Even though the Xbox is an x86 processor, compiling with -enable-cpu=jitc_x86 will likely result in a failed compile. To explain, as of this writing, Xebian includes gcc 3.2 and gcc 2.95.4. PearPC will exhibit odd errors when compiled with any gcc between 2.95 and 3.3, so gcc 2.95.4 must be used. Unfortunately, gcc 2.95.4 does not work with the inline assembly used in PearPC when the jitx_x86 option is specified.
    * Type make && make install. If all goes well then /usr/local/bin on your computer should now contain a file called ppc. This file is the compiled binary.

    If you are unable to get a successful compilation of PearPC or do not understand the above instructions, you may download a precompiled version for the Xboxhere.
    Editing the PearPC configuration file and formatting the hard drive image

    1. Download the following: a blank hard drive image filehere, a Darwin image file at http://www.opensource.apple.com/darwinsource/image s/darwin-701.iso.gz, a PearPC configuration filehere, and a PearPC video driverhere.

    2. Decompress the image file using gunzip macosx_2gb.gz. Note that this file expands to approximately 2 gigabytes. Additionally, use gunzip to decompress the pearpc video driver and configuration file. Decompress the Darwin image with the command tar -xzvf darwin-701.tar.gz.

    3. Make a directory called macosx. Move the decompressed hard drive image, Darwin image, video.x video driver and macosx.pearpc configuration file into it. Then, go into the macosx directory, run the command pwd and write down the full path to it.

    4. Open the macosx.pearpc configuration file with the plain text editor of your choice. Xebian by default comes with both vi and nano. If you have never used vi before, you definitely want to use nano.

    5. I will refer to the path that was written down in step 3 as PATH. Make the following changes to the macosx.pearpc configuration file:

    * a. Change ppc_start_resolution = "800x600x15" to "640x480x15".
    * b. Change redraw_interval_msec = 40 to 200.
    * c. Remove the # in front of #memory_size=0x8000000.
    * d. Change pci_ide0_master_image = "test/imgs/linux.img" to "PATH/macosx_2gb.img".
    * e. Change pci_ide0_slave_image = "/dev/cdrom" to "PATH/darwin-701.iso"
    * Save your changes and exit.

    6. Start PearPC by typing ppc macosx.pearpc. You should see the following screen:

    7. Soon after this screen disappears messages will begin appearing in the PearPC window and you should eventually see the following:

    8. Mirror what is typed in this screenshot. Then, type: q, q, and finally reboot. PearPC should exit.

    9. Start PearPC again. Eventually you should see the following screen:

    As in step 7, mirror what is typed in this window. In addition, when you see "Uncompressing Apple16X50Serial," shut down PearPC.

    Your hard drive image is now properly formatted, and you are ready to install Mac OS X.
    Installing Mac OS X

    1. Once again, open the macosx.pearpc configuration file. Change pci_ide0_slave_image = "PATH/darwin-701.iso" to the location of your Mac OS X image. Save the changes and exit out of the text editor.

    2. Start PearPC in the us

  6. Re:OSX by eMartin · · Score: 2, Informative

    THe main reason this works on the XBox is because it's already possible on x86 desktops using PearPC.

  7. Re:An Apple First by stratjakt · · Score: 5, Informative

    Development xboxes have 128 to hold the debug tools, and (most) retail models have the empty solder pads to very carefully add another 64 megs of RAM. Games won't benefit, or even know about the extra RAM. But linux and other homebrew apps (emulators) will.

    At least one company is selling xboxes with modded CPUs, that you can adjust from 1400MHZ to 700MHZ by flipping a switch.

    --
    I don't need no instructions to know how to rock!!!!
  8. Re:Lucky stiffs by Anonymous Coward · · Score: 1, Informative

    Make CompUSA compensate you - they are NOT allowed to keep your computer for more than 15 days for service - regardless of the issue.

    If they can't fix it they have to return it to you and tell you to go somewhere else.

  9. Re:Not too bad. by stratjakt · · Score: 2, Informative

    This XBox has 128 megs, as many modded boxes, and all development boxes do. A 1400MHZ CPU is even possible.

    --
    I don't need no instructions to know how to rock!!!!
  10. Re:Actually EMULATED on LINUX! by Monokeros · · Score: 5, Informative

    How's this for getting your info straight:
    They're emulating PPC hardware, they're not emulating OSX.

    --
    The Statue of Liberty is America's lawn jockey.
  11. Re:Is it actually usable? by Anonymous Coward · · Score: 2, Informative

    It's much harder to emulate RISC (PowerPC) on a CISC (x86) than the other way around. Hence, VirtualPC runs better on a Mac than PearPC runs on a PC.

  12. caches, just in case by Savves · · Score: 2, Informative
    PasteEater writes "The good people over at XBox Scene ? have the scoop. Mac OS X has been successfully installed ? on a modified ? Xbox. What does this mean? Well, it's no Xbox Media Center ? , but it does prove that nerds are at the forefront ? once again!"

    thanks to mirrordot.org

  13. Re:World's cheapest Apple by mlk · · Score: 5, Informative

    £200-£300 UKP will get you a crap G3 from a second hand shop, and will be much faster.

    --
    Wow, I should not post when knackered.
  14. Re:Very suspect ... by Bitsy+Boffin · · Score: 4, Informative


    I also thought TechTV had made it pretty clear that pearPC was almost unuseable on a machine below 2.5 GHz.


    May have been true once, but PearPC has made significant enhancments. I use it for testing websites under Mac IE quite successfully (and more or less usably) on my lowly 1.2 Ghz Duron machine.

    --
    NZ Electronics Enthusiasts: Check out my Trade Me Listings
  15. Re:huh? by jimicus · · Score: 3, Informative
  16. Re:cheaper then an Emac by adzoox · · Score: 5, Informative

    Actually it's not.

    Xbox (as used in this article) with a modded 128MB RAM and larger/faster hard drive + $300 retail (+ mod time)

    Xbox = $149
    HD = $100
    Memory and mod kit = $50
    Mac OSX 10.2 (as used in article) = $50
    Keyboard = $20
    Mouse = $10

    Other materials such as soldering iron, wiring, CDs to burn Linux and Pear PC onto = $50

    17" Screen or 19" TV $75 (minimum)

    At this - you don't get easy wireless, iApps, a combo drive that burn CDs AND view DVDs and minus a whole host of other features.

    You can get a nice refurb eMac 1Ghz and sometimes 1.25GHZ directly from Apple for $529 shipped on a regular basis in the special deals section.

    --
    Yell & scream & rant & rave... it's no use... you need a shaaaave ~ Bugs Bunny
  17. Re:Is it actually usable? by Pope · · Score: 2, Informative

    The gain was mainly made due to the bi-endianess (is that a word?!) of the PPC chip, something that was lost with the G5 and the big reason MS has taken over a year to come out with a G5-compatible version of VPC. The other advatage the PPC has in emualating x86 is the register-rich nature of Motorola 680x0 and PPC chips.

    --
    It doesn't mean much now, it's built for the future.
  18. Re:Honestly.. by hayne · · Score: 4, Informative
    (I've always wanted to try out OSX, but I'm not going to spend thousands to buy a Mac..)

    How about one thousand? E.g. $799 (eMac) $1099 (iBook) $1299 (iMac)

  19. MAC OS X/Linux Modchips by LogicX · · Score: 2, Informative

    After reading the news about the Xbox being able to run OS X you may be asking yourself, "How can I do this as well, what do I need?"

    Well, the answer to that question would be that you need to have a Xbox, obviously, and a way to run unsigned code.

    In my experiences I have found that www.xbox-modchips.com provides quality tech suport, a good warranty, and overall great prices.

    Right now the most Compatible chip in the market is the Xecuter 3 modchip. This can let you run the unsigned code required for a Mac OS X install.

    In my opinion though, OS X needs a lot of proccessing power to run it's OS and requires a good bit of memory too, but the 733mhz proccessing power and the 64mb of ram that come with the Xbox may fall short behind on the minimal basis of running OS X on an Xbox.

    Linux on the Xbox can do some great things such as, connect to your email server, browse the internet, run Linux apps, and even daisy chain several Xboxes together that are running Linux and make a 10,000 mhz machine. Linux on the Xbox has progressed very far, but how will Mac's OS X hold up like the current Xbox-linux Os's out today?
    Only time will tell.

    --
    May this post be indexed by spiders, and archived for all to see as my Internet epitaph.
  20. Re:Very suspect ... by Bastian · · Score: 2, Informative

    No, I think that the issue is not the dock cutting items off, it's that the "Internet Explorer" label above the dock is obscuring the processor information in the "About This Mac" window.

    From the parts of the megahertz number that are showing, we can tell it's a 3-digit number ending in 7 with the first two digits having rounded tops, so the insinuation is that this screenshot could really have been taken from OS X running on something like an 9877Mhz PPC G3 rather than PearPC on an XBox.

    Random conspiracy theory, yes. But still kind of interesting.

  21. Re:Do you smell that? by poot_rootbeer · · Score: 2, Informative

    You would think that /. would look at the supplied links and do some filtering when it comes to links hosted by a University.

    Maybe it's different where you went to school, but my university had more available bandwidth than most small companies or ISPs. There's nothing about academia that's inherently more slashdottable than any other type of site.

  22. Re:They skirted around 1 legality when they wrote by Anonymous Coward · · Score: 1, Informative

    I can't see them doing that, ever. By making their own hardware, they have complete control over the "user experience" that is so highly touted. They know their hardware will be able to handle OSX's graphical decadence, they know that hardware will "just work," etc.

  23. This is VERY misleading article title ... by thedbp · · Score: 4, Informative

    All they did was install OS X via PearPC on Linux running on the XBox. As far as I know:

    1. Linux has been running on the XBox for a while.
    2. It has already been demonstrated that PearPC can emu PowerPC on x86 and run Mac OS X (albeit slowly)

    All they did was give instrux on how to compile PearPC for the XBox, which any seasoned Linux user could have figured out if they tried. Beyond that, wouldn't this be SLOW AS DIRT?!?! Even on a very fast x86 desktop machine, PearPC crawls like a gimp sloth w/ no hind legs. And wouldn't most XBox-Linux users probably also have a faster x86 PC that they could run OS X thru PearPC on?

    I fail to see how this is interesting in the slightest. Maybe I'm jaded, but to me it seems there's nothing new here. Please move along ...

  24. Re:An Apple First by Krach42 · · Score: 3, Informative

    But PearPC has enormous overhead beyond the virtual memory itself. Not only the available memory for PearPC, but also the resident code pages for PearPC, and then also the resident code pages for the JITC emulation.

    So, even if the box had 128MiB of RAM, it's still going to be thrashing hard.

    It's still COOL though.

    --

    I am unamerican, and proud of it!
  25. Re:Not really what it seems by Krach42 · · Score: 3, Informative

    "That is like me telling people I got my Xbox to play SNES Games when all I am really doing is pulling up an SNES emulator on my xbox with Linux."

    So, your X-Box _WOULD_ be playing SNES games. Are you confused as to exactly how emulation works?

    --

    I am unamerican, and proud of it!
  26. Re:An Apple First by Loco3KGT · · Score: 2, Informative

    If memory serves, my Linux only reports 56MB of free RAM on my x-box

    --
    Blessed be he who reads this post, Cursed be he who tells my boss.
  27. Re:Do you smell that? by gallavad · · Score: 3, Informative

    Nope. Speaking as student at Georgia Tech's College of Computing (where the page in question is being hosted), I can say with confidence that we will easily survive this slashdotting, just as we have the many in the past. The network's not even feeling slow.

    Actually, I recall hearing some years ago that Tech actually routes about 25% of the data that passes through Atlanta, so it would take a lot more than slashdot to pull us down, bandwidth-wise.

  28. Re:Very suspect ... by mrchaotica · · Score: 2, Informative

    Yes. It uses a TV for a display; what did you expect?

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz