View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-25-2005, 11:16 PM   #16
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,142

Rep: Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262

Originally posted by earth.hero
im really sorry but I still cant edit that file.
I tried to log on as root but sum how it's not working.
Can any1 plz show me how to do it?
What's the problem;
- that you can't login as root,
- that you can't edit (and save) menu.lst, or
- on reboot, you don't see any changes ???.

From a console/terminal enter:
ls -l /boot/grub
and post the output back here.
Old 03-26-2005, 09:56 AM   #17
LQ Newbie
Registered: Jan 2005
Distribution: Fedora Core 3, Mandrake 10.1
Posts: 16

Rep: Reputation: 0
im really sorry but I still cant edit that file.
I tried to log on as root but sum how it's not working.
Can any1 plz show me how to do it?
You're going to have to tell us what error message you get. Doing the following *will* allow you to edit the file you want to edit:

- Log in as root; type "root" in the username: field and your root password (if you have one) in the password: field. If you don't have one, try hitting Enter. You should see a # prompt.

- Now type ls -la /boot/grub

- You should see either grub.conf or menu.lst in the list.

- Type vi grub.conf or vi menu.lst. This will show you what's in the file. type "i" to edit, and when you're done and satisfied with changes you've made, hit Esc, then : (a colon), then type wq!

- If you can't edit grub or menu.lst, let us know what error message you get. If you have insufficient permissions, you could try chmod 777 <filename>.
Old 03-26-2005, 10:15 AM   #18
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You might battle with vi as an editor. If you have a kde dsektop then go K ->System and look for File manager on the menu. It will ask for root password. Once in there use the folder icon on the left and open up the directory tree and go to /boot/grub and look for grub.conf or menu.lst and use something like kwarite to edit the file.


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
Right way to edit /boot/grub/menu.lst ? eeried Linux - Software 2 02-07-2007 08:59 AM
How to edit /boot/grub/menu.lst of the host satimis Linux From Scratch 1 09-25-2005 07:21 AM
need to access /boot/grub/menu.lst and /boot/grub/ neouto Linux - Newbie 8 09-04-2005 11:45 AM
/boot/grub/menu.lst gets re-written by apt-get..NOT COOL terrapin24h Ubuntu 2 07-04-2005 09:14 AM
GRUB menu.lst for Fedora and Mandrake Dual boot the_padre Linux - Newbie 3 03-15-2005 01:21 AM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration