From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EfUUv-0007AB-Pf for garchives@archives.gentoo.org; Fri, 25 Nov 2005 03:43:42 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAP3gdFE002829; Fri, 25 Nov 2005 03:42:39 GMT Received: from explorer.cz (mail.explorer.cz [81.0.233.73]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAP3bPqT018412 for ; Fri, 25 Nov 2005 03:37:25 GMT Received: (qmail 9758 invoked by uid 64017); 25 Nov 2005 03:37:25 -0000 Received: from Petr.Kocmid@project-bhairava.org by mail by uid 64011 with qmail-scanner-1.22 (avgd: 7.0. spamassassin: 2.63. Clear:RC:0(85.70.218.199):SA:0(0.0/5.0):. Processed in 0.171515 secs); 25 Nov 2005 03:37:25 -0000 X-Spam-Status: No, hits=0.0 required=5.0 Received: from unknown (HELO ?10.0.0.1?) (petr.kocmid@project-bhairava.org@85.70.218.199) by mail.explorer.cz with SMTP; 25 Nov 2005 03:37:25 -0000 From: Petr Kocmid To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] grub on a SATA drive Date: Fri, 25 Nov 2005 04:32:11 +0100 User-Agent: KMail/1.8.3 References: <20051124163137.15366.qmail@web31706.mail.mud.yahoo.com> In-Reply-To: <20051124163137.15366.qmail@web31706.mail.mud.yahoo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511250432.11139.Petr.Kocmid@project-bhairava.org> X-Archives-Salt: 96e1b8ba-dcb8-43a0-8bbd-1b28c34e5a38 X-Archives-Hash: b190fab3b53270450fd7c85c730d6f81 On Thursday 24 of November 2005 17:31, maxim wexler wrote: > But what do I call it? hd0 and hd1 are taken. It may well depend on your chipset configuration, number of actually connected drives and bios boot settings. On my board, there are 2 PATA and 1 SATA channels on the same controller. In linux kernel, PATA is hda and hdb, SATA is hdc, no matter what drives are actually connected. When i migrated my installation from PATA hda to SATA hdc, grub detected hda as hd0 and hdc as hd1 before, but once I removed parallel drive, SATA become hd0 in grub (but still hdc in linux), since it is first (boot) bios drive. So I needed to fix grub config to hd0 and change a root= kernel parameter to hdc, since grub insists hd0 should be hda even if there is no drive connected on PATA: root (hd0,0) kernel /boot/bzImage-2.6.10 root=/dev/hdc1 Also, I did grub setup on SATA MBS from booted grub shell, not in linux, because what it sees is what it gets then. Hope this may help you. -- Petr -- gentoo-user@gentoo.org mailing list