Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Linux beats Windows to Intel iMac 537

Ctrl+Alt+De1337 writes "The Mactel-Linux folks have now successfully booted Linux on a 17" Core Duo iMac. They used the elilo bootloader, a modified kernel, and a hacked vesafb to boot from a USB drive. No GUI pictures for now, just white text on a black background. The distro of choice was Gentoo, and instructions and patches are promised this weekend."
This discussion has been archived. No new comments can be posted.

Linux beats Windows to Intel iMac

Comments Filter:
  • by sg_oneill ( 159032 ) on Thursday February 16, 2006 @05:23PM (#14736784)

    You know that one has always been able to run linux on regular old macs for a good decade now yeah?

    I've recycled a bunch of old 'colourful' macs that are too crusty for OS/X into nice linux X-terminals and stuff.
  • by arivanov ( 12034 ) on Thursday February 16, 2006 @05:30PM (#14736843) Homepage
    It was a matter of very little time in fact. Linux supports the enhanced firmware loader used by MacOS X even now. Winhoze will not support it before Vista.

    Still, unless Intel made the mistake of leaving some of their PC handywork around this will not be enough.

    In order to run a mobile Pentium you have to aggressively control its frequency. Otherwise it will fry itself.

    The support for this in Linux is heavily dependant on ACPI. AFAIK the Intel Macs are supposed to have ACPI completely taken out and replaced by native power management. So the happiness of "we got Linux to run on this" is likely to be short lived until the smoke starts coming out from the melting plastic on top of the overheated processor. Which will not be long.
  • Slashdotted (Score:5, Informative)

    by dch24 ( 904899 ) on Thursday February 16, 2006 @05:31PM (#14736848) Journal
    The link is to the coral cache [nyud.net] of the original page [xbox-linux.org]. Even that is slashdotted right now. Here's the article: (it's a Wiki)

    Main Page

    Mactel-Linux is the effort to adapt the GNU/Linux operating system to Intel-based Apple Macintosh hardware.

    This requires changes/additions to at least the following projects:

    • the elilo bootloader
    • the Linux kernel
    • several drivers

    This site is not about Linux distributions for Intel-Macs, but about developer communication.

    Status

    Using elilo and a modified Linux kernel, we can boot from a USB hard disk on the 17" iMac Core Duo. We are using the hacked vesafb driver to inherit the bootloader's framebuffer, keyboard and a USB network card work. Gentoo runs and can compile the Linux kernel with a compiler that runs on linux, which was compiled in linux, on a mac running the new intel duo processors.

    lspci
    00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
    00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
    00:07.0 Performance counters: Intel Corporation Unknown device 27a3 (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
    00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
    00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
    00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
    00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
    00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
    01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 71c5
    02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
    03:00.0 Network controller: Broadcom Corporation BCM4310 UART (rev 01)
    04:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)

    dmesg click if you want to see it [nyud.net]

    Instructions and Patches

    Coming this weekend.

    FAQ

    Can I already run Linux on the iMac Core-Duo?

    Not quite. The kernel boots, and you can interact with the system on the command line, but that's as much as you can do with it at the moment. If you're a developer, though, that's a starting point.

    [edit]
    Why Linux? OS X is so great!

    Sure OS X is great. But this is fun.

    [edit]
    Why Linux? Why not Windows?

    Windows isn't fun.

    [edit]
    Why not OS X on non-Apple PCs?

    That's way uncool.

    [edit]
    The Intel-based Macs are standard PCs, aren't they?

    They share many characteristics with PCs, yes. Though, their firmware is EFI, not the old 1982 PC-BIOS.

    [edit]
    Then what took you so long??

  • Re:Why do this? (Score:4, Informative)

    by Chirs ( 87576 ) on Thursday February 16, 2006 @05:33PM (#14736867)
    There are those that like/need to test stuff in various OS's. Having one box that can do linux/OSX/windows would be convenient.

    Currently of course you need to reboot, but once VT comes out on the core duo chips then this will let you use Xen/Vmware to run all three simultaneously on the same hardware at near-full speed.
  • by Thud457 ( 234763 ) on Thursday February 16, 2006 @05:34PM (#14736888) Homepage Journal
    vista [reference.com]
    n.

    1.
    1. A distant view or prospect , especially one seen through an opening, as between rows of buildings or trees.
    2. An avenue or other passage affording such a view.
    2. An awareness of a range of time, events, or subjects; a broad mental view: "the deep and sweeping vistas these pioneering critics opened up" (Arthur C. Danto).


    As a free bonus, may I present the fabulous Vista Cruiser! [texas442.com]

  • Re:FUD ALERT (Score:4, Informative)

    by peragrin ( 659227 ) on Thursday February 16, 2006 @05:49PM (#14737023)
    G5's are only a tad slower than Opeteron's at the same speed. The big difference though is in servers. OS X is a lousy server with extremely poor thread creation. Where as Linux on a G5 rox's.

    Now for a desktop/workstation poor thread creation doesn't affect much after booting. Giving OS X an advantage there.
  • Re:Great! (Score:5, Informative)

    by Kadin2048 ( 468275 ) <slashdot.kadin@xox y . net> on Thursday February 16, 2006 @05:52PM (#14737048) Homepage Journal
    World's most expensive desktop linux machine

    No, I think that dubious honor belongs to this: the IBM IntelliStation A Pro [ibm.com]. Take it home today, only $11,779.00.

    And that's for a dual-Opteron system with RHEL, it's not one of the big RISC-based AIX workstations. Granted, it does come with 8GB of RAM, Ultra320 SCSI, and a ridiculous display card (3DLabs Wildcat Realizm 800).

    Frankly though, I think the Mac looks cooler.
  • Re: It uses ACPI (Score:3, Informative)

    by dch24 ( 904899 ) on Thursday February 16, 2006 @06:00PM (#14737138) Journal
    I realize that EFI can replace ACPI, but it looks like they just took the easy route.

    I'm looking at the dmesg [nyud.net] listing, and it runs through EFI first...

    But then it identifies and runs through the standard ACPI listing. Processors identified, power states, the works.

    Not to say you aren't right about needing to throttle the processor, but Apple made it a little easier by using ACPI instead of reinventing the wheel...

  • Re:Why the delay... (Score:1, Informative)

    by Anonymous Coward on Thursday February 16, 2006 @06:24PM (#14737380)
    But not all the other distros let you turn features off while doing it.
  • Re:FUD ALERT (Score:5, Informative)

    by PFI_Optix ( 936301 ) on Thursday February 16, 2006 @06:26PM (#14737403) Journal
    Can you purchase/make a regular PC with the screen/compactness of the imac?

    In a word, Yes. Just like when the first iMac came out and PC makers released clones, you can find LCDs with embedded PCs.

    Here's one from Sony. [sonystyle.com] I know it's $2,000, but it looks like it's a lot more than the iMac as features go.

    Here's another one: http://www.boldata.com/html/unique.cfm [boldata.com]

    Here's one that came up on Google ads that I couldn't get to load from work: http://www.lcdpc.com/ [lcdpc.com] I don't have a clue what's on it right now, but judging from the URL I think it's relevant :)

    That's all I hit on three Google searches, but seeing as I had no clue what terms to search, I think it's a fair start.

  • by CerebusUS ( 21051 ) on Thursday February 16, 2006 @06:35PM (#14737486)
    I don't think you run an OS under WINE, after all Wine Is Not an Emulator. Instead WINE allows you to run Windows Binaries under another OS, typically Linux.

    DarWINE (an OS X port of WINE) is nearing 1.0 status, I believe. With any luck it will allow Windows games to run under OS X at roughly native speeds.
  • by daeley ( 126313 ) on Thursday February 16, 2006 @06:35PM (#14737491) Homepage
    ...except tunnel the native GUI via SSH with minimal effort.

    You sure about that [sourceforge.net], homeslice?
  • Re:FUD ALERT (Score:3, Informative)

    by for_usenet ( 550217 ) on Thursday February 16, 2006 @06:55PM (#14737658)
    I'll call you on that one - the new iMacs, and even G5s had performance benchmarks that mattered very much for our research group. If you take a look at the page http://www.neuro.mcw.edu/afni_speedo.html [mcw.edu] , you will see benchmark results for several different types of machines, all running the same analysis on the same set of data. The new iMacs are barely slower than an Athlon 4000 when using a single thread, and even surpasses the old G5s and everything else when using 2 threads. This benchmark tests FP and memory access performance, and let's just say that with the current performance results, people ARE looking into getting more of these newer Macs.

    And also keep in mind, when you go to 64-bit and Opteron/Pentium D class machines (as with the old G5s), you're moving up into another machine and price class. For 64-bit and the performance, these machines were VERY much worth it - both the old G5s (performance and larger memory space) and seemingly, the new iMacs (performance).
  • Re:Modified kernel? (Score:5, Informative)

    by Bill Hayden ( 649193 ) on Thursday February 16, 2006 @07:14PM (#14737794) Homepage
    And has anyone tried sticking in a pre-release DVD of Windows Vista, holding down the D key, and seeing what happens?

    I tried a few times to compose an answer to that question without being sarcastic, but I couldn't pull it off. In short, yea, pretty much everybody who has spent 2 seconds thinking about Windows on Mac has thought of this idea and/or tried it. I'll just point you to here [onmac.net], here [osx86project.org], and here [journalspace.com]. I'm sorry to be pissy, but the forums where people are actually trying to work on this problem are so cluttered with this "novel" idea that it gets really annoying after a while.

    So as not to be a complete rant, I'll explain why this doesn't currently work. The Mac uses the new UGA standard for video cards, and does not support VGA at all. Windows (even Vista) only supports VGA (or UGA with VGA fallback, which Mac doesn't have either). There are also drive partitioning issues, among other problems. Basically, any feature that Apple didn't need for booting MacOS was left out of the EFI, including BIOS-compatibility mode as you noted. No current PC hardware is so legacy-free. However, with a bit of massaging, the Vista install disc does boot, you just can't see anything on the screen. When Vista gets a real UGA driver, we should be able to make quite a bit more progress.

  • by jbolden ( 176878 ) on Thursday February 16, 2006 @07:22PM (#14737847) Homepage
    I suggest you read the threads on /. about Paladium. Pretty much:

    1) TPM chip allows an OS to determine if it is running in an debugger or against raw hardware.

    2) Trusted applications load only under trusted OS and get codes from TPM chip to verify they are on the actual machine (and since the OS is running against real hardware).

    3) Data is encrypted in ways that only trusted applicationsc an read.

    One more point about TPM chip. The chips can have a password they can't read. I.E. the chip can apply a function that it has no way of reporting to an external process.
  • Re:Why do this? (Score:3, Informative)

    by Mistshadow2k4 ( 748958 ) on Thursday February 16, 2006 @07:59PM (#14738120) Journal
    And don't forget that if you don't want to go without a GUI there are a bunch of Linux/BSD GUIs that use little RAM, such iceWM and (my favorite) fluxbox. Aqua may be very stylish but all that eye candy does use a lot of memory. That's not an entirely anti-Mac staement either - the same can be said for KDE and any window manager that tries to be fancy (and I like KDE for it's customizaility).
  • by c_waddington ( 681862 ) on Thursday February 16, 2006 @09:19PM (#14738679)
    Actually no - did you even read the original article? The article is a set of musings from someone about how they might go about getting Windows to run on the Intel Macs. They have *not* actually got Windows to run on Mac.
  • by damiam ( 409504 ) on Thursday February 16, 2006 @11:01PM (#14739260)
    Contrary to popular opinion, OSX is not FreeBSD and isn't really very closely related to it. AFAIK, the userland UNIX tools are derived from BSD, but the kernel is Mach and just about everything else is proprietary.
  • Re:Oh boy! (Score:5, Informative)

    by caseih ( 160668 ) on Thursday February 16, 2006 @11:09PM (#14739302)
    Am I the only one who finds OS X's user interface to be just as inconsistant as any other current Linux desktop UI? Here's a number of my pet-peeves that seriously affect my efficiency in OS X:
    • Inconsistant PageUp/PageDown use. Some programs move the cursor, some just move the screen. Very annoying when only the page moves. Now if all aps standardized even on the annoying behavior at least we'd be consistant.
    • Home/End keys. If you understand the logic, it's not bad. Command-left_arrow and command-right_arrow do the trick. But if you go in and change your OS X keybindings to restore normal windows/linux home/end behavior, you only get very spotty coverage with some apps honoring the keybindings, some not.
    • Click to focus a window absorbs that click. But not always. Depends on the app. Really slows you down if you use dual-monitors and have lots of windows spread between them.
    • Scroll wheel can only affect a focused windows. This means you can't have your browser slightly underneath your program editor and scroll up and down through API docs without clicking away from the editor window. This one is pretty close to being a show-stopper for me. Combined with the previous problem with the focus these leads to some serious impedence of work. In essence the UI fails in this aspect because it doesn't get out of the way and let you work. Instead it is in your face.

    So I just laugh whenever people talk about one UI (be it Windows or Gnome or KDE or OS X) being so much more consistant and usable than any other UI.
  • Re:FUD ALERT (Score:3, Informative)

    by toddestan ( 632714 ) on Thursday February 16, 2006 @11:37PM (#14739455)
    Stop spreading FUD

    It's a joke. Lighten up.
  • Re:FUD ALERT (Score:3, Informative)

    by Logic and Reason ( 952833 ) on Friday February 17, 2006 @03:02AM (#14740333)
    Here's one from Sony. I know it's $2,000, but it looks like it's a lot more than the iMac as features go.

    Did you look closely at that Sony TV-PC? The screen may be 20", but it has a resolution of only 1366x768. I'd hardly consider that an acceptable computer display for a $2200 computer.

    The BOLData ones just look like crap, both visually and in terms of quality.

    If you really want the iMac form factor in a "regular PC," I know Dell makes or used to make some decent ones. They still don't compare in overall quality to a Mac, though.

  • Re:Oh boy! (Score:2, Informative)

    by vmardian ( 321592 ) on Friday February 17, 2006 @04:22AM (#14740577) Homepage
    You forget the biggest one (at least my biggest one)...

    The inconsistency of the close button. Sometime it quits the application, sometimes it closes the document within the application, sometimes it just makes the application go away, but its not hidden (that's something else) and its not closed.

    There are a few other inconsistencies but once you know them its not a big deal, and despite the inconsistencies, I enjoy OS X the most.
  • Re:Oh boy! (Score:4, Informative)

    by Walkiry ( 698192 ) on Friday February 17, 2006 @05:31AM (#14740767) Homepage
    I think you missed something important in your comments, and it's that most of the time it was the inconsistency of the behaviour in every point what annoyed the GP poster. Inconsistency is always an irritation, even if it's relatively small.

    Oh and one more thing:
    >You know, I wanted focus follows mouse for a long time, but then I realized that if you had
    >focus follows mouse, you'd never be able to choose anything in the menus

    You have found just another source of irritation for people who prefer to have independent menu bars for each app. And of course, mouse focus (although you've quite handily pointed out why we'll probably never see mouse focus for the Mac).
  • by TeknoHog ( 164938 ) on Friday February 17, 2006 @08:57AM (#14741256) Homepage Journal
    the kernel is Mach

    Mach is a microkernel that doesn't work by itself. The kernel of OS X, Darwin, is a BSD-derived kernel running on top of Mach. There are a bunch of other kernels, such as GNU HURD, that run on Mach.

All seems condemned in the long run to approximate a state akin to Gaussian noise. -- James Martin

Working...