Can’t get Ubuntu 9.10 to boot from EFI.

It’s rather ironic that after a week of research on free software, software compatibility and protocols I was unable to get Ubuntu 9.10 to boot from EFI on my MacBook Pro 5,1 (late 2008). It’s not the fault of Ubuntu or grub2 developers. It’s Apple’s implementation of EFI, they weren’t loyal to the standards. I didn’t give up yet but I am taking a break.

You might want to know what EFI is and why I would like to “efi-boot” my Ubuntu 9.10. EFI is basically a replacement for BIOS. Using EFI, much more complex devices can be handled before the OS is booted, so we can make shiny boot loaders…

But the real reason I want to efi-boot is the fact that MBP 5,1 has two NVIDIA cards. One of them is 9600 GT the other one is 9400 GT. If Ubuntu is booted with older grub, in a special BIOS compatibility mode, it can only detect the 9600 GT. This results in an extremely over-heated system. I suspect, the undetected card is working at full capacity without doing anything. Anyway, If Ubuntu detects both cards, by the way a lot of people had success doing that, you can select one of the cards to be active without frying your system. This also fixes the battery issue, the battery lasts longer because there is no extra device to leech power in the background.

For three days, I tried gazillion different configurations, beta builds, compiled grub from source with several combinations of modules. I joined the grub IRC channel to get some help and ne of the main developers gave me an experimental version and another version that he modified specially for my problem. None of them worked. Grub just freezes after loading the kernel and the initrd image. I don’t have time to learn about EFI, BIOS or grub internals, I’ll have to wait until people figure out the problem and fix this.

Apple, why would you do this to me?

This entry was posted in Uncategorized and tagged , , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

2 Comments

  1. Bob
    Posted May 10, 2010 at 22:55 | Permalink

    This is a kernel problem and appears to be fixed. Should included in the next Ubuntu (10.10).

    see this for more detail from kernel.org:

    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8a3bdfe6cd841880a5d849c40f90093b3817f6e0

  2. Fırat Can Başarır
    Posted May 13, 2010 at 11:48 | Permalink

    Thanks Bob. I was hoping I’d be able to boot 10.04 but couldn’t. Good to know it’s fixed, thanks for the link.

Post a Comment

Your email is never published nor shared.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Hello, I am Fırat.

    I am a CS student from Turkey. I can't stop learning new things every day and rant about them!