LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-17-2002, 08:12 AM   #1
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
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 ?
 
Old 07-17-2002, 08:16 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
Old 07-17-2002, 08:18 AM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
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.
 
Old 07-17-2002, 08:18 AM   #4
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
TX for your response.

But when I run lilo as root like this:

root> lilo

it say command not found. ???
 
Old 07-17-2002, 08:26 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i gues taht you've somehow screwed up your path. try /sbin/lilo
 
Old 07-17-2002, 08:30 AM   #6
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
Same with this path.

How can I figure out the right path ?
 
Old 07-17-2002, 08:46 AM   #7
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
Angry

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.
 
Old 07-17-2002, 08:51 AM   #8
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
Ok I've got it but now I get an error message saying

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

What should I do ?
 
Old 07-17-2002, 08:51 AM   #9
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Try whereis lilo.
Too late

Last edited by crashmeister; 07-17-2002 at 08:52 AM.
 
Old 07-17-2002, 09:35 AM   #10
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Rep: Reputation: 30
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
 
Old 07-17-2002, 09:39 AM   #11
niton
Member
 
Registered: Jul 2002
Location: CH
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
Talking

It works now thanks
 
  


Reply



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
lilo says command not found prozac Linux - General 1 10-25-2005 05:51 AM
Booting to DOS command line from LILO ninadb Linux - General 4 08-12-2004 11:26 AM
What this command do? lilo -v -v -v && lilo blackzone Linux - General 1 07-06-2004 03:15 AM
LILO error on run at command line HappyFunBall Linux - General 4 08-31-2003 10:27 PM
command for Lilo?? dsantamassino Linux - Newbie 27 06-13-2003 05:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:31 PM.

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