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 - 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: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
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



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
Bad SuperBlock! How to recover data? kr5 Linux - Hardware 20 09-30-2020 12:04 PM
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
how to recover from superblock and inodes daemonthread Linux - General 0 06-23-2004 03:48 PM

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

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