Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
01-12-2004, 10:30 PM
|
#1
|
|
Member
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247
Rep:
|
Problem Booting (LILO problem)
I just installed slackware but I can't boot without a bootdisk because LILO stops at 'L'. I have my /boot partition as active and I installed LILO in my mbr. Here is what I have done so far:
1. Used a windows bootdisk to do fdisk /mbr then reinstalled LILO with the "LILO -V" command. Didn't work.
2. Uninstalled LILO with the LILO -U command then reinstalled lILO with the "LILO -v" command. Didn't work.
3. Tried to install the mbr with lilo -M /dev/hda mbr command. Didn't work either.
I'm stuck!!!
|
|
|
|
01-12-2004, 11:32 PM
|
#2
|
|
Member
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247
Original Poster
Rep:
|
UGH. This makes no sense. I want a working slack system before the night is out so I think I will just reinstall and see if it works then. I am thinking maybe when I installed slackware my mbr wasn't erased and it conflicted with LILO in some way. Before this I had FreeBSD installed. But then why didn't it boot when I fdisk /mbr then reinstalled LILO?  Odd...
|
|
|
|
01-12-2004, 11:46 PM
|
#3
|
|
Member
Registered: Nov 2001
Location: Manistique, MI
Distribution: SUSE 12.1
Posts: 136
Rep:
|
Generally all you need to do to restore lilo is run (as root) /sbin/lilo ,then you should see some feed back like added xxx added yyy and such. My example
assumes that lilo resides in /sbin, doing a whereis lilo will tell you where look , but most all distributions put the executiable for lilo in /sbin.
Last edited by Lindy; 01-12-2004 at 11:50 PM.
|
|
|
|
01-12-2004, 11:48 PM
|
#4
|
|
Member
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247
Original Poster
Rep:
|
Quote:
Originally posted by Lindy
Generally all you need to do to restore lilo is run (as root) /sbin/lilo ,then you should see some feed back like added xxx added yyy and such. My example
assumes that lilo resides in /sbin, doing a whereis lilo will tell you look , but most all distributions put the executiable in /sbin.
|
I did that a bunch of times, none of them working. Each time the boot would stop at 'L'. I guess I should have really looked at the verbose output. Oh well. I'm reinstalling.
|
|
|
|
01-13-2004, 12:07 AM
|
#5
|
|
Member
Registered: Nov 2001
Location: Manistique, MI
Distribution: SUSE 12.1
Posts: 136
Rep:
|
" Oh well. I'm reinstalling."
Before you do that check your /etc/ lilo.conf file.
From the lilo.conf man page:
boot=boot-device
Sets the name of the device (e.g. a hard disk par-
tition) that contains the boot sector. If this key-
word is omitted, the boot sector is read from (and
possibly written to) the device that is currently
mounted as root.
It could be possible that your putting lilo somewhere other than the MBR.
|
|
|
|
01-13-2004, 12:17 AM
|
#6
|
|
Member
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247
Original Poster
Rep:
|
Quote:
Originally posted by Lindy
" Oh well. I'm reinstalling."
Before you do that check your /etc/ lilo.conf file.
From the lilo.conf man page:
boot=boot-device
Sets the name of the device (e.g. a hard disk par-
tition) that contains the boot sector. If this key-
word is omitted, the boot sector is read from (and
possibly written to) the device that is currently
mounted as root.
It could be possible that your putting lilo somewhere other than the MBR.
|
I had that. And I'm sure it installed LILO on the MBR because I picked to install it on the mbr during the slackware install.
I had boot = /dev/hda1 in lilo.conf. That is my /boot partition. And it's set as active.
|
|
|
|
01-13-2004, 12:28 AM
|
#7
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
This information is from the book SUSE Linux Installation and Configuration
L - LILO is installed, but it cannot continue functioning, probalyl a media failure or incurrect geometry specified in the configuration file.
LI appears - Either the same as above, or the file /boot/boot.b does not exist. Or if you have an old BIOS in which the boot directory exceeds the 1024-cylinder boundary.
|
|
|
|
01-13-2004, 12:30 AM
|
#8
|
|
Member
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247
Original Poster
Rep:
|
Quote:
Originally posted by jschiwal
This information is from the book SUSE Linux Installation and Configuration
L - LILO is installed, but it cannot continue functioning, probalyl a media failure or incurrect geometry specified in the configuration file.
LI appears - Either the same as above, or the file /boot/boot.b does not exist. Or if you have an old BIOS in which the boot directory exceeds the 1024-cylinder boundary.
|
Well I don't have a boot.b file. I remember last time I had slack I didnt have a boot.b file either. 
|
|
|
|
01-13-2004, 12:51 AM
|
#9
|
|
Member
Registered: Nov 2001
Location: Manistique, MI
Distribution: SUSE 12.1
Posts: 136
Rep:
|
"Well I don't have a boot.b file. I remember last time I had slack I didnt have a boot.b file either"
Ok, now ya' got me stumped. I'll have to defere to someone with more expertise.
|
|
|
|
01-13-2004, 12:53 AM
|
#10
|
|
Member
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247
Original Poster
Rep:
|
Quote:
Originally posted by Lindy
"Well I don't have a boot.b file. I remember last time I had slack I didnt have a boot.b file either"
Ok, now ya' got me stumped. I'll have to defere to someone with more expertise.
|
Yah I looked in /boot and also did a find and there is no boot.b file. The lilo.conf file generated by slack doesn't contain a install = /boot/boot.b that I have seen with other distros.
|
|
|
|
01-13-2004, 01:02 AM
|
#11
|
|
Member
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247
Original Poster
Rep:
|
I reinstalled slack and had LILO placed on the root drive. And guess what? I get "L 99 99 99 99 99 99 ..." a whole bunch of 99's when I try to boot. GRRRRRRRRRR! I made the root directory my active drive too. I'm baffled.
|
|
|
|
01-13-2004, 01:18 AM
|
#12
|
|
Member
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247
Original Poster
Rep:
|
This is interesting... As I posted above I installed LILO on the root drive and got that error. Well I did another fdisk /mbr (and then the /sbin/lilo -v command) and now when it boots I get a "missing operating system" message. If any expert on this subject can chime in, it will be much appreciated.
|
|
|
|
01-13-2004, 01:18 AM
|
#13
|
|
Member
Registered: Nov 2001
Location: Manistique, MI
Distribution: SUSE 12.1
Posts: 136
Rep:
|
"I reinstalled slack and had LILO placed on the root drive."
During the install when you get to the part where the installer asks you where you want to install lilo it should give you the option of installing lilo to the MBR.
Generally there's a caution about it possibably being unsafe to do so, but lilo
needs to be installed to the MBR ( hda as opposed to hda1)
|
|
|
|
01-13-2004, 01:20 AM
|
#14
|
|
Member
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247
Original Poster
Rep:
|
Quote:
Originally posted by Lindy
"I reinstalled slack and had LILO placed on the root drive."
During the install when you get to the part where the installer asks you where you want to install lilo it should give you the option of installing lilo to the MBR.
Generally there's a caution about it possibably being unsafe to do so, but lilo
needs to be installed to the MBR ( hda as opposed to hda1)
|
Well yeah. I installed lilo to the mbr the first time and I got the 'L' bootup error.
|
|
|
|
01-13-2004, 01:50 AM
|
#15
|
|
Member
Registered: Nov 2001
Location: Manistique, MI
Distribution: SUSE 12.1
Posts: 136
Rep:
|
Ok, head scratchin' time. Tell me a bit about your specs.Are you dual booting
with windows on a large HD?The kernel lives in the first 1024 cylinders, so this might create some problems with windows being in a big partition, and linux being "tail end charlie"
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:28 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|