LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 11-11-2003, 08:48 PM   #1
hoffman
Member
 
Registered: Nov 2003
Location: Georgia
Distribution: Redhat 9
Posts: 43

Rep: Reputation: 15
/etc/grub.conf ??


I'm trying to open this file to change the default boot and the name of XP at the prompt. Nautilus won't let me open it. Says "no installed viewer"

I'm searching the archives...
 
Old 11-11-2003, 08:54 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
are you sure it's there in /etc? mine's in /boot/grub/grub.conf ... anyway, try right-clicking on the file and choosing a text editor to open it with.
 
Old 11-11-2003, 08:58 PM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
In order to edit the grub.conf file, you will have to login as root.
I suggest doing this from the command line and editing the file using pico (text editor).

Open a terminal window and type:
Code:
su -
pico /boot/grub/grub.conf
/etc/grub.conf is a soft link that points to /boot/grub/grub.conf
 
Old 11-11-2003, 09:18 PM   #4
hoffman
Member
 
Registered: Nov 2003
Location: Georgia
Distribution: Redhat 9
Posts: 43

Original Poster
Rep: Reputation: 15
thanks. When I type in the line at the command line it gives me a prompt
>
but nothing that I can edit.
I run a web page from scratch with all HTML but that's about the extent of my programming.
I got RH9 to learn a little bit more.
I'm still googling it over...
 
Old 11-11-2003, 09:33 PM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
when you type what line? Mathieu showed you 2 commands to type in.

1. su -
<enter root password>
2a. pico /boot/grub/grub.conf

or if you want to use another text editor:

2b. kwrite /boot/grub/grub.conf
 
Old 11-11-2003, 09:47 PM   #6
hoffman
Member
 
Registered: Nov 2003
Location: Georgia
Distribution: Redhat 9
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks guys. I'm reading some info on commands and using the command line.
I'm just so used to Windows but this is a lot more rewarding...
Hard to believe I actually got my machine to dual boot but it felt good when I did.

I'm running Redhat 9. Everything I read pointed me towards Mandrake Discovery but they had RH at Office Depot soooo...

Thanks again.
 
  


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
nano -w /boot/grub/grub.conf Tbagz Linux - Newbie 2 10-31-2005 07:42 PM
grub refuses to read grub.conf 0pal_t0ad Linux - Newbie 2 03-27-2005 05:40 AM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 09:22 PM
commands work with interactive grub, but not in grub.conf richardg Linux - Newbie 2 11-23-2003 05:36 AM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM


All times are GMT -5. The time now is 10:13 PM.

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