From: "bibo,mao" <bibo.mao@intel.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: EFI-dualbooting OSX and Linux on iMac with T7400-CPU
Date: Fri, 15 Dec 2006 09:37:16 +0800 [thread overview]
Message-ID: <4581FC4C.70403@intel.com> (raw)
In-Reply-To: <45814D28.6020403@inf.tu-dresden.de>
Eeri Kask wrote:
> bibo,mao wrote:
> >> menuentry "MacOSX" {
> >> set root=(hd0,2)
> >> chainloader /System/Library/CoreServices/boot.efi
> >> }
> >>
> >> menuentry "GNU/Linux" {
> >> set root=(hd0,5)
> >> linux /boot/vmlinuz root=/dev/sda5
> >> }
> >>
> > There is no initrd option in your menu, I do not know whether it can
> > successfully boot up without initrd option with grub2. you can enter
> > into rescue mode(command-line mode), and enter commands like this:
> > $linux /boot/vmlinuz root=/dev/sda5
> > $initrd /boot/xxx
> > $boot
> >
> > And what is your linux kernel version?
>
> 2.6.18.5.
There exists one bug in Linux kernel only EFI bios relative at
http://marc.theaimsgroup.com/?l=linux-kernel&m=116157536316034&w=2
I do not know whether 2.6.18.5 incorporates this bug.
>
> initrd is in my case in fact not needed; I compiled ata_piix and ext3
> drivers, and everything inbetween directly into the kernel, so if
> correctly loaded, it should be able to access /dev/sda5 and retrieve
> /sbin/init from the hard disk; then everything else comes from there as
> well.
>
> Currently I am a little puzzled, as grub2 loads and executes MacOS-X
> boot.efi correctly, but if trying linux, then linux stops somewhere.
> As next, if burning the same kernel image as a bootable syslinux-CD,
> linux gets loaded and executed as one would expect.
> With the "nv" driver even X11 runs in full 1920x1200 resolution on
> iMac-T7400 excellently (nvidia proprietary driver builds, starts and
> runs without complaints, but shows "black pixels" only :-).
>
> Maybe MacOS if booting from CD sets up some faked BIOS environment so
> Linux and X11 are in believing it is usual IBM-PC-hardware, but if
> booting with grub2 this is not the case and then linux fails?
I am not familiar with Mac machine, In general there exists two types of
bios. One is EFI bios, the other is legacy pc bios. I doubt that
syslinux-CD boots from legacy pc bios but not EFI bios. You can enter
"dmesg" command to find memory map information to judge which bios kernel
boots from.
thanks
bibo, mao
>
> Momentarily I am not convinced it is a grub2 issue.
>
> Greetings,
>
> Eeri Kask
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
next prev parent reply other threads:[~2006-12-15 1:37 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
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 [this message]
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=4581FC4C.70403@intel.com \
--to=bibo.mao@intel.com \
--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.