bug-grub
[Top][All Lists]
Advanced

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

[bug #28581] Add machine name to generated menuentry names


From: Greg Tarsa
Subject: [bug #28581] Add machine name to generated menuentry names
Date: Wed, 13 Jan 2010 02:59:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7

URL:
  <http://savannah.gnu.org/bugs/?28581>

                 Summary: Add machine name to generated menuentry names
                 Project: GNU GRUB
            Submitted by: tarsa
            Submitted on: Wed 13 Jan 2010 02:58:59 AM GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Greg Tarsa
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 1.97
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

The new grub provides a lot of good features, but I would like to see it
provide the machine name/arch as part of the automatically generated menu
entries.  My system is a multi-boot machine with multiple versions of 32 and
64-bit Ubuntu running on it.  The currently generated menu lists do not
provide any way to tell which are which.

Some minor changes to /etc/grub.d/10_linux fix this. I have attached a patch
file which has proposed changes.

Here is an example.  Before the change, all the generated menu entries look
the same: which are the 32 and which are the 64 bit entries?

Ubuntu, Linux 2.6.31-17-generic
Ubuntu, Linux 2.6.31-17-generic (recovery mode)
Ubuntu, Linux 2.6.31-16-generic
Ubuntu, Linux 2.6.31-16-generic (recovery mode)
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Windows Vista (loader) (on /dev/sda1)
Ubuntu, Linux 2.6.31-17-generic (on /dev/sda6)
Ubuntu, Linux 2.6.31-17-generic (recovery mode) (on /dev/sda6)
Ubuntu, Linux 2.6.31-15-generic (on /dev/sda6)
Ubuntu, Linux 2.6.31-15-generic (recovery mode) (on /dev/sda6)

Once the 10_linux is patched and update-grub is run from both systems, the
list looks like this:

Ubuntu-i686, Linux 2.6.31-17-generic
Ubuntu-i686, Linux 2.6.31-17-generic (recovery mode)
Ubuntu-i686, Linux 2.6.31-16-generic
Ubuntu-i686, Linux 2.6.31-16-generic (recovery mode)
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Windows Vista (loader) (on /dev/sda1)
Ubuntu-x86_64, Linux 2.6.31-17-generic (on /dev/sda6)
Ubuntu-x86_64, Linux 2.6.31-17-generic (recovery mode) (on /dev/sda6)
Ubuntu-x86_64, Linux 2.6.31-15-generic (on /dev/sda6)
Ubuntu-x86_64, Linux 2.6.31-15-generic (recovery mode) (on /dev/sda6)





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 13 Jan 2010 02:58:59 AM GMT  Name: grub2.10_linux.patch  Size: 1kB 
 By: tarsa
Patches to add machine name to GRUB menuentries for Linux
<http://savannah.gnu.org/bugs/download.php?file_id=19478>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28581>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]