From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Gv20v-0003wA-5W for mharc-grub-devel@gnu.org; Thu, 14 Dec 2006 20:37:29 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gv20t-0003ul-Od for grub-devel@gnu.org; Thu, 14 Dec 2006 20:37:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gv20p-0003oa-Qt for grub-devel@gnu.org; Thu, 14 Dec 2006 20:37:26 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gv20p-0003oC-Fu for grub-devel@gnu.org; Thu, 14 Dec 2006 20:37:23 -0500 Received: from [134.134.136.24] (helo=mga09.intel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gv20p-0007dx-7D for grub-devel@gnu.org; Thu, 14 Dec 2006 20:37:23 -0500 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by mga09.intel.com with ESMTP; 14 Dec 2006 17:37:18 -0800 Received: from bmao-mobl.ccr.corp.intel.com (HELO [10.239.22.144]) ([10.239.22.144]) by fmsmga002.fm.intel.com with ESMTP; 14 Dec 2006 17:37:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: i="4.12,171,1165219200"; d="scan'208"; a="27193737:sNHT24861555" Message-ID: <4581FC4C.70403@intel.com> Date: Fri, 15 Dec 2006 09:37:16 +0800 From: "bibo,mao" User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: The development of GRUB 2 References: <457303C0.6090701@inf.tu-dresden.de><200612031925.30257.okuji@enbug.org> <4576E389.7010702@inf.tu-dresden.de><45777359.3040905@intel.com> <45814D28.6020403@inf.tu-dresden.de> In-Reply-To: <45814D28.6020403@inf.tu-dresden.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: EFI-dualbooting OSX and Linux on iMac with T7400-CPU X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 01:37:27 -0000 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 >