[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Customizing Grub menus



On Wed 08 Dec 2021 at 12:16:49 (-0500), songbird wrote:
> Richard Owlett wrote:
> ...
> > I see no reference for Grub being able to read a partition's label only 
> > its UUID.
> 
>   i don't use UUIDs (LABELS only) so i do this in /etc/default/grub:
> 
> =====
> # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
> GRUB_DISABLE_LINUX_UUID=true
> =====
> 
>   HTH

The effect on my system's grub.cfg is to turn all the lines that
looked like:

 linux /boot/vmlinuz-4.19.0-18-amd64 root=UUID=fedcbaff-1234-5678-ab90-ffee88771234 ro quiet

into:

 linux /boot/vmlinuz-4.19.0-18-amd64 root=/dev/sda4 ro quiet

and I don't see how that helps your using LABELs. (The last thing
I want is the kernel's "randomly" chosen device names.)

Or does this mean that the functionality for handling LABELs has been
added to the scripts in /etc/grub.d/, in which case I would be
questioning why it wasn't activated with:

  GRUB_ENABLE_LINUX_LABEL=true

rather than:

  GRUB_DISABLE_LINUX_UUID=true

Cheers,
David.


Reply to: