Public bug reported:

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

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
Grub2 don't provide a option for rename menuentry on /etc/default/grub
https://bugs.launchpad.net/bugs/439538
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to