From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: EFI-dualbooting OSX and Linux on iMac with T7400-CPU
Date: Sun, 3 Dec 2006 19:25:29 +0100 [thread overview]
Message-ID: <200612031925.30257.okuji@enbug.org> (raw)
In-Reply-To: <457303C0.6090701@inf.tu-dresden.de>
On Sunday 03 December 2006 18:05, Eeri Kask wrote:
> After creating 4 partitions with MacOSX installation CD (and installing
> OSX) I installed Gentoo 2006.1 x86_64 onto the 4th partition (i.e.
> /dev/sda5; in OSX invisible FAT32 partition counts as /dev/sda1).
> Now I am kindly looking for help in making linux EFI-bootable using grub2.
Oh, great. :)
> Grub comes and gives lots of errors:
>
> (line 2-2)
> syntax error
> Incorrect command
> ...
> (line 12-12)
> Press any key to continue...
Hmm.. I think you need to put the open braces in the same line as "menuentry"
commands.
> Then grub shows command line interface:
>
> grub> set root=(hd0,5)
> grub> linux /boot/vmlinuz root=/dev/sda5
> grub> boot
> grub> _
>
> is what I entered and now nothing happens. However grub reads the
> ext3-formatted /dev/sda5 partition as typing TAB completes path- and
> filenames.
Please check the following:
- Make sure that the linux kernel is compiled with EFI support. I don't know
how Gentoo defines the default settings, but most distributions do not enable
it in default kernels, AFAIK.
- Make sure that the linux kernel has an appropriate video driver (or any
other required drivers). Again, I don't know the current status very much,
but patches for MacLinux hadn't been integrated with official kernel source
code when I looked at it. If Gentoo does not get them included, you need to
apply patches yourself.
- Make sure that you pass correct parameters to the kernel, especially a
parameter to the video driver. Otherwise, nothing will be displayed.
Another option is to use legacy boot by installing GRUB compiled for PC BIOS
to the partition for Gentoo. I think recent versions of Intel Mac should
support legacy boot by default. But, for now, GRUB does not support
chainloading a legacy boot loader directly, so you will have to boot it up
from the built-in selector, or use something else, such as refit, or
implement this feature in GRUB. As I myself haven't played legacy boot well,
I don't know how to set up this kind of configuration precisely (yet).
BTW, this report seems to be a proof that x86_64 starts up in 32-bit mode even
on EFI, well, in Intel Mac. So do we really need to implement 64-bit support
for x86_64?
Thanks,
Okuji
next prev parent reply other threads:[~2006-12-03 18:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-03 17:05 EFI-dualbooting OSX and Linux on iMac with T7400-CPU Eeri Kask
2006-12-03 18:25 ` Yoshinori K. Okuji [this message]
2006-12-06 15:36 ` Eeri Kask
2006-12-07 1:50 ` bibo,mao
2006-12-14 13:10 ` Eeri Kask
2006-12-15 1:37 ` bibo,mao
2006-12-15 9:16 ` Eeri Kask
2006-12-18 3:31 ` bibo,mao
2006-12-13 12:49 ` Marco Gerards
2006-12-13 13:29 ` Thomas Schwinge
2006-12-13 13:52 ` Marco Gerards
2006-12-13 21:43 ` Yoshinori K. Okuji
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200612031925.30257.okuji@enbug.org \
--to=okuji@enbug.org \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.