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.62) (envelope-from ) id 1HQp97-0002wV-Oc for garchives@archives.gentoo.org; Mon, 12 Mar 2007 18:21:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l2CIGMKL021799; Mon, 12 Mar 2007 18:16:22 GMT Received: from platinum.cryos.net (platinum.cryos.net [195.242.214.61]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l2CIGMV0021788 for ; Mon, 12 Mar 2007 18:16:22 GMT Received: from localhost (localhost [127.0.0.1]) by platinum.cryos.net (Postfix) with ESMTP id D205C12CFE7 for ; Mon, 12 Mar 2007 18:16:21 +0000 (GMT) X-Virus-Scanned: amavisd-new at cryos.net Received: from platinum.cryos.net ([127.0.0.1]) by localhost (platinum.cryos.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id q4uowLlUDksd for ; Mon, 12 Mar 2007 18:16:18 +0000 (GMT) Received: from ns0.cryos.net (ns0.cryos.net [217.155.144.221]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by platinum.cryos.net (Postfix) with ESMTP id 10B78374B for ; Mon, 12 Mar 2007 18:16:18 +0000 (GMT) From: "Marcus D. Hanwell" To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Drive asignments for sata drives Date: Mon, 12 Mar 2007 18:16:13 +0000 User-Agent: KMail/1.9.6 References: <45F5823D.2080708@singnet.com.sg> <200703121711.08461.cryos@gentoo.org> <20070312172157.GE9602@v.igoro.us> In-Reply-To: <20070312172157.GE9602@v.igoro.us> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1298221.lqqlak3i32"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200703121816.17379.cryos@gentoo.org> X-Archives-Salt: b4ba361c-5da7-47e5-967d-fcd752314cb3 X-Archives-Hash: 3c9233cc9317c0725f1a9cee1711e6c8 --nextPart1298221.lqqlak3i32 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 12 March 2007 17:21:57 dustin@v.igoro.us wrote: > On Mon, Mar 12, 2007 at 05:11:03PM +0000, Marcus D. Hanwell wrote: > > I had the same problem and despite my existing drive being connected to > > what was labelled on the motherboard as SATA1 it in fact was not! Trial > > and error gave me the correct one... It would be useful if the nodes we= re > > more fixed but most systems do not change after initial set up and this > > situation can be fixed quite easily. > > It's worth noting that the "correct" way to do this is now with fs > labels or UUIDs. Personally, I use LVM for everything but > boot/root/swap, and that uses UUIDs internally, so I don't have much > issue (it would be sweet if Gentoo could easily boot from LVM, but that > requires an initrd). > > Anyway, I'm not too sure how to indicate a UUID to the kernel for its > root fs. There's a RedHat kernel patch that allows you to specify e.g., > 'root=3DLABEL=3Dmyroot' on the kernel cmdline, but I'm not sure if that's > available in the stock Gentoo kernel, or if it supports UUIDs. > > You can use 'LABEL=3Dfoo' or UUID=3D'fooo-ooo-ooo..' in /etc/fstab, thoug= h. > I haven't encountered this before, but I thought the labels must have some= =20 use! That is certainly useful although I am now using RAID0/1/5 (depending = up=20 on partition) along with LVM2 and so they take care of most of this. The main issue I see is the root=3D line in grub (or whatever you use) as I= am=20 guessing from other posts this doesn't work. I don't think it matters too=20 much for me now as that is a RAID5 partition too. In this age of SATA drives using labels, uuids etc is probably the way to g= o=20 as my system fell flat on its face when I put a new drive in. Anyone know i= f=20 the Gentoo kernel can boot using a label? Back to work anyway... Busy, busy= ,=20 busy... --nextPart1298221.lqqlak3i32 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) iD8DBQBF9ZjxzgRsaX1BF70RAsbUAJ9B/eWyPnMkV/65bKQBE6V5wkIt9ACghe8q UWWGYfIbEAjCkTSgU1TYuwo= =kmUv -----END PGP SIGNATURE----- --nextPart1298221.lqqlak3i32-- -- gentoo-amd64@gentoo.org mailing list