Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-05 Thread Michael A. Koerber
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

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-05 Thread Florian Philipp
Am 05.10.2011 15:29, schrieb Michael A. Koerber: 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

[gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-05 Thread walt
On 10/05/2011 06:29 AM, Michael A. Koerber wrote: Just tried root=PARTUUID= failed. Checked my genblk.c and the changes don't appear in the 2.6.36 or 2.6.39 kernels on my system. When did (does) the PARTUUID syntax support get released? This is very obscure and confusing if you don't

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-05 Thread pk
On 2011-10-05 20:54, walt wrote: You might think, as I did, that PARTUUID stands for the UUID of the partition you're searching for -- not true :( PARTUUID stands for Partition Table UUID, which is entirely different from a Partition UUID. Clear as mud, eh? IMHO it does seem like a better

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-05 Thread Paul Hartman
On Wed, Oct 5, 2011 at 1:54 PM, walt w41...@gmail.com wrote: On 10/05/2011 06:29 AM, Michael A. Koerber wrote: Just tried root=PARTUUID=  failed.  Checked my genblk.c and the changes don't appear in the 2.6.36 or 2.6.39 kernels on my system. When did (does) the PARTUUID syntax support get

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-05 Thread Florian Philipp
Am 05.10.2011 20:54, schrieb walt: On 10/05/2011 06:29 AM, Michael A. Koerber wrote: Just tried root=PARTUUID= failed. Checked my genblk.c and the changes don't appear in the 2.6.36 or 2.6.39 kernels on my system. When did (does) the PARTUUID syntax support get released? This is

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread Michael A. Koerber
On Mon, 2011-10-03 at 15:03 -0400, Canek Peláez Valdés wrote: On Mon, Oct 3, 2011 at 11:49 AM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2011-10-03, Grant Edwards grant.b.edwa...@gmail.com wrote: Just recently I've run in to problems because my hard drives are not detected in a

[gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread Grant Edwards
On 2011-10-04, Walter Dnes waltd...@waltdnes.org wrote: On Mon, Oct 03, 2011 at 12:03:47PM -0700, Canek Pel??ez Vald??s wrote They have the advantage over UUID's in that you can set them and therefore can be human readable. Also, if you use a desktop environment, they look nice in file

[gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread Grant Edwards
On 2011-10-04, Adam Carter adamcart...@gmail.com wrote: You are right: for grub-legacy you need to use the old hd(x,y) thingy. Which i assume suffers from the same reassignment risk as the kernel's /dev/sdX naming that prompted this discussion. I don't know if that's true. I've never seen it

[gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread Grant Edwards
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

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread Spidey
On Tue, Oct 4, 2011 at 11:29, Grant Edwards grant.b.edwa...@gmail.comwrote: 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

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread Paul Hartman
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

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread Dale
Paul Hartman wrote: On Tue, Oct 4, 2011 at 9:29 AM, Grant Edwardsgrant.b.edwa...@gmail.com wrote: On 2011-10-04, Michael A. Koerberm...@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

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread Canek Peláez Valdés
On Tue, Oct 4, 2011 at 7:18 AM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2011-10-04, Walter Dnes waltd...@waltdnes.org wrote: On Mon, Oct 03, 2011 at 12:03:47PM -0700, Canek Pel??ez Vald??s wrote They have the advantage over UUID's in that you can set them and therefore can be human

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread bill.longman
You can use whatever you want whenever you want. Exactly. Just start naming them different birds or your favorite genus and species. Just pick something and stick with it. I don't know if you have enough room for Anas_platyrhynchos, but you get my drift.

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread Florian Philipp
Am 04.10.2011 16:47, schrieb Spidey: On Tue, Oct 4, 2011 at 11:29, Grant Edwards grant.b.edwa...@gmail.com mailto:grant.b.edwa...@gmail.com wrote: On 2011-10-04, Michael A. Koerber m...@ll.mit.edu mailto:m...@ll.mit.edu wrote: I have found that use of LABEL=FOO in /etc/fstab

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-04 Thread Walter Dnes
On Tue, Oct 04, 2011 at 05:59:57PM +0200, Florian Philipp wrote You cannot use labels with the root= parameters. That was provided as some kind of hack a few years ago but has been removed since. You either need to use an initramfs for labels or resort to UUIDs. See

[gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Grant Edwards
On 2011-10-03, Grant Edwards grant.b.edwa...@gmail.com wrote: Just recently I've run in to problems because my hard drives are not detected in a predictable order, so my fstab that mount /dev/sdb1 and /dev/sdc1 sometimes result in directory trees in the wrong places (/dev/sda seems consistent,

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Canek Peláez Valdés
On Mon, Oct 3, 2011 at 11:49 AM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2011-10-03, Grant Edwards grant.b.edwa...@gmail.com wrote: Just recently I've run in to problems because my hard drives are not detected in a predictable order, so my fstab that mount /dev/sdb1 and /dev/sdc1

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Paul Hartman
On Mon, Oct 3, 2011 at 2:03 PM, Canek Peláez Valdés can...@gmail.com wrote: On Mon, Oct 3, 2011 at 11:49 AM, Grant Edwards After a bit more googling, it looks like this is what disk labels are for.  Never used them before, but it looks like it's time to give them a go. They have the

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Michael Mol
On Mon, Oct 3, 2011 at 3:28 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Mon, Oct 3, 2011 at 2:03 PM, Canek Peláez Valdés can...@gmail.com wrote: They have the advantage over UUID's in that you can set them and therefore can be human readable. Also, if you use a desktop

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Canek Peláez Valdés
On Mon, Oct 3, 2011 at 12:28 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Mon, Oct 3, 2011 at 2:03 PM, Canek Peláez Valdés can...@gmail.com wrote: On Mon, Oct 3, 2011 at 11:49 AM, Grant Edwards After a bit more googling, it looks like this is what disk labels are for.  Never used

[gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Grant Edwards
On 2011-10-03, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Mon, Oct 3, 2011 at 2:01 PM, Florian Philipp li...@binarywings.net wrote: Am 03.10.2011 20:40, schrieb Grant Edwards: Just recently I've run in to problems because my hard drives are not detected in a predictable order, so my

[gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Grant Edwards
On 2011-10-03, Mick michaelkintz...@gmail.com wrote: On Monday 03 Oct 2011 20:01:16 Florian Philipp wrote: Am 03.10.2011 20:40, schrieb Grant Edwards: Just recently I've run in to problems because my hard drives are not detected in a predictable order, so my fstab that mount /dev/sdb1 and

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Neil Bothwick
On Mon, 3 Oct 2011 14:28:05 -0500, Paul Hartman wrote: They have the advantage over UUID's in that you can set them and therefore can be human readable. You can set the UUIDs yourself too, but I think they have to stick to the standard format. Also, if you use a desktop environment, they

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Walter Dnes
On Mon, Oct 03, 2011 at 12:03:47PM -0700, Canek Pel??ez Vald??s wrote They have the advantage over UUID's in that you can set them and therefore can be human readable. Also, if you use a desktop environment, they look nice in file managers. I assume that name clashes can be avoided by using

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Canek Peláez Valdés
On Mon, Oct 3, 2011 at 7:25 PM, Walter Dnes waltd...@waltdnes.org wrote: On Mon, Oct 03, 2011 at 12:03:47PM -0700, Canek Pel??ez Vald??s wrote They have the advantage over UUID's in that you can set them and therefore can be human readable. Also, if you use a desktop environment, they look

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Dale
Walter Dnes wrote: On Mon, Oct 03, 2011 at 12:03:47PM -0700, Canek Pel??ez Vald??s wrote They have the advantage over UUID's in that you can set them and therefore can be human readable. Also, if you use a desktop environment, they look nice in file managers. I assume that name clashes can

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Spidey
Windows gives partitions shorter UUID's too, so that's a non-standard thing on your /etc/fstab. I opted for LABELs. By the way, is it possible to use LABELs without and initrd? I'll start using an initrd before too long, I'll also mess with decorations, but for now, I'd like to keep my setup

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Canek Peláez Valdés
On Mon, Oct 3, 2011 at 9:54 PM, Spidey spide...@gmail.com wrote: Windows gives partitions shorter UUID's too, so that's a non-standard thing on your /etc/fstab. I opted for LABELs. By the way, is it possible to use LABELs without and initrd? I'll start using an initrd before too long, I'll

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Adam Carter
By the way, is it possible to use LABELs without and initrd? I'll start using an initrd before too long, I'll also mess with decorations, but for now, I'd like to keep my setup simple, no initrd. AND what bootloaders can use LABEL/UUID? Can grub's device.map use them?

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Canek Peláez Valdés
On Mon, Oct 3, 2011 at 10:02 PM, Adam Carter adamcart...@gmail.com wrote: By the way, is it possible to use LABELs without and initrd? I'll start using an initrd before too long, I'll also mess with decorations, but for now, I'd like to keep my setup simple, no initrd. AND what bootloaders

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Paul Hartman
On Tue, Oct 4, 2011 at 12:02 AM, Adam Carter adamcart...@gmail.com wrote: By the way, is it possible to use LABELs without and initrd? I'll start using an initrd before too long, I'll also mess with decorations, but for now, I'd like to keep my setup simple, no initrd. AND what bootloaders

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Canek Peláez Valdés
On Mon, Oct 3, 2011 at 10:10 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Tue, Oct 4, 2011 at 12:02 AM, Adam Carter adamcart...@gmail.com wrote: By the way, is it possible to use LABELs without and initrd? I'll start using an initrd before too long, I'll also mess with decorations,

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Adam Carter
You are right: for grub-legacy you need to use the old hd(x,y) thingy. Which i assume suffers from the same reassignment risk as the kernel's /dev/sdX naming that prompted this discussion. Looks I'll be moving to grub2.

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Canek Peláez Valdés
On Mon, Oct 3, 2011 at 10:25 PM, Adam Carter adamcart...@gmail.com wrote: You are right: for grub-legacy you need to use the old hd(x,y) thingy. Which i assume suffers from the same reassignment risk as the kernel's /dev/sdX naming that prompted this discussion. Looks I'll be moving to grub2.

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Florian Philipp
Am 04.10.2011 07:09, schrieb Canek Peláez Valdés: On Mon, Oct 3, 2011 at 10:02 PM, Adam Carter adamcart...@gmail.com wrote: By the way, is it possible to use LABELs without and initrd? I'll start using an initrd before too long, I'll also mess with decorations, but for now, I'd like to keep my

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Canek Peláez Valdés
On Mon, Oct 3, 2011 at 10:29 PM, Florian Philipp li...@binarywings.net wrote: Am 04.10.2011 07:09, schrieb Canek Peláez Valdés: On Mon, Oct 3, 2011 at 10:02 PM, Adam Carter adamcart...@gmail.com wrote: By the way, is it possible to use LABELs without and initrd? I'll start using an initrd