but when I opened gparted it told me something like "Error: can't have overlapping partitions" and showed all my Hd in blank to make partitions on it.
Which didn't make any sense to me (I was using all my partitions without any problem).
Gparted is pretty picky. If a partition table does not follow all the formal rules of a partition table, gparted will show the whole drive as unallocated, even if you don't have any problems with your partitions.
Anyway, it seems something went wrong when you fixed the partition table with testdisk. But there is a good chance that testdisk will be able to fix the problems it caused.
So boot from your Live CD, download the testdisk-6.10.linux26.tar.bz2 package to your desktop, and then do:
Code:
cd ~/Desktop
tar xvf testdisk-6.10.linux26.tar.bz2
sudo testdisk-6.10/linux/testdisk_static /dev/sda
(here /dev/sda needs to be replaced by the device name of your Ubuntu drive. It probably is "/dev/sda" but you should check with "sudo fdisk -lu")
After starting testdisk with the above command, choose
"Proceed",
"Intel",
"Analyze",
"Quick search",
Press "Y" (to search for Vista partitions)
Press "Enter" to continue,
select "Deeper Search" (so it does a deeper search, which could take a while)
Please post the output of the screen that has the deep search results. Also, use your up/down arrow keys to select each partition listed in the deep search results, and press "p" to get a directory listing; please let me know exactly which partitions give you a directory listing.
In addition, post the output of
Code:
sudo fdisk -lu
sudo sfdisk -d
Bookmarks