[Bug 439538] Re: Grub2 don't provide a option for rename menuentry on /etc/default/grub

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 12:35:37 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: grub2 (Ubuntu)
       Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/439538

Title:
  Grub2 don't provide a option for rename menuentry on /etc/default/grub

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: grub2

  On grub2 you only can change a menuentry on /boot/grub/grub.cfg but this file is automatically created for update-grub. If you modify that file, you lose your custom configuration and the file says:
  #
  # DO NOT EDIT THIS FILE
  #
  # It is automatically generated by /usr/sbin/grub-mkconfig using templates
  # from /etc/grub.d and settings from /etc/default/grub
  #

  menuentry "Ubuntu, Linux 2.6.31-11-generic" {
          recordfail=1
          save_env recordfail
  	set quiet=1
  	insmod ext2
  	set root=(hd0,6)
  	search --no-floppy --fs-uuid --set 590c22cb-5c99-4270-a154-4e6df62d1b4c
  	linux	/boot/vmlinuz-2.6.31-11-generic root=UUID=590c22cb-5c99-4270-a154-4e6df62d1b4c ro locale=es_
  ES splash  
  	initrd	/boot/initrd.img-2.6.31-11-generic
  }

  
  The only file for grub2 customization is /etc/default/grub, but it don't have a option for change a menuentry like above.

  I propose put a option like:

  GRUB_MENUENTRY = ["Ubuntu, Linux 2.6.31-11-generic", "My custom name"]

  That var or array change the name of menuentry Ubuntu, Linux
  2.6.31-11-generic to "My custom name"

  ProblemType: Bug
  Architecture: i386
  Date: Wed Sep 30 20:17:48 2009
  DistroRelease: Ubuntu 9.10
  Package: grub2 1.97~beta3-1ubuntu6
  ProcEnviron:
   PATH=(custom, no user)
   LANG=es_ES.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
  SourcePackage: grub2
  Uname: Linux 2.6.31-11-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/439538/+subscriptions



More information about the foundations-bugs mailing list