LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-28-2004, 06:48 PM   #1
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Rep: Reputation: 30
i get errors when i run lilo.conf


when i run lilo.conf i get a crazy error:
here is the error:
erase is delete
kill is control-u
interrupt is control-c
/etc/lilo.conf: line 13: vga : command not found
/etc/lilo.conf: line 36 : image : command not found
/etc/lilo.conf: line 38 root : command not found
/etc/lilo.conf: line 39: lablel : command not foun d
....
there is more errors but I think you get the picture. I know those are valid commands because lilo.conf works the other times. the only thing i did was change permission to 755. (chmod 755 /etc/lilo.conf) how do i fix this error, because know i can only get into slackware wiht a boot disk.\


thanks.
djgerbavore
 
Old 06-28-2004, 07:02 PM   #2
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
try changing your permissions back to what they originally were, messing with permissions on boot loaders can sometimes cause issues (i know firsthand this is the case with grub). the permissions on my working lilo are

644
 
Old 06-28-2004, 08:35 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
Don't arbitrarily change permissions on system files. They are set the way they are for a reason. As czarherr indicated, you should set them back the way they were.

Apart from that though, you should be running lilo (the program) not lilo.conf (the config file for lilo). To be specific, I assume you meant that you were running /sbin/lilo rather then /etc/lilo.conf The fact that "lilo" can be used interchangably to refer to both the program and the file can create confusion, eg, "Run lilo after you update lilo" makes sense if you know this, but otherwise it would be totally confusing.

Anyway, if you make changes to lilo (meaning the config file) then you also need to run lilo (the program) in order for them to take effect. In other words, after you edit /etc/lilo.conf you also need to run /sbin/lilo -- J.W.
 
Old 06-28-2004, 10:23 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
You run the command lilo and not lilo.conf.
/etc/lilo.conf is the configuration file for lilo, not the program itself.
 
Old 06-28-2004, 11:20 PM   #5
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
to further what the last poster started: if you are trying to restart lilo, the command is:
Code:
 /sbin/lilo
you have to give the full path name if sbin is not in your PATH, which it isn't by default. root - yes, normal user - no.

hope this helps.
 
Old 06-28-2004, 11:25 PM   #6
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Original Poster
Rep: Reputation: 30
hey guys thanks for the information. I was alittle confused that straightened me out. It works now, and i have the 2.6.1 kernel. Thanks again.
 
Old 06-29-2004, 02:11 AM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
Glad it worked. -- J.W.
 
  


Reply


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
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 12:21 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 04:15 AM
lilo.conf.anaconda v. lilo.conf rbaird2001 Red Hat 1 04-01-2004 01:16 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 09:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM


All times are GMT -5. The time now is 10:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration