LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 12-16-2008, 01:44 PM   #16
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 698
Blog Entries: 3

Rep: Reputation: 73

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

Rep: Reputation: 33
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 03:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration