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 1Egz9I-00023B-Nr for garchives@archives.gentoo.org; Tue, 29 Nov 2005 06:39:33 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAT6cdPR013523; Tue, 29 Nov 2005 06:38:39 GMT Received: from web31713.mail.mud.yahoo.com (web31713.mail.mud.yahoo.com [68.142.201.193]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAT6YjTD014877 for ; Tue, 29 Nov 2005 06:34:46 GMT Received: (qmail 69008 invoked by uid 60001); 29 Nov 2005 06:34:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=erDFLxX1DOFx0jys9WgwmIP/SMqs51sV+Jct7t9KYo8NDP/0nQpGZ89yIcZQGlKtlX0BLN7YCgut1lwp7/vv+MTq5DB0Uc7JyLt3vpy0ojtYsUNdyyRyc/7o5cI2108HElF6m703Hq/zMiBj0INoIgK02V1mA1/cdYV65unKkzE= ; Message-ID: <20051129063445.69006.qmail@web31713.mail.mud.yahoo.com> Received: from [64.228.98.127] by web31713.mail.mud.yahoo.com via HTTP; Mon, 28 Nov 2005 22:34:45 PST Date: Mon, 28 Nov 2005 22:34:45 -0800 (PST) From: maxim wexler Subject: Re: [gentoo-user] grub on a SATA drive To: gentoo-user@lists.gentoo.org In-Reply-To: <200511250432.11139.Petr.Kocmid@project-bhairava.org> 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: 8bit X-Archives-Salt: 39a1aeb9-ed86-4a98-8399-fe5dd203498d X-Archives-Hash: 70218ba6f78acc62388baef91655547b --- Petr Kocmid wrote: > 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 is this a gentoo box? > > Also, I did grub setup on SATA MBS what's "MBS"? > from booted grub shell, not in linux, > because what it sees is what it gets then. > > Hope this may help you. Thanks for your suggestions. Here's where things stand: I did a fresh 2005.1 stage3 install onto the SATA drive without a hitch. I removed the ide drive, so there's only one hd. In dmesg the drive comes up as /dev/sda sda1(Macro$haft) sda2(/boot) < sda5(swap) sda6(/) sda7(home)> When I boot w/ the grub floppy I do: grub> root (hd0,1) Fs is ext2, part type 0x83 grub> kernel /vmlinuz root=/dev/sda6 [Linux-bzImage, setup=0x120, size 0x1463b31] ...so far, so good... grub> boot and get: ...VFS: Cannot open root device "sda6" or unknown block (0,0) Please append correct "root" boot option Kernel Panic-not syncing: VFS: Unable to mount root fs on unknown block (0,0) So I'm at a loss. The grub commands went alright. Wouldn't I get an error if one of the commands was wrong? Don't know what's meant by "unknown block (0,0)". Is it saying it's trying to mount / on /dev/sda1? Doesn't make sense. WinXP occupies 20G at /dev/sda1 and it boots OK. LBA is activated and this is a brand new, modern drive on a fairly up-to-date Asus, K8N, skt 754 mobo, so it can't be that old BIOS drive limit from the 90s. -mw > > -- > Petr > -- > gentoo-user@gentoo.org mailing list > > __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ -- gentoo-user@gentoo.org mailing list