LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command lilo (https://www.linuxquestions.org/questions/linux-newbie-8/command-lilo-25964/)

niton 07-17-2002 08:12 AM

command lilo
 
I just modified lilo.conf and i want to test it but it doesn't seem to work.

Do i need to load the new lilo.conf before booting ?

How ?

acid_kewpie 07-17-2002 08:16 AM

if you read the manpage for lilo it will tell you that you need to run "lilo" as root to make any changes you made to /etc/lilo.conf take effect

crashmeister 07-17-2002 08:18 AM

Just run lilo from a terminal as root after you changed the liloconf; that takes care of it.Check for errormsgs.Just did mine a minute ago,going down for reboot now and hopefully back up.

niton 07-17-2002 08:18 AM

TX for your response.

But when I run lilo as root like this:

root> lilo

it say command not found. ???

acid_kewpie 07-17-2002 08:26 AM

i gues taht you've somehow screwed up your path. try /sbin/lilo

niton 07-17-2002 08:30 AM

Same with this path.

How can I figure out the right path ?

niton 07-17-2002 08:46 AM

I dont know what to do.
I just installed a new kernel version and changed de lilo.conf.
Now I want to try it out but I cant because I cannot find de lilo command.

niton 07-17-2002 08:51 AM

Ok I've got it but now I get an error message saying

Warning :device 0x302 exceed.....1024.....

What should I do ?

crashmeister 07-17-2002 08:51 AM

Try whereis lilo.
Too late:D

X11 07-17-2002 09:35 AM

Quote:

Originally posted by niton
Ok I've got it but now I get an error message saying

Warning :device 0x302 exceed.....1024.....

What should I do ?

When did this error message pop-up (eg. Did it just pop up all a sudden)

BTW: You can copy and paste the following into the file called profile under the /etc directory.
Tell us ASAP if that solves your "path not found" problem or not.


Quote:

# For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
# the $PATH. Some means of connection don't add these by default (sshd comes
# to mind).
if [ "`id -u`" = "0" ]; then
echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
if [ ! $? = 0 ]; then
PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
fi
This is from the file profile on my system under the /etc directory

niton 07-17-2002 09:39 AM

It works now thanks


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