LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-20-2008, 10:49 AM   #1
bowie1010
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Rep: Reputation: 0
Having trouble configuring LILO =[


Hi All,

I'm having a little trouble setting up LILO. Basically there's two options on boot up; Windows and Linux. I want to remove the Windows option completely or change the order so that the Linux option is selected by default.

The problem that I'm having is that when I alter the file /etc/lilo.conf it doesn't seem to have any effect whatsoever. Even changing the timeout attribute has no effect.

I'm running Slackware 12.2. Any help would be much appreciated. Thanks.
 
Old 12-20-2008, 11:01 AM   #2
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
Welcome to Lq

in /etc/lilo.conf
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/hda
default = Linux    < --- New line
# Boot BMP Image.
etc,etc...
I forgot to mention
run lilo from command line after putting new line in lilo.conf.

Last edited by Nikosis; 12-20-2008 at 11:21 AM.
 
Old 12-20-2008, 11:12 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
If you're using KDE, at the Konsole prompt enter:
Code:
kdesu kwrite /etc/lilo.conf
then root's password.
Just delete the Windows entry if you want to get rid of it. Or copy, cut, and paste the Slackware entry above it.
Then, as root, run:
Code:
lilo

Last edited by brianL; 12-20-2008 at 11:13 AM.
 
Old 12-20-2008, 11:16 AM   #4
bowie1010
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the speedy response Nikosis. I've altered the file to include that now. But it doesn't have any effect. Anything that I alter doesn't have any effect. I'm altering the file /etc/lilo.conf this is the correct file isn't it?

I've commented out the Windows section near the bottom and it still shows on bootup. I've even tried changing the timer, but nothing happens.

I must be doing something wrong but I just can't figure out what. Anyone know what it could be?

Thanks.
 
Old 12-20-2008, 11:23 AM   #5
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
Did you run
Quote:
lilo
from command line after you made those changes

Last edited by Nikosis; 12-20-2008 at 11:24 AM.
 
Old 12-20-2008, 11:23 AM   #6
bowie1010
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks guys. Got it sussed now. What exactly was the lilo command doing. Thats the part I was missing. Just curious as to what it was for.

Thanks again.
 
Old 12-20-2008, 11:27 AM   #7
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
reloads new config into MBR
 
Old 12-20-2008, 11:41 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
lilo stores its' configuration in binary form right in the MBR along with the actual binary program. Any time you make changes to the conf file, you have to re-run the lilo command to re-write the MBR with the new conf info. Once written, the lilo.conf file is not used again until you run the lilo command again.
 
Old 12-20-2008, 01:48 PM   #9
bowie1010
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the help guys. You'll be seeing me around quite a bit from now on I should imagine =]
 
  


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
Configuring lilo sklitzz Linux - General 1 02-19-2006 06:03 PM
Having trouble configuring Lilo? jacatone Linux - Newbie 6 07-06-2005 08:03 AM
Configuring Lilo Brad4321 Linux - Newbie 6 09-26-2004 11:11 AM
configuring lilo ksd Slackware 30 10-14-2003 10:49 AM
Configuring LILO NiallC Linux - Software 9 07-04-2003 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:09 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