LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-01-2004, 12:04 PM   #1
zach_barrow
LQ Newbie
 
Registered: Mar 2004
Location: San Diego
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
Question L 9A 9A 9A 9A 9A 9A...etc using LILO what am I missing?


Hey everyone. I'm having a problem booting into Linux from the hard disk. Here's my system to the best of my memory (I'm at work--if this is insufficient info, I can post more later when I get home)
Hard-Drive Partitions
hdc 6GB fat
hdc1 769 MB swap
hdc2 50 MB /boot
hdc3 don't remember
hdc4 don't remember
hdc5 30 GB /
hdc6 10 GB /var
hdc7 ~20 GB fat

I am using Lilo. I have it set right now to go into the Windows XP boot menu. When I select Linux to use Lilo I get L 9A 9A 9A 9A.... However, I can boot to Linux from a floppy which has my root partition set at hdc5, which it is. hdc5 is also set as a bootable partition. I know the problem comes from the fact that I set my /boot partition separately from my / partition. How should my lilo.conf be set up. I spent about an hour last night with different combinations. Should I install lilo at hdc2 or hdc5? In lilo.conf should boot=/dev/hdc2 or /dev/hdc5? I followed some online instructions adding a line to boot.ini and having a bootsect.lnx file in the c: drive which i copied using dd. Is that necessary? I'm all turned around. Before I messed around with lilo.conf, boot=/dev/hdc5 and selecting Linux from the Windows boot menu did successfully start LILO, but there was only the option to boot Windows (heh). When I selected that it went back to the Windows boot menu. There were no options for root=, label=, etc in lilo.conf for booting to Linux. Any tips?

Thanks,
Zach
 
Old 07-01-2004, 01:03 PM   #2
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Maybe you could post your lilo.conf file - it may well help someone to see what the problem is.

From the man page:

Errors 99 and 9A usually mean the map file (-m or map=) is not readable, likely because LILO was not re-run after some system change, or there is a geometry mis-match between what LILO used (lilo -v3 to display) and what is actually being used by the BIOS

if you boot with your floppy then run as root: /sbin/lilo, what is the reponse?
 
Old 07-01-2004, 10:35 PM   #3
zach_barrow
LQ Newbie
 
Registered: Mar 2004
Location: San Diego
Distribution: Ubuntu
Posts: 20

Original Poster
Rep: Reputation: 0
Well, I took the plunge and installed lilo to the MBR of the drive. That solved the problem. I guess lilo didn't like booting from the partition I originally set it at. Now it works great!
 
Old 07-02-2004, 03:53 PM   #4
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
I've had a similar issue with a dual boot IBM Thinkpad running Windows XP and Mandrake 10 community (see http://pbhj.alicious.com for details).

In order not to touch the MBR, as I didn't know how XP would cope with that, I did as you appear to have and installed Lilo to the first sector of the root partition. This works fine, creating the linux binary file using dd and placing it on the C: drive for the windows loader to use.

However, whenever changes are made to boot items, Mandrake updates Lilo (I presume) without telling me. This breaks the boot and I have to dd the first sector and re-create the linux boot binary that WinXP loader uses.

My error is like "LILO 99 99 99 99 99 ....".

HTH if someone else has a similar problem.
 
Old 07-02-2004, 11:23 PM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
The exact same thing just happend to me and what is strange is that when you choose to use the MBR it says " " could be dangerous ". Ive already fixed mine by booting from the boot floppy and rerunning liloconfig.
 
  


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
Lilo and ntldr missing problem kryptobs2000 Linux - Software 2 09-14-2005 01:57 AM
lilo ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 09:07 AM
Lilo.conf missing! glaz Slackware 9 01-27-2005 04:02 PM
ntldr missing lilo xp and linux xterminator890i Linux - General 16 07-12-2004 04:41 AM
LILO is missing or corrupt (I think) fuzzlog2000 Linux - Newbie 4 04-25-2004 08:46 PM

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

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