anyone know how to edit the /boot/grub/menu.lst? plzz help
I cannot edit the /boot/grub/menu.lst.I just want to change sumthing.plzz help me:scratch:
|
Why can't you edit it? Are you logged in as root? What message do you get when you try to edit it?
|
Why? You need to be the root user to do this. Become root, then edit it. When you save the file it should be automatically written to the mbr.
|
Not to be as a$$, but I just wanted to correct TigerOC slightly. When the grub config file is saved, no data is actually written to the mbr. Grub has the ability to read ext2 filesystems, and will mount/read the menu/config/etc file directly. This is why you don't need to do anything other than save the file for the changes to take effect.
|
Beg pardon but with Debian it does - don't know about other distros.
Ok I follow - sorry I did not know the menu.lst was read by grub but thought it was written to the mbr. No matter - the end result is the same. |
I suppose what you say is possible, but I don't beleive it.
From: http://www.redhat.com/docs/manuals/l...de/ch-grub.htm Quote:
|
This is an interesting one because Debian does not have such a configuration file. I see it mentioned in regard to other distros but there isn't one in Debian i.e. no /etc/grub
|
Some versions use grub.conf instead of menu.lst.
|
OK just clarify the whole process which can be read here .
Grub installs stage1 to the mbr which then reads stage2 (containing the menu directives) which links to menu.lst or grubconf which ever the distro uses. |
hi
Im just start using Linux, so i know little bout it.
Can u tell me how to log on as root? plz:) |
root logon explained
In the username just type root
in the password just type your root password. It's that simple. My site Veera's |
sry man.
I just found out how to do it. But thanx |
Quote:
|
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? |
Re: hi
Quote:
To the discussion re grub - that Redhat link is useful, but don't treat it as gospel. As an aside the code looks for menu.lst. Lots of distros symlink this to grub.conf, some patch the code to look for grub.conf. Some flip-flop between the two - the Gentoo guys can look at the patch set that comes down with the emerge of a new version of grub. Changes from one to the next. Makes it difficult to offer good advice on sites like this that have a mix of user competence, and a mix of distros. The OP in this case hasn't told us what distro (s)he uses. |
All times are GMT -5. The time now is 09:22 PM. |