LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to recover a superblock of NTFS (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-recover-a-superblock-of-ntfs-549118/)

cber 04-26-2007 04:20 AM

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>
******************************************************************

syg00 04-26-2007 05:44 AM

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.

cber 04-26-2007 12:04 PM

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.


All times are GMT -5. The time now is 07:45 AM.