New
#1
How to recover ntfs partition
Hi everyone,
I have an external drive, size 1TB with a ntfs partition on it. Some linux tools told me, that the size of the drive is 2TB. I used to GParted to resize it. Everything looked fine and the drive was still accessible. After writing something on the drive, the drive became inaccessible both under Ubuntu and Windows 7.
I tried to rewrite the MBR table with fdisk to have it set back to 1TB, but I dont really know, what sector size would be correct.
I wanted to use chkdsk to repair the drive, but unfortunately the drive is recognized as a RAW drive.
Can someone help me to rewrite the MBR table with fdisk or suggest a tool which can repair the MBR?
Some output that may be helpful:
fdisk after I rewrote the MBR
parted output:Code:$ sudo fdisk -l /dev/sde Disk /dev/sde: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x44fdfe06 Device Boot Start End Blocks Id System /dev/sde1 63 1953525166 976762552 7 HPFS/NTFS/exFAT
dmesg output when attaching the drive (in linux):Code:$ sudo parted /dev/sde unit s print Model: WD 10EACS External (scsi) Disk /dev/sde: 1953525168s Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 63s 1953525166s 1953525104s primary
Code:[ 7792.905572] usb 1-1.2: new high-speed USB device number 5 using ehci-pci [ 7792.998930] usb 1-1.2: New USB device found, idVendor=1058, idProduct=1100 [ 7792.998932] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 7792.998934] usb 1-1.2: Product: My Book [ 7792.998935] usb 1-1.2: Manufacturer: Western Digital [ 7792.998936] usb 1-1.2: SerialNumber: 57442D574341534A30393431333733 [ 7792.999363] scsi7 : usb-storage 1-1.2:1.0 [ 7793.998087] scsi 7:0:0:0: Direct-Access WD 10EACS External 1.65 PQ: 0 ANSI: 4 [ 7793.999008] sd 7:0:0:0: Attached scsi generic sg5 type 0 [ 7794.001221] sd 7:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB) [ 7794.002257] sd 7:0:0:0: [sde] Write Protect is off [ 7794.002262] sd 7:0:0:0: [sde] Mode Sense: 21 00 00 00 [ 7794.003385] sd 7:0:0:0: [sde] No Caching mode page found [ 7794.003388] sd 7:0:0:0: [sde] Assuming drive cache: write through [ 7794.006132] sd 7:0:0:0: [sde] No Caching mode page found [ 7794.006136] sd 7:0:0:0: [sde] Assuming drive cache: write through [ 7794.023054] sde: sde1 [ 7794.026132] sd 7:0:0:0: [sde] No Caching mode page found [ 7794.026137] sd 7:0:0:0: [sde] Assuming drive cache: write through [ 7794.026141] sd 7:0:0:0: [sde] Attached SCSI disk