LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-13-2004, 03:51 PM   #1
dezert_fox
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian (sarge)
Posts: 23

Rep: Reputation: 15
e2fsck superblock boot error


Hi,
I've got a mostly working system: Debian on a 2.4.18 kernel, I'm trying to upgrade to 2.6.4. I've configured and installed the new kernel using kpkg, the issue is when I try to boot it I get an error from fsck which says that it's either not checking an ext2 filesystem (which it isn't, it's ext3) or the superblock on the drive is bad. It then gives me a prompt to enter the root password for maintenance. How can I correct this?
thanks in advance
 
Old 03-14-2004, 10:15 AM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
Upgrading may have altered /etc/fstab. Give the root password and edit /etc/fstab with vi.
If it shows ext2 you could change it to ext3. Another possibility is that your kernel does not have
ext3. A thread here mentions that:
http://216.239.53.104/search?q=cache...hl=en&ie=UTF-8
 
Old 03-14-2004, 10:30 AM   #3
dezert_fox
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian (sarge)
Posts: 23

Original Poster
Rep: Reputation: 15
I actually have edited fstab, I changed ext2 to ext3, and I have ext3 support compiled into the kernel. Any other ideas?
 
Old 03-14-2004, 12:31 PM   #4
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
If everything was OK before the change to 2.6, I have no clue...

What happens if you run from a rescue disc and do a manual e2fsck?

see man e2fsck
You should do this to an unmounted disc or the filesystem could be damaged.
 
Old 03-14-2004, 01:16 PM   #5
TheRepublican
Member
 
Registered: Nov 2003
Location: The US of A
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
I've just upgraded to 2.6.4 on my Debian box, and I'm having the exact same problem, however my partitions are ext2 and my fstab has not changed since I have installed Debian (2 days ago). I'm beginning to think it's a bug in the kernel, however dezert_fox is the only other person I've found with this problem, and it looks like we both have Debian installed.

Did you get the kernel source from Kernel.org, or did you use an image from Debian.org? I compiled mine from the source on Kernel.org, maybe that is the problem. It looks like, for now, Debian.org is only offering 2.6.3, so maybe waiting for them to release 2.6.4 in a .deb format would be the way to go.
 
Old 03-14-2004, 01:39 PM   #6
dezert_fox
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian (sarge)
Posts: 23

Original Poster
Rep: Reputation: 15
I got the source from kernel.org... I don't see why the .4 release would have the bug though, isn't an even number supposed to be the stable release?
 
Old 03-14-2004, 01:41 PM   #7
dezert_fox
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian (sarge)
Posts: 23

Original Poster
Rep: Reputation: 15
And, sorry, a manual run of e2fsck from the 2.4.18 boot disk i have produces no errors.
 
Old 03-14-2004, 02:01 PM   #8
TheRepublican
Member
 
Registered: Nov 2003
Location: The US of A
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
Quote:
I got the source from kernel.org... I don't see why the .4 release would have the bug though, isn't an even number supposed to be the stable release?
Yes, 2.6.4 is the newest stable release, however sometimes kernel packages for different distributions have patches the creator of the package added to fix behavior problems with that kernel on that distro, and sometimes bugs creep into even stable releases of software. This would mean it's either a Debian-specific problem, a bug unknown or not corrected in the kernel, or we both just configured the kernel incorrectly. I doubt it is a filesystem or hard drive problem, as we have different filesystems and hard drives, both of which work fine in other releases of the kernel.
 
Old 03-14-2004, 02:23 PM   #9
TheRepublican
Member
 
Registered: Nov 2003
Location: The US of A
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
Another guy with Debian having the same problem.

Looks like it's a problem with the distro, as he's running 2.6.1 with the same problem. Been googling, havn't found a fix or any other information as of yet.

Last edited by TheRepublican; 03-14-2004 at 02:25 PM.
 
Old 03-14-2004, 03:00 PM   #10
TheRepublican
Member
 
Registered: Nov 2003
Location: The US of A
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
I found this page on google and contacted the guy who found a solution. Apparently the answer lies in configuring the kernel properly. I'l hopefully get a response from him soon.
 
Old 03-19-2004, 11:04 PM   #11
oopicmaster
Member
 
Registered: Sep 2003
Posts: 154

Rep: Reputation: 30
Just make sure that your boot partition type is compiled into your kernel, and not a module
 
  


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
Corrupt Superblock, e2fsck bootup problems. purelithium Mandriva 3 10-19-2005 10:39 PM
e2fsck and an inode error Kroenecker Fedora 1 04-14-2005 05:29 PM
e2fsck failed Corrupt superblock gasparov Linux - General 1 02-21-2005 07:16 AM
e2fsck error hk_linux Linux - Hardware 3 12-08-2004 07:48 AM
e2fsck causes kernel error dogma Linux - Newbie 1 07-17-2003 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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