LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-01-2006, 05:26 PM   #1
daschaich
LQ Newbie
 
Registered: Sep 2005
Location: Liverpool, England
Distribution: Slackware 15.0
Posts: 9

Rep: Reputation: 0
Problem checking root filesystem when booting Slackware


I run slackware -current on a Dell Inspiron 6000, which has been a bit of an adventure. However, I haven't had any major difficulties for almost a year.

Now, however, when I boot up (using kernel 2.6.16.18, 2.6.16.19, or 2.6.16.22), all goes well until it's time to check the root filesystem, at which point I get the following message:

Code:
Checking root filesystem:
fsck 1.38 (30-Jun-2005)
/sbin/e2fsck: No such file or directory while trying to open /dev/sda2
/dev/sda2:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

Give root password for maintenance                                              
(or type Control-D for normal startup):
Here is my simple partition table:

Code:
Name     Flags     Part Type     FS Type       Label     Size (MB)
hda2     Boot      Primary       Linux ext3              8998.46
hda3               Primary       Linux ext3              30005.83
hda1               Primary       Linux swap              1003.49
(The 2.6 kernel converts hdaX to sdaX, which is why e2fsck was trying to open /dev/sda2. This has not been a problem in the past.)

Logging in to perform maintenance has been unhelpful. e2fsck -b has just given identical errors. However, if I boot up from my Slackware 10.1 installation CD I can mount hda2 and hda3 without a problem, and I can check them with e2fsck, which declares them clean.

I haven't been able to access my fstab (although root, I get "Permission denied" errors, for some reason), but since it hasn't been modified since last December, I doubt it is the source of the problem.

I haven't made major changes to the system since it was last rebooted. I only used swaret to sync with upgrades made in -current (not including aaa packages), and can't think of any that could have caused this. I hope there is some simple resolution to this, since e2fsck not being able to find my root partition seems a pretty basic problem, and suggests that the superblock is not in fact corrupt.

But so far as I can tell, this problem came out of the blue, and I'm stumped as to what the problem is and how I should address it. I've Googled and searched through this site, but haven't found any promising leads. I would greatly appreciate any assistance.

Thanks in advance,

-David Schaich
 
Old 09-01-2006, 06:19 PM   #2
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
my guess is you upgraded to the new udev, but for this to work, you need the new scripts in /etc/rc.d.
Because now udev for 2.6.15 and newer kernels does much of what hotplug used to do (as I understand it).

So get your rescue disk out again, when you are offered kernel parameters, say linux /dev/hda2
Hopefully it will boot now.
Now go to /etc/rc.d and rename rc.hotplug and rc.udev with .old, then take the .new extensions off the new versions of these files (there may be others, but I think these are the most important)

now reboot

-you need to read the changelogs if you dabble with current-

tobyl

Last edited by tobyl; 09-01-2006 at 06:21 PM.
 
Old 09-01-2006, 09:55 PM   #3
daschaich
LQ Newbie
 
Registered: Sep 2005
Location: Liverpool, England
Distribution: Slackware 15.0
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks, that's just what was necessary. Ironically, the changelog was the first place I went when the problem started, on a public terminal using IE. Apparently the changelog is now so long that IE bugs out partway through loading it and puts up an error page. I remember reading something about udev problems months ago, but I thought I had taken care of them. Obviously not.

Oh, well. Now that everything is working again, I'm happy. Thanks again.
 
  


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
Mandrake 10.1 hangs at "Checking root file system" while booting ananya Mandriva 1 03-01-2006 06:03 PM
Freeze at "Checking root filesystem" Xycaleth Linux - General 2 12-15-2005 01:34 AM
booting stops at - checking root filesystem varun_saa Mandriva 3 09-29-2005 12:58 AM
mandrake10.1 hangs while "Checking Root Filesystem" whatpot Linux - Newbie 2 02-25-2005 09:28 PM
hang @ "CHECKING ROOT FILESYSTEM" whatpot Mandriva 2 02-13-2005 05:03 PM

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

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

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