Skip to contentSkip to conversation

Loading OS/X 10.7 by grub x86_64-efi fails

DISCUSSION Andrey Borzenkov 4 participants 10 messages May 9, 2013 – Nov 27, 2013

lore
Share & tools
lore
#0 lore raw

I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as second OS openSUSE 12.3 using EFI CD boot (worked just fine) and x86_64-efi grub2. I had to manually bless grub on EFI partition to actually boot it. os-prober also found installed OS/X and added to boot menu.

The problem is, both 32 and 64 menu options crash during boot. Is it supposed to work in the first place? If yes, which diagnostic I can collect to debug it further?

#1 lore raw

В Thu, 9 May 2013 22:32:05 +0400
Andrey Borzenkov <[email protected]> пишет:

Quoted 8 lines

I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as second OS openSUSE 12.3 using EFI CD boot (worked just fine) and x86_64-efi grub2. I had to manually bless grub on EFI partition to actually boot it. os-prober also found installed OS/X and added to boot menu.

The problem is, both 32 and 64 menu options crash during boot. Is it supposed to work in the first place? If yes, which diagnostic I can collect to debug it further?

To add - 30_os-prober is using xnu_* commands to boot OS X, and they failed. Chainloading of /usr/standalone/i386/boot.efi works in current trunk.

#2 lore raw
In reply to Andrey Borzenkov
Quoted 8 lines · Andrey Borzenkov

I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as second OS openSUSE 12.3 using EFI CD boot (worked just fine) and x86_64-efi grub2. I had to manually bless grub on EFI partition to actually boot it. os-prober also found installed OS/X and added to boot menu.

The problem is, both 32 and 64 menu options crash during boot. Is it supposed to work in the first place? If yes, which diagnostic I can collect to debug it further?

I suppose that the bootargs structure may have changed. I'll look into it, thank you for reporting.

Quoted 6 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw

В Fri, 10 May 2013 14:18:42 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> пишет:

Quoted 7 lines · Andrey Borzenkov
Quoted 6 lines

I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as second OS openSUSE 12.3 using EFI CD boot (worked just fine) and x86_64-efi grub2. I had to manually bless grub on EFI partition to actually boot it. os-prober also found installed OS/X and added to boot menu.

Quoted 7 lines
Quoted 3 lines

The problem is, both 32 and 64 menu options crash during boot. Is it supposed to work in the first place? If yes, which diagnostic I can collect to debug it further?

I suppose that the bootargs structure may have changed. I'll look into it, thank you for reporting.

BTW I succeeded to boot OS X by
chainloading /usr/standalone/i386/boot.efi. This needed current trunk with multiarch format support (on stock 2.00 I simply got unknown error back).

#4 lore raw
In reply to Vladimir 'φ-coder/phcoder' Serbinenko

В Fri, 10 May 2013 14:18:42 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> пишет:

Quoted 7 lines · Andrey Borzenkov
Quoted 6 lines

I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as second OS openSUSE 12.3 using EFI CD boot (worked just fine) and x86_64-efi grub2. I had to manually bless grub on EFI partition to actually boot it. os-prober also found installed OS/X and added to boot menu.

Quoted 7 lines
Quoted 3 lines

The problem is, both 32 and 64 menu options crash during boot. Is it supposed to work in the first place? If yes, which diagnostic I can collect to debug it further?

I suppose that the bootargs structure may have changed. I'll look into it, thank you for reporting.

Any progress on it? This has been reported by multiple users. If this does not have chance to be fixed in reasonable timeframe, I'll rather look at directly chainloading of /System/Library/CoreServices/boot.efi instead of using xnu.

#5 lore raw
Quoted 14 lines · Andrey Borzenkov

В Fri, 10 May 2013 14:18:42 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> пишет:

Quoted 11 lines · Andrey Borzenkov
Quoted 9 lines

I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as second OS openSUSE 12.3 using EFI CD boot (worked just fine) and x86_64-efi grub2. I had to manually bless grub on EFI partition to actually boot it. os-prober also found installed OS/X and added to boot menu.

The problem is, both 32 and 64 menu options crash during boot. Is it supposed to work in the first place? If yes, which diagnostic I can collect to debug it further?

Quoted 5 lines
Quoted 3 lines

I suppose that the bootargs structure may have changed. I'll look into it, thank you for reporting.

Any progress on it?

What is the exact panic message?

#8 lore raw
In reply to Andrey Borzenkov

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 14 lines · Andrey Borzenkov

? Fri, 10 May 2013 14:18:42 +0200
Vladimir '?-coder/phcoder' Serbinenko <[email protected]> ?????:

Quoted 11 lines · Andrey Borzenkov
Quoted 9 lines

I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as second OS openSUSE 12.3 using EFI CD boot (worked just fine) and x86_64-efi grub2. I had to manually bless grub on EFI partition to actually boot it. os-prober also found installed OS/X and added to boot menu.

The problem is, both 32 and 64 menu options crash during boot. Is it supposed to work in the first place? If yes, which diagnostic I can collect to debug it further?

Quoted 8 lines
Quoted 3 lines

I suppose that the bootargs structure may have changed. I'll look into it, thank you for reporting.

Any progress on it? This has been reported by multiple users. If this does not have chance to be fixed in reasonable timeframe, I'll rather look at directly chainloading of /System/Library/CoreServices/boot.efi instead of using xnu.

That's what I've always done. Apple's EFI implementation is non-standard and sometimes different in each generation of its computers. I just therefore always chainload; it is more foolproof and works better than xnu anyway in my opinion.

Quoted 7 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSljxPAAoJEFbRvtGxmFPElFEH/iXPsfZXrCnFJqWRYuZs9oJ+ Kdinirl6CAPAgSGwt/ygQzO9OsPA6+MKG2jaAi/hREDYSp509FG1ZIKLm4R3Zqa7 5WkSMBXELuoaJibSIFaQrNoiJ8C304sH1JBm95OiHQX7Kg/jDrtYGS89mIru2yd6 LQyjIIYR1gZR0RndJ3zg8jc0hOgvJqZecC0ZGtEwNbaI3wak8FFB9bCmI5EFbk6d ovGiBp3BdSYhUFaEIe8FGnsjKKe2zl9vP6G20McramWctgayjMRTNnyRnHzRG6EY J1tdzYQcgI4qf3/mE4bd18I045NIJYr0evllhIYDjKpqP/zvG7Ebr6lmB/PaGWY= =nbH7
-----END PGP SIGNATURE-----

#9 lore raw
Quoted 20 lines · SevenBits
Quoted 17 lines · Andrey Borzenkov

? Fri, 10 May 2013 14:18:42 +0200
Vladimir '?-coder/phcoder' Serbinenko <[email protected]> ?????:

Quoted 14 lines · Andrey Borzenkov
Quoted 9 lines

I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as second OS openSUSE 12.3 using EFI CD boot (worked just fine) and x86_64-efi grub2. I had to manually bless grub on EFI partition to actually boot it. os-prober also found installed OS/X and added to boot menu.

The problem is, both 32 and 64 menu options crash during boot. Is it supposed to work in the first place? If yes, which diagnostic I can collect to debug it further?

I suppose that the bootargs structure may have changed. I'll look into it, thank you for reporting.

Quoted 9 lines
Quoted 4 lines

Any progress on it? This has been reported by multiple users. If this does not have chance to be fixed in reasonable timeframe, I'll rather look at directly chainloading of /System/Library/CoreServices/boot.efi instead of using xnu.

That's what I've always done. Apple's EFI implementation is non-standard and sometimes different in each generation of its computers. I just therefore always chainload; it is more foolproof and works better than xnu anyway in my opinion.

I stop this debate right here. That's besides the point.

Quoted 15 lines
Quoted 6 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#7 lore raw
Quoted 10 lines · Chris Murphy
Quoted 4 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 2 lines · Andrey Borzenkov

Any progress on it?

What is the exact panic message?

http://savannah.gnu.org/bugs/?39460

Ok, that's helpful. I forgot about it. I'll look into it this weekend.

Quoted 7 lines

Chris Murphy
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel