[SOLVED] Renaming OS titles in the boot menu

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

[SOLVED] Renaming OS titles in the boot menu

Postby cloggyjohn on Wed Jan 11, 2012 3:17 am

Hi There,

I have a triple-boot system using Mint 9, Mint 12 and Zorin. In the boot menu the first two are specified as written but Zorin simply appears as Ubuntu. Can anyone tell me how to change this so that it appears as Zorin. I've read a GRUB2 manual but I'm afraid it's as clear as mud to me so words of one syllable please ( updating etc/grub/default to change the boot order, etc, has proved no problem but I can't see where to edit the titles ). Thanks in advance for your help.

John
Last edited by cloggyjohn on Thu Jan 12, 2012 4:24 pm, edited 1 time in total.
cloggyjohn
Level 1
Level 1
 
Posts: 21
Joined: Fri Jul 01, 2011 5:22 am

Linux Mint is funded by ads and donations.
 

Re: Renaming OS titles in the boot menu

Postby xenopeek on Wed Jan 11, 2012 6:02 pm

The titles are generated when you run update-grub, or grub-mkconfig.

IIRC, You can either disable os-prober (add "GRUB_DISABLE_OS_PROBER=true" to /etc/default/grub), to not automatically detect other operating systems, and then you configure them all manually in /etc/grub.d/40_custom, with whatever title you want. Then run update-grub afterwards to generate the new grub configuration with your titles.

The other option is to edit the file that is generated when you run update-grub, which is /boot/grub/grub.cfg. Look for the lines starting with "menuentry", enclosed in quotes on these lines are the titles as show in the grub menu. Note that if you change the titles here, whenever you do a update-grub (or when a new version of grub is installed) your changes will be overwritten.
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13678
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Renaming OS titles in the boot menu

Postby GeneC on Wed Jan 11, 2012 8:21 pm

Another option, if you prefer to use a GUI is to install "Grub Customizer"

http://www.webupd8.org/2010/11/grub-cus ... fault.html

Image

You can edit text to anything you want. (double click on text line to edit text)
Change boot order.
Change listing order.
Change colors, et.

I have used it for a while and its pretty nice.
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

LMDE (Cinnamon)
Debian (Gnome Shell 3.8.4 - Testing)
Siduction (XFCE -Debian SID)
Makulu 5 (XFCE-Testing)
User avatar
GeneC
Level 6
Level 6
 
Posts: 1461
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Re: Renaming OS titles in the boot menu

Postby cloggyjohn on Thu Jan 12, 2012 4:23 pm

Thanks GeneC, that was dead easy, just what I was looking for.
And, even though I didn't use his solution, thanks also to Vincent for taking the time to answer.

John
cloggyjohn
Level 1
Level 1
 
Posts: 21
Joined: Fri Jul 01, 2011 5:22 am


Return to Installation & Boot

Who is online

Users browsing this forum: Google Adsense [Bot], gramesy, RAB and 27 guests