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 03-19-2014, 05:51 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 451

Rep: Reputation: 29
Smile When you edit GRUB is it permanent?


when the system starts
and you press escape to get to the GRUB menu
then e to edit
and b to boot...are those changes permanent? or is it just for that session? do you have to make changes in Grubd.conf or something for changes to affect every boot up?

thanks
 
Old 03-19-2014, 06:21 PM   #2
redd9
Member
 
Registered: Nov 2013
Location: Canada
Distribution: Ubuntu
Posts: 80
Blog Entries: 4

Rep: Reputation: 42
If you make a change by pressing e to edit, it will only last until your next reboot. To make a permanent change, run the command
Code:
sudo gedit /boot/grub/menu.lst
substituting gedit with your favourite editor.
Source: http://grumpymole.blogspot.ca/2007/0...arameters.html
 
Old 03-19-2014, 06:26 PM   #3
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 451

Original Poster
Rep: Reputation: 29
thanks red9
 
Old 03-19-2014, 06:42 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by redd9 View Post
To make a permanent change, run the command
Code:
sudo gedit /boot/grub/menu.lst
substituting gedit with your favourite editor.
Source: http://grumpymole.blogspot.ca/2007/0...arameters.html
Only true for the deprecated and mostly unused Grub 1, aka Grub Legacy. With the newer Grub 2 you don't edit the configuration file directly, but you edit /etc/default/grub and the files in /etc/grub.d and after that use grub-mkconfig to create a new config file.
 
1 members found this post helpful.
Old 03-19-2014, 06:49 PM   #5
redd9
Member
 
Registered: Nov 2013
Location: Canada
Distribution: Ubuntu
Posts: 80
Blog Entries: 4

Rep: Reputation: 42
Quote:
Originally Posted by TobiSGD View Post
Only true for the deprecated and mostly unused Grub 1, aka Grub Legacy. With the newer Grub 2 you don't edit the configuration file directly, but you edit /etc/default/grub and the files in /etc/grub.d and after that use grub-mkconfig to create a new config file.
Ahh yes I'm sorry, this is correct.
 
Old 03-19-2014, 07:04 PM   #6
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 451

Original Poster
Rep: Reputation: 29
so much to learn...im gonna be sick!!!
 
Old 03-20-2014, 12:34 PM   #7
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,165

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
With my Grub 1 (CentOS) it's /boot/grub/grub.conf. I for one will keep with Grub 1 as long as it's available.
 
  


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
[SOLVED] How come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14? trien27 Fedora 4 01-22-2011 05:02 PM
[SOLVED] no grub/defaults/grub to edit on triole-boot system EDDY1 Linux - Software 21 10-31-2010 04:10 PM
Make a change in Grub permanent? iwtbf Linux - Newbie 6 01-23-2010 09:19 AM
grub can find grub.conf, how do i make it permanent? lankydenny Linux - Newbie 8 06-13-2006 07:47 PM
GRUB-settings: are they permanent? JZL240I-U Linux - Software 21 10-13-2005 04:06 AM


All times are GMT -5. The time now is 07:02 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