Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GuqUy-0008KH-Rc for mharc-grub-devel@gnu.org; Thu, 14 Dec 2006 08:19:44 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuqUw-0008Jy-LU for grub-devel@gnu.org; Thu, 14 Dec 2006 08:19:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuqUs-0008ID-2i for grub-devel@gnu.org; Thu, 14 Dec 2006 08:19:42 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuqUr-0008IA-W4 for grub-devel@gnu.org; Thu, 14 Dec 2006 08:19:38 -0500 Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GuqUr-0004VH-UP for grub-devel@gnu.org; Thu, 14 Dec 2006 08:19:38 -0500 Received: from [141.76.2.1] (helo=mail.inf.tu-dresden.de) by mx20.gnu.org with esmtp (Exim 4.52) id 1GuqUW-0002w5-UW for grub-devel@gnu.org; Thu, 14 Dec 2006 08:19:17 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.inf.tu-dresden.de (8.13.7/8.13.7) with ESMTP id kBEDDCnp002649 for ; Thu, 14 Dec 2006 14:13:12 +0100 (CET) Received: from mail.inf.tu-dresden.de ([127.0.0.1]) by localhost (mail.inf.tu-dresden.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29296-10 for ; Thu, 14 Dec 2006 14:13:11 +0100 (CET) Received: from [10.1.11.69] (p54B34FFC.dip0.t-ipconnect.de [84.179.79.252]) (authenticated bits=0) by mail.inf.tu-dresden.de (8.13.7/8.13.7) with ESMTP id kBED992O001289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 14 Dec 2006 14:09:29 +0100 (CET) Message-ID: <45814D28.6020403@inf.tu-dresden.de> Date: Thu, 14 Dec 2006 14:10:00 +0100 From: Eeri Kask User-Agent: Thunderbird 1.5.0.7 (X11/20061102) 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> In-Reply-To: <45777359.3040905@intel.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at inf.tu-dresden.de 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: Thu, 14 Dec 2006 13:19:42 -0000 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. 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? Momentarily I am not convinced it is a grub2 issue. Greetings, Eeri Kask