LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-31-2004, 06:28 PM   #1
adamt56
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Rep: Reputation: 0
Smile How do you edit GRUB?


Would anyone be so kind to help a newbie edit GRUB. I thought I had figured it out but the only result I can get is "access denied", even when l logon as SU.

I am running Fedora Core 2.0

Thanks

 
Old 08-31-2004, 06:33 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,423

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
What are you using to edit the file?

You can use any text editor i.e.
emacs grub.conf
 
Old 08-31-2004, 10:57 PM   #3
adamt56
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Linux Terminal - - logging in as SU

the typing /boot/grub/grub.conf
 
Old 08-31-2004, 11:18 PM   #4
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 32
Hello and welcome to LQ!

Try:
su
Password: *******
joe /boot/grub/grub.conf


or
su
Password: *******
vi /boot/grub/grub.conf


Hope this helped!
Boby
 
Old 09-01-2004, 05:36 PM   #5
adamt56
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Neither of those methods worked. Any other suggestions?

Thanks : )
 
Old 09-01-2004, 05:44 PM   #6
berkay
Member
 
Registered: Mar 2004
Location: TR
Distribution: Gentoo 2004.2
Posts: 100

Rep: Reputation: 15
First you have to mount your boot partiton...
Code:
mount /boot
must mount your boot partition... Then you can edit grub.conf by
Code:
nano -w /boot/grub/grub.conf
or..
Code:
vi /boot/grub/grub.conf
Cheers...

berkay
 
Old 09-01-2004, 05:51 PM   #7
adamt56
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Original Poster
Rep: Reputation: 0
It's already mounted.
 
Old 09-01-2004, 08:48 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,423

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
/boot/grub/menu.lst (that is a small L)
or
/etc/grub.conf

One is a link to the other.

Also to search try:
whereis grub.conf

Last edited by michaelk; 09-01-2004 at 08:51 PM.
 
  


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 to edit grub.conf filosophem Red Hat 4 02-07-2004 04:04 AM
Trying to edit my grub mranderson Red Hat 1 11-25-2003 10:07 PM
edit grub rudey Linux - Newbie 1 09-18-2003 09:42 PM
edit grub digital bots Linux - Newbie 5 11-09-2002 01:09 AM
GRUB edit? walid97 Linux - Newbie 2 10-04-2002 01:07 PM

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

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