Other question, I would like to format my particion where it's vmware workstation, when I install the same s.o and the vmware, could I use the same virtual machine?
Yes, the virtual machine is just a set of files in a directory - you can quite happily move it around and it will still work. All you need to do is to back up the directory and restore it (to where ever you want) and it should still work. (I tend to clone virtual machines by copying the directory rather than using the clone utility - you just need to be careful to ask for a new uuid).
Regards the disk sizing - I suspect that although the disk may now be 'physically' larger, the installed OS does not know about the increase - similarly to a partitioned physical hard drive.
Well, I don't have the virtual machine in the same partition than de OS. I thought that it's not necessary to do anything. How could I do it?
Other thing, If the OS does not know about the increase, then how could I do that the OS knows the increase?
Thanks a lot and sorry for my English!
Sounds as though you don't need to do anything with the virtual machine then - you just need to open it in Workstation once you've re-installed the OS and Workstation using the File / Open menu.
Sorry, I'm not a linux expert so I don't know how to get linux to recognise the change in disk size - there have been similar posts on this forum perhaps they explain how.
Personally; I would not extend the existing disk but I would add a second one instead (so that the virtual machine then had 2 virtual disks) - you could then just get linux to mount the 2nd virtual disk. If you have not pre-allocated the disk space for the original virtual disk then you should not lose any existing disk space on your host computer.
Thanks for your help but I need extend the actual disk and I don't need an aditional disk.
Thanks a lot!
Extending/resizing the disk does not extend/resize the partition.
If you've already extended/resized the virtual disk, go download the gParted Live CD and boot the VM from that and resize your partition. (It's all gui-based and quite easy to use)