Jordan Uggla wrote:
On Tue, Apr 29, 2014 at 6:42 AM, Richard Owlett <rowl...@cloud85.net> wrote:
During Debian installs I use manual partitioning.
I give the partition being created a meaningful label.
I would like that label to appear in Grub's menu.
How?
E.G.
I currently have 4 flavors of Debian Wheezy installed (different desktops).
Currently the menu shows long effectively meaningless string followed by
"cryptic" partition designator (sa6, sa7, sa8, or sa9). I would like the
designator to be meaningful (i.e. GNOME, KDE, LXDE, or XFCE).
TIA
Modify GRUB_DISTRIBUTOR= in each installation's /etc/default/grub ,
whatever string you give for GRUB_DISTRIBUTOR will be used in the menu
entry titles.
http://www.gnu.org/software/grub/manual/grub.html#Simple-configuration
That doesn't accomplish my goal.
I've reread .../manual/grub.html. I suspect GRUB2 cannot, perhaps
by design, do what I want.
I wish, that after adding/deleting an OS, update-grub yield a
grub.cfg of form:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Label_sda1' --class debian --class gnu-linux --class
gnu --class os {
...
set root='(hd0,msdos1)'
...
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Label_sda6" {
...
set root='(hd0,msdos6)'
...
}
menuentry "Label_sda7" {
...
set root='(hd0,msdos7)'
...
}
menuentry "Label_sda8" {
...
set root='(hd0,msdos8)'
...
}
menuentry "Label_sda9" {
...
set root='(hd0,msdos9)'
...
}
### END /etc/grub.d/30_os-prober ###
There are three implied restrictions:
1. the first OS listed on menu shall be the OS on /dev/sda1
2. the OS on /dev/sda1 shall be the default
3. all additional OS shall be in partition number order
_______________________________________________
Help-grub mailing list
Help-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/help-grub