[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Grant Edwards
On 2013-07-01, Grant Edwards grant.b.edwa...@gmail.com wrote: I've just recently run into a problem where sometimes when a machine boots, the kernel can't find init. This appears to be because my grub configuration line says root=/dev/sda5 and _sometimes_ the drive that contains my root

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Randolph Maaßen
2013/7/2 Grant Edwards grant.b.edwa...@gmail.com On 2013-07-01, Grant Edwards grant.b.edwa...@gmail.com wrote: I've just recently run into a problem where sometimes when a machine boots, the kernel can't find init. This appears to be because my grub configuration line says root=/dev/sda5

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Wang Xuerui
2013/7/2 Grant Edwards grant.b.edwa...@gmail.com: It looks like my options are: snip 5) For the drive with the root parition on it switch from a DOS parition table to a GPT partition table and use the root=PARTUUID=whatever kernel option. Switching to a GPT partition table sounds

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Daniel Frey
On 07/02/2013 07:23 AM, Grant Edwards wrote: On 2013-07-01, Grant Edwards grant.b.edwa...@gmail.com wrote: 2) Unplug or power down the firewire drive when booting. I had this problem on my Intel motherboard, and found out you can disable booting from external drives. Boot to removable

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Grant Edwards
On 2013-07-02, Randolph Maa?en r.maasse...@gmail.com wrote: 2013/7/2 Grant Edwards grant.b.edwa...@gmail.com It looks like my options are: [...] 5) For the drive with the root parition on it switch from a DOS parition table to a GPT partition table and use the

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Randolph Maaßen
2013/7/2 Grant Edwards grant.b.edwa...@gmail.com On 2013-07-02, Randolph Maa?en r.maasse...@gmail.com wrote: 2013/7/2 Grant Edwards grant.b.edwa...@gmail.com It looks like my options are: [...] 5) For the drive with the root parition on it switch from a DOS parition table to a

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Bruce Hill
On Tue, Jul 02, 2013 at 02:42:15PM +, Grant Edwards wrote: You don't need to switch to GPT for that. I have a DOS partitioned disk and blkid prints the LABEL and UUID for each partition. And you can pass those values to the kernel via the root= parameter? That still requires an

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Grant Edwards
On 2013-07-02, Daniel Frey djqf...@gmail.com wrote: On 07/02/2013 07:23 AM, Grant Edwards wrote: On 2013-07-01, Grant Edwards grant.b.edwa...@gmail.com wrote: 2) Unplug or power down the firewire drive when booting. I had this problem on my Intel motherboard, and found out you can

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Grant Edwards
On 2013-07-02, Bruce Hill da...@happypenguincomputers.com wrote: On Tue, Jul 02, 2013 at 02:42:15PM +, Grant Edwards wrote: You don't need to switch to GPT for that. I have a DOS partitioned disk and blkid prints the LABEL and UUID for each partition. And you can pass those values to

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Neil Bothwick
On Tue, 2 Jul 2013 15:16:15 + (UTC), Grant Edwards wrote: The PARTUUID= parition specifier format is handled directly by kernel code, so I don't see why it should require an initrd (unless the UUID values for MBR partitions aren't actually something the kernel knows about and are

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Neil Bothwick
On Tue, 2 Jul 2013 15:09:28 + (UTC), Grant Edwards wrote: I had this problem on my Intel motherboard, and found out you can disable booting from external drives. Boot to removable devices or similar in the BIOS. Failing that, changing the boot order so that the firewire/USB device is

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Grant Edwards
On 2013-07-02, Randolph Maa?en r.maasse...@gmail.com wrote: 2013/7/2 Grant Edwards grant.b.edwa...@gmail.com I still haven't figured out why my drives suddenly started getting discovered in varying orders. [...] It looks like my options are: [...] 5) For the drive with the root parition

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Neil Bothwick
On Tue, 2 Jul 2013 16:57:26 + (UTC), Grant Edwards wrote: IOW, it appears that the blkid program is either just making stuff up or its the filesystem UUID rather than the partition UUID. I suspect the latter, since I notice that blkid doesn't print a UUID for paritions that don't have

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Grant Edwards
On 2013-07-02, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 2 Jul 2013 16:57:26 + (UTC), Grant Edwards wrote: IOW, it appears that the blkid program is either just making stuff up or its the filesystem UUID rather than the partition UUID. I suspect the latter, since I notice that blkid

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Paul Hartman
On Tue, Jul 2, 2013 at 11:57 AM, Grant Edwards grant.b.edwa...@gmail.com wrote: All the references Google can find for me say that you have to use a GPT partition table if you want to specify a boot partition using root=PARTUUID=partition-uuid. Does the root=PARTUUID option work for you?

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Grant Edwards
On 2013-07-02, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Tue, Jul 2, 2013 at 11:57 AM, Grant Edwards grant.b.edwa...@gmail.com wrote: 5) For the drive with the root parition on it switch from a DOS parition table to a GPT partition table and use the root=PARTUUID=whatever

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Grant Edwards
On 2013-07-02, Randolph Maa?en r.maasse...@gmail.com wrote: 2013/7/2 Grant Edwards grant.b.edwa...@gmail.com On 2013-07-02, Randolph Maa?en r.maasse...@gmail.com wrote: 2013/7/2 Grant Edwards grant.b.edwa...@gmail.com It looks like my options are: [...] 5) For the drive with the root

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Grant Edwards
On 2013-07-02, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 2 Jul 2013 15:16:15 + (UTC), Grant Edwards wrote: The PARTUUID= parition specifier format is handled directly by kernel code, so I don't see why it should require an initrd (unless the UUID values for MBR partitions aren't

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Randolph Maaßen
2013/7/2 Grant Edwards grant.b.edwa...@gmail.com On 2013-07-02, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 2 Jul 2013 15:16:15 + (UTC), Grant Edwards wrote: The PARTUUID= parition specifier format is handled directly by kernel code, so I don't see why it should require an initrd

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Grant Edwards
On 2013-07-02, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 2 Jul 2013 15:09:28 + (UTC), Grant Edwards wrote: I had this problem on my Intel motherboard, and found out you can disable booting from external drives. Boot to removable devices or similar in the BIOS. Failing that,

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Paul Hartman
On Tue, Jul 2, 2013 at 3:27 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: Can you point to some documentation on how you can use root=PARTUID=partition-uuid with an DOS/MBR partition table? As Neil alluded to, you can use UUID with MBR (instead of PARTUUID and GPT). I have DOS/MBR

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Neil Bothwick
On Tue, 2 Jul 2013 20:40:20 + (UTC), Grant Edwards wrote: Next time I do an install, I think I'll try GPT... I can't think why any sane person would do otherwise. Who in their right mind would want to use a 30+year old format where any more than four partitions is a fragile kludge? :-O --

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-01 Thread Grant Edwards
On 2013-07-01, Alan McKinnon alan.mckin...@gmail.com wrote: On 01/07/2013 23:52, Grant Edwards wrote: I've just recently run into a problem where sometimes when a machine boots, the kernel can't find init. This appears to be because my grub configuration line says root=/dev/sda5 and

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-01 Thread Grant Edwards
On 2013-07-01, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Mon, Jul 1, 2013 at 4:52 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: I've just recently run into a problem where sometimes when a machine boots, the kernel can't find init. This appears to be because my grub

Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-01 Thread Canek Peláez Valdés
On Jul 1, 2013 9:45 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2013-07-01, Alan McKinnon alan.mckin...@gmail.com wrote: On 01/07/2013 23:52, Grant Edwards wrote: I've just recently run into a problem where sometimes when a machine boots, the kernel can't find init. This appears

[gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-01 Thread Grant Edwards
On 2013-07-02, Canek Pel??ez Vald??s can...@gmail.com wrote: On Jul 1, 2013 9:45 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: Those names depend only on the order in which devices are discovered, and that process has always been indeterminate. Really? I've been running Linux on a lot