Somehow my partition on /dev/sdb has gotten all buggered up. This hard drive contains a lot of data that I need to recover and haven't been able to backup yet. When I attempt to mount it:
# mount -t ext4 /dev/sdb /world mount: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Also when I run fdisk to try see what partitions are on the hard drive:
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x25467742 Device Boot Start End Blocks Id System /dev/sdb3 * 1 1 0 0 Empty Partition 3 does not end on cylinder boundary. I have attempted to use TestDisk to try to recover my lost partition but both quick and deep scans find no partitions present.
I am able to look at the used space and all of my data is still intact on the hard drive itself, it just seems my partition is complete gone. Is there any way I can recover this data? Any tools or details that I am missing?
/dev/sdb, which is the whole disk. This is unusual, and probably not what you wanted since you say there was a partition on the disk. What does</dev/sdb tail -n +513 | file -say? If it detects a filesystem, you've just hosed your partition table and should recreate a partition starting at cylinder 1./dev/sdb tail -n +513 | file -it gives me an/dev/stdin: no read permissionerror even though I am running it as root.<.