On Tue, Oct 4, 2011 at 9:29 AM, Grant Edwards <grant.b.edwa...@gmail.com> wrote:
> On 2011-10-04, Michael A. Koerber <m...@ll.mit.edu> wrote:
>
>> I have found that use of LABEL=FOO in /etc/fstab doesn't always solve
>> the problem of disks being reassigned during boot.
>
> That's because fstab isn't used during boot.  What "root=" setting is
> passed to your kernel by your bootloader?  Is that using /dev/sda1 or
> a label?  In order to use a label, I _think_ you need some special magic
> in an initrd (at least that used to be the case according to what I've
> googled).

There is something on the gentoo wiki about doing it in an initramfs:

http://en.gentoo-wiki.com/wiki/Initramfs#UUID.2FLABEL_Root_Mounting

(I've never tried it)

Reply via email to