Chí-Thanh Christopher Nguyễn posted on Sun, 12 Aug 2012 15:43:02 +0200 as
excerpted:

> Rich Freeman schrieb:
>> So, I could see how many linux users might think that interpreting a
>> complex root= parameter is a kernel function, when it is really just
>> the fact that they use an initramfs.
>> 
>> If somebody is running with root=LABEL=foo or something like that
>> without an initramfs I'll happily stand corrected.
> 
> If your disk is GPT partitioned, then you can use root=PARTUUID=...
> without initramfs.
> Note that PARTUUID is the partition UUID, not the filesystem UUID.

Thanks.

Note that the btrfs list discussion was in the context of gpt partlabels 
(and that I specifically said I don't know if the kernel takes all such 
assignments in root= or just that in the discussion), so it's quite 
possible only partlabels and partuuids are accepted, as these are found 
in the gpt partition table itself, which the kernel must know how to 
parse in general, so teaching it to parse and honor these probably 
wasn't /that/ much more work than teaching it to parse the table but 
ignore them.

And the gpt handling code is new enough, it may have simply been added 
with/for it, without touching the legacy mbr code.

Another variable may be bootloader.  Grub2 has legacy linux16 loader 
support, as well as 32-bit "linux" support.  Between that and the fact 
that it was designed to handle both BIOS and EFI systems, it's quite 
possible that the legacy 16-bit linux loader protocol doesn't support 
these features, while the 32-bit (and presumably 64-bit EFI) kernel 
loader protocol does.  I've no idea what grub-legacy used, but it 
wouldn't surprise me if it was the legacy 16-bit loader protocol, and 
that feeding root=PARTID= won't work for it but will with the 32-bit 
loader grub2 defaults to.

I really should try it one of these days and know from personal 
experience, but in this case, it really /is/ easier to just talk than to 
do, since trying it requires rebooting, so I can't simply try it in 
another window while I keep this post open, waiting on the result...

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


Reply via email to