Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] ESATA drive changes the root device -- how to deal with it?
Date: Thu, 11 Jun 2009 18:12:58
Message-Id: C1D7D740-875C-49AB-B8F0-8E63F935A62A@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] [OT] ESATA drive changes the root device -- how to deal with it? by Volker Armin Hemmann
1 On 11 Jun 2009, at 16:37, Volker Armin Hemmann wrote:
2 > On Donnerstag 11 Juni 2009, walt wrote:
3 >> ...
4 >> The problem is that I also have a plug-in ESATA docking station,
5 >> which
6 >> is not always powered on. When it *is* powered on, my kernel names
7 >> the
8 >> disk /dev/sda, and that forces the root device to be named /dev/sdb
9 >> instead of sda. Crashing ensues during bootup.
10 >> ...
11 >> I've tried using a disk label in fstab instead of a device name,
12 >> but the
13 >> problem is that the kernel mounts the wrong partition before it has a
14 >> chance to read fstab.
15 >> ...
16 > afaik you can use labels in grubtoo.
17
18 I believe you need an initrd/initramfs in order to do so.
19
20 See Neil Bothwick's first post:
21 http://www.mail-archive.com/gentoo-user@l.g.o/msg81584.html
22
23 Stroller.

Replies