how do i salvage unerased data on my hard drive?
i have a 120GB hard drive connected to my linux machine through a usb
2.0 because i'm trying to figure out if there is anything salvagable on
it. i think i accidentally erased some stuff on there (repartitioned
a portion of it on accident?) in windows and i
hope i can save what is left. here is some output that might give a good
status of things:
-----------------------------------
Code:
[root@localhost nickleus]# /sbin/fdisk -l
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 7296 58500697+ 8e Linux LVM
Disk /dev/sda: 120.0 GB, 120034123776 bytes
191 heads, 63 sectors/track, 19483 cylinders
Units = cylinders of 12033 * 512 = 6160896 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5490 33027624 4 FAT16 <32M
Disk /dev/sda1: 33.8 GB, 33820286976 bytes
191 heads, 63 sectors/track, 5489 cylinders
Units = cylinders of 12033 * 512 = 6160896 bytes
Device Boot Start End Blocks Id System
/dev/sda1p1 * 1 5490 33027624 4 FAT16 <32M
---------------------------------------------------
i think the 33.8GB is the portion i somehow repartioned/erased in winxp,
so i think that is all erased, but how do i access/mount the rest?
when i run:
Code:
mount -t vfat /dev/sda /mnt /usbhdsda
i get the following error:
Code:
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
i've tried also mounting it as ntfs (have installed the rpm) and msdos
too and get the same message. and what does sda1p1 mean?
here's my output from dmesg:
Code:
NTFS-fs error (device sda1): read_ntfs_boot_sector(): Primary boot
sector is invalid.
NTFS-fs error (device sda1): read_ntfs_boot_sector(): Mount option
errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device sda1): ntfs_fill_super(): Not an NTFS volume.
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda.
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda1.
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda1.
Any help will be greatly appreciated. the info i might have lost is old family pictures and videos and precious stuff like that =(
Nick