public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Can't find init due to inconsistent drive order
Date: Tue, 2 Jul 2013 20:27:15 +0000 (UTC)	[thread overview]
Message-ID: <kqvd33$h1g$1@ger.gmane.org> (raw)
In-Reply-To: CAEH5T2P5uKznHJigQ03-ajuUtAYdVc_2b9QPLVyMGYD0pinGpQ@mail.gmail.com

On 2013-07-02, Paul Hartman <paul.hartman+gentoo@gmail.com> wrote:
> On Tue, Jul 2, 2013 at 11:57 AM, Grant Edwards
><grant.b.edwards@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> kernel option.
>>>
>>> You don't need to switch to GPT for that.
>>
>> 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?
>>
>> 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 partition table and my kernel commandline looks
> like:
>
> root=UUID=1d21fa55-0fa9-4d43-8d41-8b4193900efa ro log_buf_len=1M quiet
> rootfstype=ext4 raid=noautodetect
>
> (along with an initramfs)

Yes, we've already discussed that if you have an initrd (or
initramfs), and an 'init' program that handles it, you can use
filesystem labels and filesystem uuids.

The option we were discussing in the posting to which you replied is
that of using the root=PARTUUID method which is handled directly by
the kernel.  I said that requires switching from MBR to GPT, and was
told "You don't need to switch to GPT for that." The evidence for that
last statement seemed to be the fact the 'blkid' command prints out
filesystem UUIDs.

I tried using root=PARTUUID= with an MBR and the UUID values printed
by 'blkid': it didn't work.  I even modified the kernel to show the
kernel's partition UUIDs that were being compared against.

I still maintain that you _do_ need to switch to GPT to use
root=PARTUUID but would welcome any evidence or documentation that
indicates otherwise.

-- 
Grant Edwards               grant.b.edwards        Yow! The Korean War must
                                  at               have been fun.
                              gmail.com            



  reply	other threads:[~2013-07-02 20:27 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-01 21:52 [gentoo-user] Can't find init due to inconsistent drive order Grant Edwards
2013-07-01 22:54 ` Paul Hartman
2013-07-02  2:48   ` [gentoo-user] " Grant Edwards
2013-07-01 22:57 ` [gentoo-user] " Alan McKinnon
2013-07-02  2:44   ` [gentoo-user] " Grant Edwards
2013-07-02  2:53     ` Canek Peláez Valdés
2013-07-02  3:00       ` Grant Edwards
2013-07-02  9:14   ` [gentoo-user] " Stroller
2013-07-02 14:23 ` [gentoo-user] " Grant Edwards
2013-07-02 14:30   ` Randolph Maaßen
2013-07-02 14:42     ` Grant Edwards
2013-07-02 14:58       ` Randolph Maaßen
2013-07-02 20:36         ` Grant Edwards
2013-07-02 15:08       ` Bruce Hill
2013-07-02 15:16         ` Grant Edwards
2013-07-02 15:25           ` Neil Bothwick
2013-07-02 20:38             ` Grant Edwards
2013-07-02 20:43               ` Randolph Maaßen
2013-07-02 16:57     ` Grant Edwards
2013-07-02 17:19       ` Neil Bothwick
2013-07-02 17:46         ` Grant Edwards
2013-07-02 19:07       ` Paul Hartman
2013-07-02 20:27         ` Grant Edwards [this message]
2013-07-02 22:30           ` Paul Hartman
2013-07-02 14:34   ` Wang Xuerui
2013-07-02 14:42   ` Daniel Frey
2013-07-02 15:09     ` Grant Edwards
2013-07-02 15:21       ` Neil Bothwick
2013-07-02 20:40         ` Grant Edwards
2013-07-02 23:35           ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='kqvd33$h1g$1@ger.gmane.org' \
    --to=grant.b.edwards@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox