LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub 2 - settings (https://www.linuxquestions.org/questions/linux-newbie-8/grub-2-settings-4175502883/)

krchat 04-24-2014 03:38 PM

Grub 2 - settings
 
I have a multi-loading system with Linux and Windows 7, but I don't want to see menu on the screen, but have possibility to choose one of the system during boot. Can I do so?
Also I'd like to rename Windows 7 to another name, for instance - "Old testing system" etc.

yancek 04-24-2014 05:59 PM

Take a look at post #2 at the ubuntu forums site below. It explains the GRUB_HIDDEN_TIMEOUT feature. If you don't see the menu, you will need to remember which entry is which so you can arrow down to the one you want. Can't see the point in this but it's your computer.

http://ubuntuforums.org/showthread.php?t=1280943

If you want to rename windows 7 in the Grub menu, just change its menuentry line in double quotes. I'm not sure why you would want to do this if you don't want to be see the menu?

krchat 04-25-2014 04:29 AM

Quote:

Originally Posted by yancek (Post 5158693)

If you want to rename windows 7 in the Grub menu, just change its menuentry line in double quotes. I'm not sure why you would want to do this if you don't want to be see the menu?

I think about ways to make my task either hide or rename it. Where can I change its menuentry line? In /boot/grub/grub.cfg file? But it'll change after upgrade Grub again.

yancek 04-25-2014 09:54 AM

Change the name to whatever you want on the windows menuentry line as in the example below, the part in double quotes. If you do not run update-grub and reboot you should see the entry. It should not change if you do not run update-grub or do a system update. If you want it to be permanent, copy the new windows entry to the /etc/grub.d/40_custom file and save it, then run update-grub.

Quote:

menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {


All times are GMT -5. The time now is 12:20 AM.