LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-26-2007, 04:20 AM   #1
cber
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:
%Grub
%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, 05:44 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,043

Rep: Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970
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, 12:04 PM   #3
cber
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.
 
  


Reply

Tags
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 01:48 PM
need help for recover NTFS partition! taiwf Linux - Hardware 20 11-25-2006 06:22 PM
Recover NTFS partition jshellman Linux - Desktop 2 11-15-2006 07:44 AM
Bad SuperBlock! How to recover data? kr5 Linux - Hardware 14 08-04-2005 07:37 AM
how to recover from superblock and inodes daemonthread Linux - General 0 06-23-2004 03:48 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration