View Full Version : [other] partition table gone

February 23rd, 2010, 06:49 PM
I have searched and didnt find a situation like mine so i thought id ask. i have a dual boot setup on my hp pavillion windows vista /dev/sda1 and backtrack linux 3,while trying to install backtrack 4 (which is ubuntu based) i deleted the former partitons for bt3. im not quite sure what i clicked but using the ubiquity installer it deleted my partition table so now my entire drive is listed as unallocated space. i have some very important files on my windows partition other wise i would just format and start over. how can i restore the partition table and boot to windows to atleast grab the important stuff. the drive hasnt been formatted so the info is still there i just cant get to it anyone have any ideas?

February 23rd, 2010, 06:57 PM
TestDisk can do this but I haven't used it and can't give you more precise instructions. They have documentation on the website and also google might help find instructions.

February 23rd, 2010, 07:03 PM
the only problem with that is there isnt a bootable partition on the drive and i dont see a testdisc live cd any other ideas

February 23rd, 2010, 07:09 PM
There are utilities that are meant for grabbing deleted files. I think if you used one of these you could find what you need.

From this article
He seems to have recovered his files using

Good luck!

February 23rd, 2010, 07:22 PM
the only problem with that is there isnt a bootable partition on the drive and i dont see a testdisc live cd any other ideas

As far as I know it's in the repositories for ubuntu. Boot with the ubuntu cd into the live desktop and you can install it with:

sudo apt-get install testdisk

Of course, it will be there only until reboot. It's lost on reboot. But that's enough to finish the job.

February 24th, 2010, 01:19 AM
I fortunately have not needed testdisk. More info on it. It is on most recovery type CDs.

enable the "universe" repository to download testdisk
System>Administration>Software Sources>Ubuntu Software.
repairs including testdisk info & links