LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 06-14-2011, 02:55 AM   #1
galapogos
Member
 
Registered: May 2008
Posts: 227

Rep: Reputation: 30
LILO can't install properly on HP Probook


Hi,

I have a SATA boot disk with LILO installed. This disk is kinda like a recovery disk in that its supposed to boot up on any x86 PC. I'm however having trouble getting it to boot on a HP Probook laptop. I get the LILO 99 99 99 ... problem upon bootup.

I've already specified the linear option in my lilo.conf, which according to the LILO error codes might fix the problem but didn't.

Quote:
0x99: Invalid Second Stage
Mismatch between drive and BIOS geometry, or a bad map file. Some evidence that LINEAR needs to be set on the disk (see LiloNotes)
I've tried specifying the lba32 option instead, but get the same problem.

I've tried the solutions at this LILO Error Codes wiki, i.e.
lilo -g
and
lilo -M /dev/sda

Neither solution worked.

Does anyone know how to get this working? Or recommend another BIOS independent boot loader? I was using nuni in the past for my IDE version, but nuni doesn't support SATA drives.

fyi I'm booting up the disk and running LILO on another laptop that boots it up, before plugging it into the Probook to test.

Thanks!
 
Old 06-14-2011, 08:57 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi galapogos, How are you plugging the drive into the laptop? Are you plugging directly into the SATA connector or is it usb, etc.? Could it be /dev/sdb instead of /dev/sda?

Good luck. ;-)
 
Old 06-14-2011, 09:06 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Chain it from grub? I am suspecting lilo is not able to support the devices. I haven't used lilo in like 10 years.
 
Old 06-14-2011, 10:24 PM   #4
galapogos
Member
 
Registered: May 2008
Posts: 227

Original Poster
Rep: Reputation: 30
@Peacedog, I'm plugging direct to SATA, and since its the only SATA device in the laptop, I'm pretty sure it's /dev/sda.

@jefro, the main reason I'm sticking with LILO is its simplicity. AFAIK grub is a fair bit more complicated and still depends on the BIOS(hence would probably give no compatibility advantage), and this being a recovery disk needs to be as simple as possible and boot up in ideally 100% of PCs out there.

Are there any other suitable BIOS independent boot loaders out there that would work with the widest range of hardware? I used to use nuni, which is BIOS independent, but that only supports IDE drives.

Last edited by galapogos; 06-14-2011 at 10:31 PM.
 
Old 06-15-2011, 02:39 AM   #5
galapogos
Member
 
Registered: May 2008
Posts: 227

Original Poster
Rep: Reputation: 30
Is there any way of using Knoppix to reinstall LILO?

I've tried booting up in the HP Probook with Knoppix 6, then mounting the drive, then chrooting to it, then running lilo
Code:
mount /dev/sda1 /mnt/sda1
chroot /mnt/sda1
lilo
However, despite no warnings, upon reboot nothing seems to have changed.
 
Old 06-15-2011, 03:45 AM   #6
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
AFAIK that should throw a _lot_ of errors like sytem map inconsistency and then the fact that /dev would be empty.
Since you can chroot - this is what I would advice - use your package manager to reinstall lilo. Worked for me once when I was using slackware.
If you get the option to install lilo to root partition rather than /dev/sda that too would be a good idea. Check and see if there is an expert option to reinstall lilo.
Hope this helps.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Grub/ Grub2/ Lilo - canīt install any of them properly! spoovy Slackware 26 11-19-2010 06:35 AM
how-to properly edit lilo to boot 2nd linux partition agrestic Slackware 12 01-27-2009 11:52 AM
How do I get Lilo to work properly on my laptop. ooagentbender Linux - Newbie 3 02-15-2004 08:51 PM
Suse 9, RH9 wont install properly. Mandrake 9 wont boot properly? Help. l2ich84 Linux - Newbie 1 01-31-2004 11:02 AM
Lilo not installing properly bripage Linux - General 10 07-26-2002 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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