[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How ro tweak Grub2 menu
From: |
Narcis Garcia |
Subject: |
Re: How ro tweak Grub2 menu |
Date: |
Sun, 31 Dec 2017 19:17:33 +0100 |
No way to keep customized names when update-grub is applied?
(as GRUB1 did possible)
El 31/12/17 a les 16:19, Dale R. Worley ha escrit:
> Richard Owlett <address@hidden> writes:
>> I multi-boot among multiple configurations of Debian.
>> Each partition has a meaningful label.
>> Instead of (or in addition to) the device id (e.g./sda3) can the menu
>> display the partition's label (e.g. "Full Stretch")?
>
> Just manually edit the first argument of the "menuentry" lines in
> /boot/grub2/grub.cfg, which is the string that will be displayed in the
> menu. A typical line looks like this:
>
> menuentry 'Fedora 19 (3.14.27-100.fc19.x86_64) (Hobgoblin00-RootF19)' --class
> gnu-linux --class gnu --class os $menuentry_id_option
> 'osprober-gnulinux-/vmlinuz-3.14.27-100.fc19.x86_64--188c0958-d8f1-41dd-a64c-d7f468c80737'
> {
>
> which displays:
>
> Fedora 19 (3.14.27-100.fc19.x86_64) (Hobgoblin00-RootF19)
>
> Of course, (1) check your work carefully, (2) make a backup copy of
> grub.cfg before editing it, and (3) have Knoppix or some other rescue
> method available first.
>
> Dale
>
> _______________________________________________
> Help-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub
>