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!!! |
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? :confused: Odd...
|
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. |
Quote:
|
" 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. |
Quote:
I had boot = /dev/hda1 in lilo.conf. That is my /boot partition. And it's set as active. |
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. |
Quote:
|
"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. |
Quote:
|
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.
|
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.
|
"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) |
Quote:
|
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" |
All times are GMT -5. The time now is 02:00 AM. |