LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-20-2008, 08:56 PM   #1
atanasoff
LQ Newbie
 
Registered: Dec 2008
Posts: 25

Rep: Reputation: 0
The superblock could not be read or does not describe a correct ext2 filesystem.


I got the above message after boot up from an upgrade from Slack 12.1 to 12.2 . Was given a choice of Cntrl D or root password to fix file system. I did the root password from my old system and got in. But that is all. Any ideas of where to start to fix this.

Right now I have only a read only 12.2 system.
Not worried about loosing anything. This Slack 12.2 drive is a clone of my working 12.1 system.

my clone drive 12.2 and regular 12.1 drives are set up:
hda1: Xubuntu
hda2: Slackware root
hda3: /home
hda4: swap

Tried a fsck -t ext3 /dev/hdc2 using my 12.1 system on the unmounted 12.2 drive. No problems found. I think the 12.2 system complained about read only file system, when I tried that.

Guessing it's a config problem , fstab maybe, but don't really know where to start.

Currently stuck at Step 4. of Patric Volkerding's UPGRADE.TXT guide.

Had good experiences with Slack 3.2 many years ago and after a long hiatus away from linux, now love Slackware 12.1 version. So we are Slack friendly here.
Thanks
 
Old 12-20-2008, 11:50 PM   #2
wootletootle
Member
 
Registered: Jul 2002
Location: New Zealand
Distribution: slackware
Posts: 81

Rep: Reputation: 15
Yes, I get the same message (Slack 12.1. kernel 2.6.27.10)
My impression is that it can be ignored (though it's irritating).
Maybe the boot sequence is slightly incorrect, something
like that. As you say, maybe fstab.
 
Old 12-21-2008, 01:51 AM   #3
Andersen
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 177

Rep: Reputation: 72
Quote:
Originally Posted by wootletootle View Post
As you say, maybe fstab.
I think not, 'cause I've changed options in fstab (I had the same problem after upgrading) and that didn't solve the problem.

Take a look at: http://www.linuxquestions.org/questi...o-12.2-690421/

..maybe it's a rc.udev.new problem?

Last edited by Andersen; 12-21-2008 at 01:53 AM.
 
Old 12-21-2008, 03:11 AM   #4
wootletootle
Member
 
Registered: Jul 2002
Location: New Zealand
Distribution: slackware
Posts: 81

Rep: Reputation: 15
But does it still stop you booting? I've had this error message ever
since I installed Slack 12.1 and kernel 2.6.24.5, but it has never been
a serious problem. It's annoying, but nothing more. I don't have
rc.udev.new anyway. Next time I boot I'll note down the message
in detail, then we'll try and get to the bottom of this
 
Old 12-21-2008, 03:29 PM   #5
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,162
Blog Entries: 5

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
Which kernel are you running?

If you run the generic smp one, what command did you use for generating your initrd.gz image file?

According to README.initrd, your command should have been:

Code:
mkinitrd -c -k 2.6.27.7-smp -m mbcache:jbd:ext3 -f ext3 -r /dev/hda2
 
Old 12-21-2008, 07:18 PM   #6
Andersen
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 177

Rep: Reputation: 72
Quote:
Originally Posted by gegechris99 View Post
Which kernel are you running?

If you run the generic smp one, what command did you use for generating your initrd.gz image file?

According to README.initrd, your command should have been:

Code:
mkinitrd -c -k 2.6.27.7-smp -m mbcache:jbd:ext3 -f ext3 -r /dev/hda2
In my case, the system would stop just after that fsck message, proposing to use ctrl-d or to try different superblock.
About initrd, I guess I didn't need one, because my kernel was huge.smp
 
Old 12-22-2008, 06:33 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I had this problem and it turned out that my /etc/fstab had been corrupted. I'm still not sure how it happened but booting from install dvd and restoring a working backup of fstab fixed it.
 
Old 12-22-2008, 08:32 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Did you change the fstab in the cloned drive to the correct partition for '/'?
 
Old 12-22-2008, 04:28 PM   #9
atanasoff
LQ Newbie
 
Registered: Dec 2008
Posts: 25

Original Poster
Rep: Reputation: 0
I use a huge.s kernel in both 12.1 and 12.2. Kernel in 12.1 was custom compiled for 586 AMD K6+ processor, module support for USB Mass Storage support, and finally libcap support enabled.

The fstab looks identical in 12.1 and 12.2. I don't see why I should modify it. I simply swap out the two drives using the same ide cable connections.

I don't pass the kernel any initrd in 12.1 or 12.2

Last edited by atanasoff; 12-22-2008 at 04:30 PM.
 
Old 01-02-2009, 11:48 AM   #10
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
It is the rc.udev that is your problem. The problem occurs because udevtrigger is no longer a part of udev. If you compare rc.udev and rc.udev.new, you will see that the latter does not contain udevtrigger. In my experience with this upgrade, all you have to do is backup rc.udev, rename rc.udev.new to rc.udev, chmod 755 rc.udev, also change permissions on your backup rc.udev, so both versions dont run. Reboot and your set. Thats what I did anyways.

Hope this helps,
DragonM15
 
Old 01-03-2009, 08:05 PM   #11
atanasoff
LQ Newbie
 
Registered: Dec 2008
Posts: 25

Original Poster
Rep: Reputation: 0
Thank you DragonM15!

rc.udev.new is the ticket, and it really worked!
There has been lots of changes on my old system since I posted this.
I'll do a fresh clone of my old hard drive and start migrating to Slackware 12.2
as time permits.

Thanks again!
 
Old 01-08-2009, 12:04 AM   #12
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Quote:
Originally Posted by atanasoff View Post
Thank you DragonM15!

rc.udev.new is the ticket, and it really worked!
There has been lots of changes on my old system since I posted this.
I'll do a fresh clone of my old hard drive and start migrating to Slackware 12.2
as time permits.

Thanks again!
Anytime, thats what we are all here for.
 
  


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
ext2 filesystem and superblock problem. Unknown_User Linux - Server 2 02-28-2007 04:27 PM
Have any of you used the Windows driver that allows ext2,3 filesystem read and writes brjoon1021 Linux - Hardware 4 02-19-2007 06:14 PM
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 08:34 PM
Fedora 5 Install: EXT2-FS: unable to read superblock, kernel panic lebabyg Fedora - Installation 8 06-13-2006 04:53 AM
EXT2-fs: unable to read superblock.... ?? bobthebear Linux - General 5 11-14-2002 03:58 PM

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

All times are GMT -5. The time now is 03:22 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