Slackware This Forum is for the discussion of Slackware Linux.
|
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.
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.
|
 |
08-31-2014, 08:08 PM
|
#1
|
Member
Registered: Feb 2011
Location: Evansville, IN USA
Distribution: Slackware64 14.1(multilib) and Win7
Posts: 30
Rep:
|
Unable to boot Slackware64 14.1, possibly due to a typo in lilo.conf
Scenario: almost 6-year old HP Slimline with dual-core AMD Athlon II and Win 7 on internal hdd.
My second hdd is "external" only in the sense that it is lying on a shelf behind my computer; it is connected directly to the m/b through a shielded SATA cable - right next to my "internal" hdd and DVD drive. As far as the computer knows, the second (Linux) hdd is internal.
I installed Slack64 late last winter and managed to get it to a point where I was about to transfer the larger part of my work from Win 7 to Slack64. Then, about ten days ago, there was a sudden and unexpected power outage while I was using Slack64. When the power returned and I tried to boot back to Slack64, it started out as usual, but soon slowed down and got stuck while doing something concerning my mouse. It kept trying to the same thing repeatedly but was unable to succeed.
I went back to the installation DVD, deleted all my partitions, repartitioned the same way as before, reinstalled Slackware, reconfigured and rewrote lilo.conf, and I was back in business.
Today I switched to the generic kernel (3.10.17) and made initrd-generic-3.10.17.gz. I removed the symlinks from /config, /System.map and /vmlunuz, all of which pointed to the huge.s kernel; then created new symlinks to the -generic-3.10.17 versions of these files - including a symlink to the new initrd.gz.
I edited lilo.conf and ran lilo -v, then rebooted. I asked for the boot menu, intending to select the generic Linux kernel. Instead of the lilo boot menu, I got a black screen with a white upper case L in the top, left corner, followed by a long string of ninety-nines; like so:
L 99 99 99 99 ... on and on.
Then the computer froze. I gave the three-finger salute - which did work - and tried again with the same result.
So, back to the Slackware64 install DVD. After I logged in as root, I tried to run fdisk to check the partition table: "can't open /dev/sdb, no (? a bad time to run out of memory; it meant that fdisk could not find anything on the disk.)
I ran a program in Win 7 that provides a lot of system information, and that program showed that my second hard drive had the correct partitions of the correct size.
I suppose the MBR on that drive has been corrupted. Does any kind soul have a suggestion about how I can get out of this dead end?
Thanks in advance. You've helped me before; maybe one of these days I will be able to give answers rather than just to pose questions.
paul2
|
|
|
08-31-2014, 08:49 PM
|
#2
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Rep: 
|
That sounds like a different issue other than just a typo since you didn't even get the LILO menu.
|
|
|
08-31-2014, 10:33 PM
|
#3
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,584
|
Can you get into Windows at least? If you can, try using EasyBCD to setup Grub2 possibly, and use the BCD Chainloader.
|
|
|
09-01-2014, 12:11 PM
|
#4
|
Member
Registered: Feb 2011
Location: Evansville, IN USA
Distribution: Slackware64 14.1(multilib) and Win7
Posts: 30
Original Poster
Rep:
|
Quote:
Originally Posted by ReaperX7
Can you get into Windows at least? If you can, try using EasyBCD to setup Grub2 possibly, and use the BCD Chainloader.
|
Thank you, ReaperX7, for your reply. Yes, I can boot Win 7 normally. Since Lilo has worked well for me, I know nothing about Grub2; so, I will have to do some more learning before I try your suggestion. Knoppix suggests re-installing the MBR; but, that presupposes that I had backed up the MBR in advance, which I did not have the foresight to do
In my OP, I suggested the possibility of a typo in lilo.config, because that was the last thing I did before rebooting and then did not get the lilo menu. When I had run lilo -v as the last thing in my previous session, the only warning was the standard one about LBA32, so I was not aware of any problem there.
Next (= right now), I will run a S.M.A.R.T. test on my Linux hdd. If any problem shows up, I'll let you know.
paul2
|
|
|
09-01-2014, 12:50 PM
|
#5
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,863
|
Try googling "invalid second stage index sector (LILO)"
|
|
|
09-01-2014, 02:22 PM
|
#6
|
Member
Registered: Feb 2011
Location: Evansville, IN USA
Distribution: Slackware64 14.1(multilib) and Win7
Posts: 30
Original Poster
Rep:
|
Quote:
Originally Posted by paulb2
Next (= right now), I will run a S.M.A.R.T. test on my Linux hdd. If any problem shows up, I'll let you know. paul2
|
FYI: I ran the S.M.A.R.T. test and a separate HP diagnostic test on my Linux hdd and it passed both tests. So, there is no evidence to support the idea of a failed hdd. And yes, I know": "Absence of evidence is not evidence of absence."
paulb2
|
|
|
09-01-2014, 02:31 PM
|
#7
|
Member
Registered: Feb 2011
Location: Evansville, IN USA
Distribution: Slackware64 14.1(multilib) and Win7
Posts: 30
Original Poster
Rep:
|
Quote:
Originally Posted by Richard Cranium
Try googling "invalid second stage index sector (LILO)"
|
Thank you, Richard. I have a pressing job to do right now; but, as soon as I return, I'll do that. I think this is the first time I have heard of that phrase. Thanks for the tip.
paulb2
|
|
|
09-01-2014, 03:13 PM
|
#8
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
I knew I'd had the L 99 99 99 99... problem sometime in the past, but had to trawl through my notebooks (a mess/mass of random scribblings) to find it. Fixed it by booting into Slackware using the install dvd boot command:
Code:
huge.s root=/dev/sda2 rdinit= ro
then deleting /boot/map, and running lilo.
|
|
|
09-02-2014, 12:14 AM
|
#9
|
Member
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 981
|
Hello paulb2
According to these links, seems you must reinstall lilo.
https://www.google.com/search?q=L+99...EILKggTUtYHgDw
http://en.wikipedia.org/wiki/LILO_%2...29#Error_Codes
Code:
L
The first stage boot loader has been loaded and started, but it can't load the second stage boot loader. The two-digit error codes indicate the type of problem. This condition usually indicates a media failure or bad disk parameters in the BIOS.
Code:
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)
http://wiki.linuxquestions.org/wiki/LILO_Error_Codes
Windows always record at the MBR, so I boot my machine with a floppy to load Lilo (lilo -b /dev/fd0).
I think that way is less problematic, since I have to use (and reinstall) Windows sometimes.
|
|
|
09-19-2014, 09:39 PM
|
#10
|
Member
Registered: Feb 2011
Location: Evansville, IN USA
Distribution: Slackware64 14.1(multilib) and Win7
Posts: 30
Original Poster
Rep:
|
Quote:
Originally Posted by Paulo2
|
I'm sorry for my extended absence, fellows; I ran into an unexpected squall of busy-ness.
I'm very happy to say that I have corrected my error (yes, it was _my_ error), but I am even more embarrassed to tell you how.
First, to bring you up to date, I followed brianL's suggestion and deleted </boot/map>, reran LILO, and re-booted Slackware64 - and got the same <L 99 ...> error.
Then I used the installation DVD to re-boot again and prepared to follow Paulo2's advice to uninstall LILO and reinstall it. But first, I decided to proofread lilo.conf one more time - and there it was, my mistake staring me in the face: I had typed <root=sdb1> so often, that I typed <boot=sdb1> without thinking. I deleted the misplaced <1>, reran LILO and re-booted. Worked perfectly!
I apologize for wasting your time with my dumb-headedness and I also thank you again, because I do appreciate the time and effort that all who replied to my plea for help expended.
BTW: Paulo2, I think you have a nice username.
paulb2
|
|
|
09-19-2014, 11:38 PM
|
#11
|
Member
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 981
|
Richard's post was right, before my search 
I didn't know about these Lilo errors, so I have learned something new.
Quote:
Originally Posted by paulb2
BTW: Paulo2, I think you have a nice username.
paulb2
|
Our usernames are alike 
Sometimes I use 'PaulBruce' as username (Up The Irons!)
|
|
|
All times are GMT -5. The time now is 04:31 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
|
|