LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-24-2003, 05:56 PM   #1
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
Installing LILO


hi all,

i'm a newbie, and i'm having some trouble with LILO. i've got a dual boot, w/:

*****************************************
hda (1 partition) win98

hdb1 /boot (specified bootable in fdisk)
hdb5 /root
hdb6 /usr
*****************************************

i'm pretty sure i have lilo installed on hdb1, when i run lilo in a shell, i get the following....

******************************************
bash-2.05b# lilo
Warning: LBA32 addressing assumed
Warning: /dev/hdb1 is not on the first disk
Added DOS *
Added Linux
******************************************

but when i restart my computer i get all 999999's, so i have to boot off a floppy. i'm guessing that this is because i don't have lilo installed on the master boot record (which is the first sector of hda, right?).

so my question is: how can i install lilo to the MBR (and will this harm win98)?

thanks for any advice,
 
Old 08-24-2003, 06:14 PM   #2
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
When lilo spits out anything other than LILO: at you, it is an error message. I found a brief list of lilo error codes and posted it for you.

I would suggest that you upgrade to grub. It is a superior boot loader anyways and has worked for me on hardware that pisses off lilo.

Links
http://www.ipcop.org/1.3.0/en/instal...LO-errors.html
http://www.gnu.org/software/grub/grub-download.html
 
Old 08-24-2003, 06:15 PM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You will need to edit /etc/lilo.conf
and set the boot variable to /dev/hda
Code:
boot=/dev/hda
Once you have finished editing the file, at the command line, type: lilo
 
Old 08-24-2003, 08:06 PM   #4
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Original Poster
Rep: Reputation: 33
thanks, it's installed to hda now and working fine. btw, is there any way to tell it to use that nice blue gui instead of the command promt?
 
Old 08-25-2003, 12:32 AM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Yes.
In your /boot directory, you should have a file called message.
This file can be a PCX image file or a text file.
If the file is present, you can add the following line to your lilo.conf
Code:
message=/boot/message
 
  


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
Re-installing lilo lpn1160 Linux - Newbie 5 11-07-2005 05:18 AM
Installing LILO vtechstu Slackware - Installation 3 06-12-2005 02:31 PM
Re-Installing Lilo? AFI_Flame Slackware 6 11-23-2004 01:07 PM
LILO not installing...help! nikd Slackware 5 06-07-2004 01:48 PM
Installing Lilo Daniel Linux - Newbie 4 06-22-2001 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration