Slashdot Mirror


New Patches Let iMac G5 Boot Linux

An anonymous reader writes "Apple enthusiasts and Linux geeks allied and the result is the announcement of a set of patches (still in test stage) that allows iMac G5 owners to (at least) boot Linux on their toys."

25 of 105 comments (clear)

  1. Redundant… by david-bo · · Score: 5, Insightful

    It is redundant to argue either:

    1. There is no need for linux when you have Mac OS X. With its Unix-underpinnings yoiu can do basically everything on Mac OS X that you can use linux for.

    2. Some people like Apple hardware (even though it might be more expensive compared to x86) but for (e.g.) political reasons prefer to use linux.

    Read my lips. This is redundant. These arguments has been posted thousands of times at Slahsdot's Apple-section.

    Please moderators. Take this into consideration when you moderate. I am tired of people telling the world that 'I can use Photoshop and Word on the same OS/computer as I write shell scripts and run Apache' and I am even more tired of when these postings are moderated insightful.

    They are no more insightful than someone explaining that if you spend the same money you would get a faster computer today compared with a year ago.

    1. Re:Redundant… by javax · · Score: 5, Insightful

      what software are you talking about? Please check DarwinPorts, Fink and GNU-Darwin to see that actually most GNU-style software runs on OS-X just fine.
      Only thing I see at first glance, that OS-X is not conforming to the FHS is, that it mounts external media in /Volumes instead of /media ...

    2. Re:Redundant… by Xyde · · Score: 4, Insightful

      Why there needs to be standard is beyond me. Why can't software refer to paths as perhaps, $BIN or $DEV instead of using hardcoded paths. (I assume they use hardcoded paths, which must be the basis of your rant) The only thing you could fault OS X for is not having a case sensitive filesystem by default. If you want one, you can format your disk as case-sensitive HFS+, or as UFS.

    3. Re:Redundant… by Pathwalker · · Score: 3, Insightful

      It's the opposite way for me - if software is unable to deal with an arbitrary directory layout, it is broken and is unusable for me.

      Software should not care about how you have your filesystem laid out. If it does, this is a bug, and should be fixed.

      If I want locally installed software to go under /lopt/ or under /0b/ or under /sw/ that is my decision.

    4. Re:Redundant… by Twirlip+of+the+Mists · · Score: 3, Insightful

      If your software can't be installed by dragging and dropping a single package to any folder anywhere, it's broken.

      We're talking about Macs here. Raise your standards.

      --

      I write in my journal
  2. Screw G5 or X86.... by Creepy+Crawler · · Score: 5, Interesting

    I'd like to see somebody come up with a dual-cpu monstrosity using hyperconnect or such, and link a G5 and an X86 together.

    Even slicker is to use the old neXt packed binaries and compile for both X86 AND G5. I figure Jobs came up with it, why not use it ;-)

    And why do this? Best of both worlds. There's a lot of software that is only MS NT X86 binary structure.. this beast could run it.

    oh, and this beast could bootstrap all those X86-only pci cards that you cant use in the Mac.

    --
    1. Re:Screw G5 or X86.... by forkazoo · · Score: 2, Informative

      Ummm... No. First off, those "x86-only" PCI cards depend on PC-BIOS. Apple and Sun use Open Firmware. It doesn't have anything to do with the instruction set of the CPU.

      Second, if there was a hybrid G5-P4 or whatever, if it wasn't running Windows, it wouldn't run Windows apps, except through something like WINE. WINE is great, but not so great that I would bet the farm on it, especially in an exotic hybrid box, where most of your users will want to run fairly intense apps like SoftImage and such, or 3D games.

      As for "packed binaries" - the current Mac OS X .app bundles are quite able to support multiple architectures. Not sure exactly what you want done. If your hypothetical hybrid system was built, and all apps were built and tuned for both X86 and PPC, then I suppose the OS could randomly run your program on whichever CPU was more idle at the moment, but that seems like such a silly complication that I can't imagine anybody doing it in the real world...

      And, by hyperconnect, I can only assume you mean HyperTransport?

  3. Why? by gklinger · · Score: 2, Interesting
    Other than the obligatory references to climbing mountains because they're there, why would anyone want to run Linux on a G5? OS X is just as UNIX-like as Linux and with projects like Fink and DarwinPorts most software familiar to Linux users is available under OS X. Case in point, last night I read a story about BZFlag so I downloaded it and had it running in under 5 minutes. And please, don't dismiss the question (or me) by saying I'm anti-Linux because I'm not. My old but beloved Sparc LX running Solaris was headed for the scrap heap so I installed Linux and now I have a machine to use when someone takes over my iBook to play BZFlag.

    If you're going to pay the premium for a G5, why not enjoy the complete hardware integration and plethora of available software offered by OS X?

    1. Re:Why? by gl4ss · · Score: 2, Informative

      well.. but isn't that like saying that if netbsd is ported to some platform there's absolutely no point in porting linux to it.

      maybe.. just maybe.. some people prefer linux to os x.

      --
      world was created 5 seconds before this post as it is.
    2. Re:Why? by 59Bassman · · Score: 3, Insightful
      I can tell you one reason that I've messed with Yellow Dog Linux on a G5.

      I've been doing a bit of clustering, and have been using the OSCAR system for building clusters. OSCAR is build using RPM-based distros (primarily RedHat). There are some folks porting OSCAR to Debian, but it's not there yet. Apple's got some pretty good tools that can be used for clustering, but nothing I've been able to get my hands on yet does all the stuff OSCAR does.

      So since YDL is an RPM-based distro, there is a hope that OSCAR could be used with YDL. It doesn't work now, but it would probably be easier to do than try to port everything over to OS X right off the bat.

      Now I will say I didn't like YDL on the G5 AT ALL. I told a co-worker it was like being a kid and taking apart your favorite Tonka truck to "improve" it. I ended up with something different, but I really wanted my old truck back. Also, there are some things that OS X is slower than Linux for (eg - run openssl speed on a dual G5 vs. a single Xeon - the Xeon will be multiple times as fast).

      OS X is a fantastic operating system. The developers package is incredible, Fink rocks, and having X11 inside is cool as heck. I'm saving up to buy a G5 for my next personal machine. However, it's not perfect (no OS is). I can fully understand folks wanting to get a working Linux install running on Apple hardware.

    3. Re:Why? by prockcore · · Score: 3, Insightful

      Other than the obligatory references to climbing mountains because they're there, why would anyone want to run Linux on a G5?

      Because Linux runs circles around OSX in terms of speed. Especially for servers. OSX's file IO and network IO in particular have too much overhead.

      The same holds true for the desktop. Linux is much snappier on the desktop than OSX.

    4. Re:Why? by hackstraw · · Score: 3, Informative

      run openssl speed on a dual G5 vs. a single Xeon - the Xeon will be multiple times as fast

      In all fairness, openssl has many hand written assembler routines for x86.

    5. Re:Why? by dr.+chuck+bunsen · · Score: 2, Interesting

      I don't buy that for a second, and niether will anyone running OS X and linux side by side. I just put together a AMD64 3400+ with 3 gigs of RAM nvidia 6800 etc. etc., I run dual boot Fedora, SUSE. Right now I type this message on a 1.2 G4 Powerbook. The Powerbook has a much "speedier" interface than my linux box. In fact it kind of makes me mad to think about how much I'm always waiting around for Gnome.

  4. Re:Real advantages over using Linux on Macs? by gklinger · · Score: 2, Informative

    If you hate Aqua, don't use it. Apple includes x11 with the OS so take a few seconds to install your window manager of choice and you'll feel right at home.

  5. Re:Another Linux victory by Gherald · · Score: 2, Insightful

    > Hardly a real victory.

    Hence, symbolic victory....

  6. Fedora Core 3 testing for PPC could use this? by jbn-o · · Score: 3, Interesting

    I recently read Colin Charles' blog and came across his announcement of FC3 for PPC is in testing. He notes that "the release is known to not boot on G5's, and we are working on re-building another tree, which we can push out soon", would this new Linux kernel patch help with this?

  7. Re:Real advantages over using Linux on Macs? by mibus · · Score: 3, Interesting

    But the obivious question; what are the advantages of running Linux on Mac hardware?
    It's nice hardware, and I got my iBook for a better price than I could find an equivalent x86 laptop for.

    I got firewire, long battery life, 12" screen (I wanted something small I could lug around easily), as much RAM and HDD, all for less than the closest x86 laptop. It's also hellishly attractive. :-)

    Oh, and the suspend/resume stuff is far faster than on all of the Linux/x86 laptops I've seen.

    As far as I've read, Linux can be run on iBooks but the hardware support is seriously lacking, which disables some important functions like power saving..

    Only the latest iBooks have "seriously lacking" hardware support, and even that is close to being fixed. (IIRC the latest benh kernels can enable power-saving).

    My iBook was bought at the start of last year.

    After 12 months on OSX I decided to switch back to Debian, mostly just because I prefer GNOME, and it was what I used everywhere else. It also gave a much-desired speed boost :)

    The only thing that doesn't work is the modem, and that's just because it's a software modem and I don't want to use the (buggy, non-open-source) driver.

    Overall, it was worth it, the biggest thing I lost was the ability to use WINE to play Windows games!

  8. The answer to why run linux on this by Raleel · · Score: 2, Interesting

    well, i have 2 macs on my desk, and have 2 powerbooks current. I run 2 mac clusters and bought another one this week. All currently have os x.

    However, there is a good reason to run linux. OS X is (currently) a 32 bit OS. Many of the apps can't see all the memory. PPC linux is 64 bit.

    that having been said, I'm only just now finding a need :)

    --
    -- Who is the bigger fool? The fool or the fool who follows him? --
    1. Re:The answer to why run linux on this by Twirlip+of+the+Mists · · Score: 2, Insightful

      That's not relevant for either Powerbooks (your example) or iMacs (the topic), as these computers can't be equipped with more than 2 GB of RAM. That's only relevant for the Xserve and the Power Mac G5.

      And that objection will vanish in about six months, more or less.

      --

      I write in my journal
  9. Launching OOO on Mac by Turing+Machine · · Score: 2, Informative

    Word docs, etc. open just fine with double-clicking on my Mac.

    Look for an app called Start OpenOffice.org that comes with the Mac package. It works great.

  10. Re:Real advantages over using Linux on Macs? by MyDixieWrecked · · Score: 2, Insightful

    I've run linux on my powerbook and there actually is hardware support for most of the powerbook's features. There's sleep mode support (for when you close the display), trackpad support, display support (for running X), LED support (you can have it blink with disk activity), PCMCIA support, and support for all of the ports on the back.

    You've gotta remember that linux is NOT OSX. Just because OSX has a Unix (BSD) subsystem doesn't make it the same as linux. If you're programming in OSX and using certain Unix APIs, they work differently in linux and OSX and I've run across a couple things that are kept in different libraries and in different places.

    Besides, some (albeit VERY few) software is distributed binary-only. I've seen software that's only got linux-x86 and linux-ppc binaries, and they will NOT run in OSX.

    My primary reason for running Linux on PPC (aside from development to make sure my apps work in linux and OSX) is for my servers. I have 2 macs (450mhz G3 and G4) set up for that purpose. IMHO, linux is better on a headless server than OSX. Sure, I could use OSX-Server, but I don't wanna shell out the $ for it. And I want a streamlined system (yay, Gentoo).

    Also, there is this great thing called "Dual-Boot" where you can have 2 or more (Multi-Boot) OSs installed at once and decide which you want to use when you start your machine.

    And, lastly, in 5 years when OS12 is out and only runs on G6 and G7s, the G5 linux support will have matured enough to fully support your older hardware.

    --



    ...spike
    Ewwwwww, coconut...
  11. Re:What is the FHS? by jbolden · · Score: 2, Informative

    The group behind this is legit. They are a bunch of linux vendors and consulting firms designing standards for binary compatability across linux distributions. So in other words: a) This standard has nothing to do with any sort of open source software b) It is deliberately specific to Linux and not designed to be part of the open systems / posix.

  12. Re:Redundant by MoneyT · · Score: 4, Informative

    What was the last time you used OO on a mac?

    Yes, you have to have X11 installed, but all those other steps are long gone. No need for fink, no need to explicitly start X11 etc etc. Double clicking a document to open it also works just fine.

    --
    T Money
    World Domination with a plastic spoon since 1984
  13. Re:Real advantages over using Linux on Macs? by Stephan+Schulz · · Score: 2, Informative
    Hey that would be great because I also hate Aque, although I'm verty fond of my little iMac. But if I install, for instance, fvwm, am I still able to use the Finder and other typical Mac-stuff?
    Yes.

    You can run X11 in two different modes on MacOS X - full-screen or rootless. If you run it full-screen, you can switch from X11 to Aqua and back with a simple keyboard or mouse command. I surf with Safari and use iTunes and the Apple DVD player, but all my work is done purely on the X11 side, which just looks like Linux unless you look quite deeply.

    If you run X11 rootless, X11 and Aqua share a single sceen, and applications are running side by side. Apple even gives you a special window manager to make things look and integrate nicely (I'm using blackbox, though ;-).

    In my experience, XFree installed via the Fink is more stable and just as fast as X11 from the Panther CDs. But my usage pattern may be atypical.

    BTW, when I got my Powerbook in late 2002, I fully planned to install Linux. I still did not get around to it - OS-X with X11 and Fink is UNIX enough for all my needs (and I've been a UNIX guy since SunOS 3.2).

    --

    Stephan

  14. Re:Real advantages over using Linux on Macs? by colinleroy · · Score: 2, Informative

    As far as I've read, Linux can be run on iBooks but the hardware support is seriously lacking, which disables some important functions like power saving...

    This now works with a patch from BenH, probably going into 2.6.11 (not a typo).

    I doubt that Apple has yet documents available on controlling G5's fan system, enabling driver writing?

    It works since a long time.

    --
    blah