Arumator Guest
|
Posted: Sat Oct 30, 2010 8:00 am Post subject: Bad External Harddisk 250 GB need assistance mounting image |
|
|
Hello, a friend of mine has passed me a harddisk that windows asks the user to format. the drive is an external WD 250 G. It refuses to mount under linux claiming the filesystem is invalid. I made a DD image to a clean drive to analyze further.
this is the output of what i have done
root@bt:~# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb0c1548c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 19458 156185600 7 HPFS/NTFS
Disk /dev/sdc: 499.4 GB, 499405291520 bytes
255 heads, 63 sectors/track, 60715 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00006223
Device Boot Start End Blocks Id System
/dev/sdc1 1 60715 487693206 7 HPFS/NTFS
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c74ae42
Device Boot Start End Blocks Id System
/dev/sdb1 1 30401 244196001 c W95 FAT32 (LBA)
above is from original drive.
the next bit of output is interesting:
this comes from dmesg:
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
input: Western Digital External HDD as /class/input/input10
generic-usb 0003:1058:0903.0002: input: USB HID v1.11 Device [Western Digital External HDD] on usb-0000:00:1d.7-1/input1
scsi 6:0:0:0: Direct-Access WD 2500JS External 100a PQ: 0 ANSI: 4
sd 6:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 6:0:0:0: [sdb] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 11 00 00 00
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 6:0:0:0: [sdb] Attached SCSI disk
now for my parted output from the image:
root@bt:/media/disk# parted recovery_image.img
GNU Parted 1.8.9
Using /media/disk/recovery_image.img
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit
Unit? [compact]? B
(parted) print
Model: (file)
Disk /media/disk/recovery_image.img: 250059350016B
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32256B 250056737279B 250056705024B primary lba
(parted)
I have tried mounting the partition using a /dev/mapper trick but it says like with a regular mount that the filesystem is wrong. so my question is what do i need to do to get that image mounted?
I have a working 500G drive with me with the image but not the original drive at this time.
|
|