Macs and Linux
Firstly: If you want to buy a computer to run Linux on, don't buy a Mac.
Secondly: If you have a Mac and want to run Linux on it, the easiest approach is going to be to run it under virtualisation. Virtualbox is free, and worth every bit of what you're paying.
Thirdly: If you're going to boot Linux on bare-metal Apple hardware, boot it via BIOS emulation.
Fourthly: If you're going to boot Linux on bare-metal Apple hardware via EFI, and it doesn't work, write a patch. Apple's firmware has a number of quirks that I'm aware of and we're working through them, but anyone filing bugs against Apple hardware on EFI right now is likely to be ignored for a significant period of time until there's an expectation that it'll actually work. Maybe in six months or so.
Secondly: If you have a Mac and want to run Linux on it, the easiest approach is going to be to run it under virtualisation. Virtualbox is free, and worth every bit of what you're paying.
Thirdly: If you're going to boot Linux on bare-metal Apple hardware, boot it via BIOS emulation.
Fourthly: If you're going to boot Linux on bare-metal Apple hardware via EFI, and it doesn't work, write a patch. Apple's firmware has a number of quirks that I'm aware of and we're working through them, but anyone filing bugs against Apple hardware on EFI right now is likely to be ignored for a significant period of time until there's an expectation that it'll actually work. Maybe in six months or so.

Bummer
(Anonymous) 2011-05-18 20:23 (UTC)(link)- When it got it, it didn't have any SATA support at all, which was fixed relatively quickly. AHCI mode only works when you're booting via EFI though.
- EFI boot needs "noexec=off". And last time I tried it, nouveau had some problems on EFI mode.
- 2D worked without acceleration for a long time - but now I've got 3D running well enough for Gnome Shell. Thanks nouveau guys!
- Backlight needed a trivial patch with a DMI entry. But you've reworked the whole backlight driver to not need separate patches for all models anymore (thanks!). Would've been nice if the trivial patch would have been mainlined while waiting for your proper fix, though.
- wireless (BCM4322) was only supported by the binary broadcom driver at first - but since 2.6.38 the b43 driver can do it too.
So if I were to give any recommendation to people considering linux-on-mac, it would be this: don't expect the latest, shiniest Mac to work immediately out of the box without tinkering. In my case it went from barely usable to fully functional in about six months. But I knew this going in, and still wanted to do it.
Re: Bummer
If people are happy to do the tinkering and stuff then that's great, but right now I'm just seeing masses of bugs full of people who are confused about why things don't work and attempting increasingly elaborate hacks to work around them. With a bit of luck once we've got the EFI patchset landed and I've done a bit more work to figure out the precise relationship between Apple's nvram variables, the EFI boot variables and the startup choose screen we'll actually have usefully installable media.
Re: Bummer
with 2.6.39 i can run imac12,2 27" in EFI physical-mode-patch, but not without. BIOS mode is mostly all right.
I tried (without the physical-mode-patch) booting with noexec=off, it hangs shortly after initrd is loaded (no noise from hard disk);
and tested your 5-patches set from
http://git.kernel.org/?p=linux/kernel/gi
but it gives the same result : black screen just after initrd is loaded.
Config is : updated 1.6 apple firmware, grub-efi-amd64, pristine efi firmware (no refit), gpt (no mbr).
I'm willing to help testing, if needed. Not desperately :)
Re: Bummer
Re: Bummer
(Anonymous) 2011-05-22 18:04 (UTC)(link)"It" works ! You probably don't need that, still, let me say
YOU ROCK :)
i'm rebuilding the kernel with your patches only, just to make sure
i'm not wildly hallucinating.
Latest iMac (May 2011)
(Anonymous) 2011-05-19 00:03 (UTC)(link)http://ubuntuforums.org/showthread.php?t=1
Re: Latest iMac (May 2011)
Re: Latest iMac (May 2011)
(Anonymous) 2012-01-21 21:55 (UTC)(link)Could you please develop that statement?
what do you mean by 'genuine output table' and 'lot of them don't' ?
thx
yannig
no subject
[4.5yo mac pro; Debian stable]
no subject
no subject
no subject
Unlike!
(Anonymous) 2011-05-19 02:48 (UTC)(link)I love running Linux on our two mac minis.
Re: Unlike!
MacBook 5,1
(Anonymous) 2011-05-19 06:38 (UTC)(link)Re: MacBook 5,1
(Anonymous) 2011-05-19 11:31 (UTC)(link)The only thing that broke recently is grub 1.99's ability to set up the framebuffer console in a form usable by the kernel (I believe vesafb was being used). Things start working once either nouveau or the nvidia binary brings up the display.
All this said, I'm happy to help test/debug patches if we're reasonably sure it won't melt my laptop. :)
Dissing me
(Anonymous) 2011-05-19 08:44 (UTC)(link)But anyway, thanks for your hard work on getting macs to run. I do not like MacOSX, but Apple make the best computers.
I have a Debian Mac ;-)
(Anonymous) 2011-05-19 13:07 (UTC)(link)Everything runs out of the box, except wifi. I installed Debian using refit, but now I think seriously about erasing MacOSX and changing partition system to DOS.
God bless Debian GNU/Linux!! ;-)
Re: I have a Debian Mac ;-)
(Anonymous) 2011-05-20 01:59 (UTC)(link)Of course, there are still the PPC crazies
Linux is always 6 months behind. When you realize it's because "no one tells the Linux guys anything" you discover how frigging talented everyone is.
no subject
no subject
(Anonymous) 2011-05-19 18:33 (UTC)(link)no subject
Does VB pass the OpenBSD test yet? It certainly didn't used to. Nor did they intend to make it do so until a paying customer demanded it. Not such a good move for adding payingcustomers, given it's fine under VMware. VB's notorious and chronic crappiness is why I have personally disrecommended spending lots of money on it over VMware in the past.
no subject
(Anonymous) 2011-05-25 15:00 (UTC)(link)no subject
no subject
EFI on non-Apple PCs
(Anonymous) 2011-05-21 09:50 (UTC)(link)Re: EFI on non-Apple PCs
PowerMac G4 Dual MDD
(Anonymous) 2011-05-23 12:45 (UTC)(link)It is not even good enough to boot Windows
(Anonymous) 2011-06-01 19:21 (UTC)(link)--yuhong (openid login via blogspot do not work)
Re: It is not even good enough to boot Windows
Corollary to Firstly
(Anonymous) 2011-09-06 20:36 (UTC)(link)