help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

efi linux booting on macbook pro fails with grub2 1.97


From: Soeren Sonnenburg
Subject: efi linux booting on macbook pro fails with grub2 1.97
Date: Mon, 26 Oct 2009 15:26:10 +0100

Dear list,

I am trying to boot linux of a MacBookPro5,3 using grub2 1.97, refit and
efi booting and well it doesn't work :/

What I did

./configure --with-platform=efi
make

mount the vfat partition that contains the EFI dir to /mnt/efi
./grub-mkimage -d . -o grub.efi part_gpt hfsplus fat ext2 normal sh chain boot 
configfile loadbios fat chain appleldr fixvideo
sudo cp grub.efi *.mod *.lst /mnt/efi/EFI/GRUB/


When I reboot I select grub.efi from the refit shell and grub2 starts up
(I see a list of kernels to choose from).

The entry I am trying to boot is

menuentry "Debian GNU/Linux" {
        root=(hd1,3)
        fakebios
        linux   /boot/vmlinuz root=/dev/sda3 ro video=efifb
}

but I am being thrown back to the selection when selecting that entry.
When issuing manually linux /boot/vmlinuz on the command prompt I don't
see the usual image of size output but just nothing. And when I type
linux again grub2 says unknown command from now on...

Standard bios based booting via refit+grub works, what surprises me is
that in the bios based setup I have to boot with root=(hd0,3) though.

Any ideas what I could possibly be doing wrong?
Soeren
-- 
For the one fact about the future of which we can be certain is that it
will be utterly fantastic. -- Arthur C. Clarke, 1962

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]