Linux - GeneralThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
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?
@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.
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.