public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marcus D. Hanwell" <cryos@gentoo.org>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Drive asignments for sata drives
Date: Mon, 12 Mar 2007 18:16:13 +0000	[thread overview]
Message-ID: <200703121816.17379.cryos@gentoo.org> (raw)
In-Reply-To: <20070312172157.GE9602@v.igoro.us>

[-- Attachment #1: Type: text/plain, Size: 1842 bytes --]

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 were
> > 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=LABEL=myroot' 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=foo' or UUID='fooo-ooo-ooo..' in /etc/fstab, though.
>
I haven't encountered this before, but I thought the labels must have some 
use! That is certainly useful although I am now using RAID0/1/5 (depending up 
on partition) along with LVM2 and so they take care of most of this.

The main issue I see is the root= line in grub (or whatever you use) as I am 
guessing from other posts this doesn't work. I don't think it matters too 
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 go 
as my system fell flat on its face when I put a new drive in. Anyone know if 
the Gentoo kernel can boot using a label? Back to work anyway... Busy, busy, 
busy...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-03-12 18:21 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 16:39 [gentoo-amd64] Drive asignments for sata drives P.V.Anthony
2007-03-12 16:52 ` Olivier Crête
2007-03-12 17:00 ` Bob Sanders
2007-03-12 17:11   ` Marcus D. Hanwell
2007-03-12 17:21     ` dustin
2007-03-12 18:16       ` Marcus D. Hanwell [this message]
2007-03-12 17:53     ` [gentoo-amd64] " Bernhard Auzinger
2007-03-13  9:08       ` P.V.Anthony
2007-03-13 14:06         ` dustin
2007-03-13 17:31           ` Peter Humphrey
2007-03-13 18:33             ` dustin
2007-03-13 18:45             ` Duncan
2007-03-13 19:48               ` ducasse.isidore
2007-03-13 20:07                 ` Thomas Rösner
2007-03-15  1:35                 ` Florian D.
2007-03-15  2:18                   ` ducasse.isidore
2007-03-13 19:53               ` ducasse.isidore
2007-03-13 19:59                 ` dustin
2007-03-13 20:04                   ` David Pyke
2007-03-12 17:42 ` [gentoo-amd64] [OT] " Bob Slawson
2007-03-12 17:50   ` Bob Sanders

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200703121816.17379.cryos@gentoo.org \
    --to=cryos@gentoo.org \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox