LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2014, 03:38 PM   #1
krchat
LQ Newbie
 
Registered: Dec 2012
Posts: 15

Rep: Reputation: Disabled
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.
 
Old 04-24-2014, 05:59 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,298

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
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?
 
Old 04-25-2014, 04:29 AM   #3
krchat
LQ Newbie
 
Registered: Dec 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post

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.
 
Old 04-25-2014, 09:54 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,298

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
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 {
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub settings!!!! hakmn Linux - Newbie 5 04-05-2009 05:30 PM
Grub/fstab settings Taevin Linux - General 2 09-04-2007 03:51 PM
Can XP overwrite boot/grub settings? onjoo SUSE / openSUSE 7 12-20-2005 11:19 PM
GRUB-settings: are they permanent? JZL240I-U Linux - Software 21 10-13-2005 03:06 AM
GRUB settings greg108 Linux - Newbie 2 08-18-2003 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration