Richard Owlett <[email protected]> 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
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub