Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 04-26-2007, 05:20 AM   #1
LQ Newbie
Registered: Apr 2007
Posts: 6

Rep: Reputation: 0
How to recover a superblock of NTFS

The superblock is damaged when i try to intall grub to the MBR.But i type the wrong command:
%root (hd0,6) ##my linux(ubuntu) sits in hdc6.
%setup (hd0,0) ##hdc1,where my WinXP OP sits.
so the superblock got damaged.

Is there any way to recovery.

Below is some info:
root@ubuntu:/home/ubuntu# e2fsck -b 32768 /dev/hdc1
e2fsck 1.39 (29-May-2006)
e2fsck: Bad magic number in super-block while trying to open /dev/hdc1

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>
Old 04-26-2007, 06:44 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,829

Rep: Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452
If it's (presumably) NTFS, why are you doing an e2fsck ???.

Best bet is to run fixboot from (XP) recovery console - you may need to "recover" the MBR using fixmbr first.
Don't hold out too much hope - sometimes the fixboot works, but (more ???) often not. In the latter case you'll be up for a re-install of XP.
Old 04-26-2007, 01:04 PM   #3
LQ Newbie
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
I'm so appreciated for your suggest.I use the fixboot command and now the Windows system is ok.

At first I use ex2fsck just to make more sure the problem i encounter.Another reason is that i really don't know what to do ,so i could have a try.


grub, superblock

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
NTFS Superblock laurensH Linux - Hardware 1 03-23-2007 02:48 PM
need help for recover NTFS partition! taiwf Linux - Hardware 20 11-25-2006 07:22 PM
Recover NTFS partition jshellman Linux - Desktop 2 11-15-2006 08:44 AM
Bad SuperBlock! How to recover data? kr5 Linux - Hardware 14 08-04-2005 08:37 AM
how to recover from superblock and inodes daemonthread Linux - General 0 06-23-2004 04:48 PM

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration