Ok, thank you all very much for your answers and your interest. I guess my better option is to format the HD and reinstall everything from scratch. The only problem is that I don't have any place to move my DATA, so I think I will try some other things first, like those ones Mark Phelps talks about (thanks).
I think the whole problem came with Partition Magic trying to fix the info in the partition table. GParted never said anything on that, and everything went fine. Isn't there some way to make GParted "look" at the drive and figure out how partitions were configured? I see it has a "Try to recover data" function, could that help me?
About santosh83 questions:
What about the swap partition for Ubuntu? Did you allocate one?
I don't remember doing it when I installed Ubuntu. If I configured such a partition, though, GParted never showed it.
What was the order of the partitions on your disk, before you started having these issues?
If I'm not wrong, it was:
1) Win7 recovery environment
2) Win 7
3) Empty space
4) Ubuntu
5) Data partition
That empty space came from shrinking Win 7 partition. It was then when I wanted to move Ubuntu in order to increase Data's size.
Was your HDD using MBR partition format or GPT format?
I'm sorry for my ignorance, but that sounds to me like if you were talking Japanese
Which distribution did you use to make your GParted bootable USB?
I did it in Windows Seven...
In each case what if any were the error messages displayed? Did you get to the Grub menu screen without problems?
The Grub starts without any problem at all. It even shows me the Windows 7 and the Recovery tool options. When I select any of them, though, I get to a screen telling me that Win 7 is unable to load. When I choose the "Try to repair" option, though, it is unable to do anything.
Did you try displaying your partitions using other tools like sfdisk (try sfdisk -l /dev/sda or /dev/hda to display partitions and sfdisk -V /dev/sda or /dev/hda to make it do a consistency check) or fdisk? Do they report the same kind of errors gparted is showing? What does the output of mount command display? Also try cat /proc/partitions.
sfdick -l /dev/sda shows me this
Code:
Disc /dev/sda: 77825 cilindres, 255 capçals, 63 sectors/pista
Unitats = cilindres de 8225280 octets, blocs de 1024 octets, contant des de 0
Disp. Arr. Inici Final #cil. #blocs Id Sistema
/dev/sda1 0+ 3263 3264- 26217056 1c W95 FAT32 (LBA) oculta
/dev/sda2 * 3263+ 9000 5738- 46085108+ 7 HPFS/NTFS/exFAT
/dev/sda3 36682+ 77825- 41143- 330480640 7 HPFS/NTFS/exFAT
/dev/sda4 28862+ 36682- 7821- 62814208 83 Linux
sfdick -l /dev/sda says "Warning: partitions 1 and 2 overlap" (actually I don't know if overlap is the right word, I have Ubuntu in catalan and he says "encavalquen", but I'm pretty sure is the right translation)
With /dev/hda I get an error: such directory doesn't exists, either I try with -l or -V.
The last time did you try the GParted from within your Ubuntu system (which will not allow modifications since partitions will be mounted) or from a LiveCD/USB?
I first made the partitions while installing Ubuntu from a Live CD, and since then I used GParted from within Ubuntu.
PD: Thanks again for the answers. And, by the way, Im sorry if I make any grammar mistakes, English is not my mother language.
Bookmarks