LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /etc/grub.conf ?? (https://www.linuxquestions.org/questions/linux-newbie-8/etc-grub-conf-115010/)

hoffman 11-11-2003 07:48 PM

/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...

megaspaz 11-11-2003 07:54 PM

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.

Mathieu 11-11-2003 07:58 PM

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

hoffman 11-11-2003 08:18 PM

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...

megaspaz 11-11-2003 08:33 PM

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

hoffman 11-11-2003 08:47 PM

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.


All times are GMT -5. The time now is 06:18 AM.