LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2012, 03:31 PM   #1
Kallaste
Member
 
Registered: Nov 2011
Distribution: Slackware
Posts: 363

Rep: Reputation: 85
Superblocks bad, and can't be restored from backups?


Hello,

I have been unable to boot my Xubuntu 11.10 almost all day. The problem started with my primary hard drive not being recognized as I detailed in a post here:

http://www.linuxquestions.org/questi...7/#post4657486

I took a break from this problem for a couple of hours, and when I went back and booted again from the same Parted Magic cd, the disk was back.

However, I still can't boot. I have run e2fsck, and after a long time, it tells me it couldn't find a valid filesystem superblock, and that an attempt to read block from filesystem resulted in a short read error while trying to open /dev/sda1. This is the same thing it always tells me when my superblocks need restoring, except it usually only takes a couple of seconds.

When I try to restore them with e2fsck, however (after getting the block locations with mke2fs -n), with every block number I try it says:

The superblock could not be read or does not describe a valid 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.

The thing is, I have an ext4 filesystem and not ext2, but this happens to me every two weeks and this is how I always have been able to fix it. Should I do something else?

Can anyone help?

Thanks!

Last edited by Kallaste; 04-19-2012 at 03:36 PM.
 
Old 04-19-2012, 06:06 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If its happening regularly, your disk may be going bad; try this http://linux.die.net/man/8/smartctl
 
Old 04-20-2012, 10:16 AM   #3
Kallaste
Member
 
Registered: Nov 2011
Distribution: Slackware
Posts: 363

Original Poster
Rep: Reputation: 85
Thank you, but I must confess the information at this link is beyond my level. Is there another resource that will give me a non-expert translation of how to use this to find out if my disk is going bad?

Also, I was able to mount my disk (though it still will not boot), so now at least I can get the bit of data I hadn't backed up off. Now I just need to figure out if the disk is worth keeping before I reinstall.

Thanks again.
 
Old 04-20-2012, 11:28 AM   #4
ratotopi
Member
 
Registered: Dec 2011
Posts: 114

Rep: Reputation: 6
try to restore the OS from your CD ROM or USB
 
Old 04-20-2012, 02:19 PM   #5
Kallaste
Member
 
Registered: Nov 2011
Distribution: Slackware
Posts: 363

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by ratotopi View Post
try to restore the OS from your CD ROM or USB
I'm sorry, but while I do appreciate all input that is intended to be helpful, that comment is just absurdly irrelevant to the discussion at hand. Restore the OS? What does that mean--reinstall? I have already said I will reinstall. My question is how to go about finding out if the disk is bad before I do so.

Can anyone give me some advice or guidance on this?

Thanks.

Last edited by Kallaste; 04-20-2012 at 02:23 PM.
 
Old 04-28-2012, 09:20 AM   #6
Kallaste
Member
 
Registered: Nov 2011
Distribution: Slackware
Posts: 363

Original Poster
Rep: Reputation: 85
Have not found a solution yet, but I think it is the hard disk. Waiting for the manufacturer's tool to check. Marking thread as solved since I will not be revisiting it again.
 
  


Reply

Tags
boot failure, superblock



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
rsync incremental backups to be restored Skaperen Linux - Software 2 12-02-2010 09:06 PM
[SOLVED] Where is the backup superblocks? miceagol Linux - Software 11 03-09-2010 03:54 PM
Datarecovery on encrypted LVM ext3 with bad superblocks lkk Linux - General 2 07-17-2009 09:05 AM
My server tells me that I have bad superblocks when I run an fsck chownuseradd Linux - Newbie 1 02-05-2008 05:39 AM
Hard Drive - Bad Inodes/superblocks - input/output error broknindarkagain Linux - Hardware 1 07-07-2006 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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