Updating Lilo.conf

I want to install new kernel version 2.2.13 prior downloading the file a warning message come up " You must update your /etc/lilo.conf by hand in order to boot on your new kernel which I understand but when I try in root directory it prompt me by a denied permission msg??? Why if I'm in root directory it should'nt denied me permission

I install mandrake version 6.5 without any problems
Please help me from a newbie
Who is Participating?
jlevieConnect With a Mentor Commented:
You have to be root to run lilo, not just be in the root directory. Also the new kernel has to be where /etc/lilo.conf tells lilo to look for the kernel and the file name (of the compressed kernel image) in lilo.conf has to be correct. Ownership of the kernel files probably matters also.

If everything otherwise looks okay, try running "lilo -v" and see where it complains.
dbiss111599Author Commented:
thanks, would you tell me how to be in root instead of dir
Is it a command I have to type explain thanks again
Being root means logging as root or executing "su" and supplying root's password. This gives you root priviledges on the system which is required for almost all operations that affect data outside of an ordinary user's directory.

Since the root user on a Unix machine has full authority to modify or delete anything, you don't want to be root needlessly. For instance, if you're root and cd'd to / and you accidentally execute chmod -R 755 * (thinking you are in a different directory and meaning to make all the files therein executable), you'll destroy your operating system as the command will change every file and dir on the entire system to mode 755. Unix/Linux depends on certain files have certain modes set and won't run if those modes aren't correct.

It's best to always log on as an ordinary user and become root only for a specific task that requires root privs and to return to user privs as soon as possible.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.