On Monday 12 March 2007 17:21:57 [EMAIL PROTECTED] 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: pgpRN350x7lt2.pgp
Description: PGP signature

Reply via email to