LinuxQuestions.org
Review your favorite Linux distribution.
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 12-16-2008, 01:44 PM   #16
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392

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):

Code:
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
27thSunshine
Member
 
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
Andersen
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 177

Rep: Reputation: 72
Quote:
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:

http://www.linuxquestions.org/questi...o-12.2-690421/

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
sykes
LQ Newbie
 
Registered: Mar 2004
Location: Romania
Distribution: Slackware 12.2
Posts: 3

Rep: Reputation: 0
Quote:
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 rc.udev.new.

Thanks

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


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
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

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

All times are GMT -5. The time now is 10:44 AM.

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