Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-16-2008, 01:44 PM   #16
Registered: Oct 2005
Location: France
Distribution: Slackware 14.2 64bit
Posts: 900
Blog Entries: 4

Rep: Reputation: 133Reputation: 133

After some googling, I found these commands to run if you still have a error after running /sbin/lilo:

1- Boot with CD1
2- Run the following commands (no chroot):

mount /dev/sda2 /mnt
mount --bind /dev /mnt/dev
mount -t proc proc /mnt/proc
lilo -r /mnt
What these commands do:

- Mount your partition into /mnt

- Remount /dev into /mnt/dev so that /dev/sda2 is available when you'll run lilo.

- Do a chroot to the /mnt directory before running lilo
Old 12-16-2008, 05:05 PM   #17
Registered: Dec 2008
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 17
Ah...thanks so much for all your help, but I guess my problems went much deeper than that, and I think I remember where I went wrong [thats what happens when you don't pay STRICT attention to the upgrading rules before you know enough to vary from them]. I'm sorry for all the trouble, and appreciate all the work, but ultimately I ended up doing a fresh install. Luckily I didn't loose much -- a movie and a powerpoint presentation, both easily replaceable.

Again, thanks so much for your help, I'm going to try upgrading to 12.2 again after class and such [I didn't burn 12.2 to CD, I downloaded all the packages via ftp and did it that way].
Old 12-16-2008, 07:11 PM   #18
Registered: Dec 2008
Distribution: Slackware
Posts: 112

Rep: Reputation: 43
Originally Posted by 27thSunshine View Post
Hey guys, thanks for all your help so far.
I fixed lilo.conf, added the new lines, but I guess that wasn't the problem. It's still complaining about a bad superblock, and the suggested one [8193] doesn't work either. I've tried e2fsck /dev/sda2, but it doesn't work, not even with -f, nor does mke2fs -n /dev/sda2...any ideas on how to fix what seems to be the real problem?
I had that problem after upgrading 12.1 --> 12.2, I posted it here:

Looks like it's the rc.udev problem, but I did not wait enough to try the probable solution, I did a fresh install to cut the "knot".
Old 12-27-2008, 12:10 PM   #19
LQ Newbie
Registered: Mar 2004
Location: Romania
Distribution: Slackware 12.2
Posts: 3

Rep: Reputation: 0
Originally Posted by brianL View Post
I think you should always run lilo as root.
I had exactly the same problem. I manged to fix it after I replaced the rc.udev with


Last edited by sykes; 12-27-2008 at 01:19 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I broke Lilo, Still Able to boot from the Rescue Disk halfpower Slackware 1 07-04-2006 09:07 AM
apt-get dist-upgrade broke lilo, apache & squid mikeaustn Debian 10 07-24-2005 01:48 PM
apps broke after 2.6.9 upgrade bobbyseatbelt Slackware 2 10-28-2004 03:34 AM
Lilo just broke, how do i fix with a live distro? e1000 General 1 08-01-2004 07:50 PM
RedHat 7.x upgrade to 8.0 lilo.conf broke! bradfisher Linux - Software 0 04-17-2003 12:33 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration