Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to resize an external ntfs hard drive, so that I could make room at the front of the disk for a swap partition. At the end of the process gparted encountered an error. It couldn't see my disk again until I rebooted the system. Now, when it looks at the hard drive, it sees it as one big unpartitioned hard drive.

I'm pretty sure all the data is still there, uncorrupted. I just can't access it. How can I fix this?

share|improve this question
up vote 1 down vote accepted

I used some old tools from Acronis (I don't remember the whole name), but you can try this utity: Partition recovery

Or you can try to use this utility under Linux: PartImage . If you have no idea how to start it - the most simplest way is Live CD SystemRescueCD

share|improve this answer

I would use testdisk, that way you can retrieve just the files you need. If you have the space, always use the Linux/UNIX dd utility to make a backup of your disk. If you use gzip compression, any unused space or text files should compress very well.

dd example with gzip compression (make sure the drive is NOT mounted first):

mount | grep [/dev/sdb|`vol_id --uuid /dev/sdb`]
sudo dd if=/dev/sdb | gzip -c > /path/to/image.img

now you can run testdisk (exits for Windows, Mac OS X, and Linux among other platforms)

sudo testdisk /dev/sdb

Follow the instructions ...

See for more inforation on testdisk and for more info on dd.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .