LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   How come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14? (http://www.linuxquestions.org/questions/fedora-35/how-come-i-cant-edit-boot-grub-grub-conf-or-boot-grub-menu-lst-in-fedora-14-a-856882/)

trien27 01-17-2011 02:48 PM

How come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14?
 
I'm trying to edit grub menu so I can add Windows XP to it.

I tried to edit grub.conf in Fedora 14 but it's impossible: every time it gives an error message:

(gedit:4676): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted (core dumped)

I can see it when I try
cat /boot/grub/grub.conf
but
gedit /boot/grub/grub.conf doesn't work.
Neither does
gedit /boot/grub/menu.lst

Thanks.

repo 01-17-2011 02:56 PM

Are you logged in as root in the terminal?
Try gksudo as user.
Or as user type
Code:

xhost +
then login as root and run
Code:

gedit /boot/grub/grub.conf
Or use vi or nano


Kind regards

trien27 01-17-2011 08:02 PM

Are you logged in as root in the terminal? Yes
Try gksudo as user.
I got this: bash: gksudo: command not found...

Or as user type
Code:

xhost +

then login as root and run
Code:

gedit /boot/grub/grub.conf

Or use vi or nano

Logged in as root, and ran gedit /boot/grub/grub.conf
Got this message:
(gedit:4888): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted (core dumped)

repo 01-18-2011 01:55 AM

Try:
open a terminal
Code:

su -
note the "-"
give your password
type
Code:

gedit /boot/grub/grub.conf
If this fails, type
Code:

vi /boot/grub/grub.conf
Kind regards

trien27 01-22-2011 04:02 PM

RE:
 
Try:
open a terminal

Code:

su -

note the "-"
give your password
type

Code:

gedit /boot/grub/grub.conf


Thanks. That worked for me.


All times are GMT -5. The time now is 08:46 PM.