Saturday, 4 January 2020

How to extend partition size in linux(ubuntu 9.04)?


I am using Ubuntu 9.04 in vmware for my programming purpose. I previously had 12GB of virtual harddisk, my partition scheme was as follows,




8GB Primary Partition for (/)


2GB logical extended partition for home


2GB logical extended partition for swap




Now I need 20 GB more space for my (/) Partition. So I added 20GB to my virtual harddisk so now, my partition scheme was as follows,




8GB Primary Partition for (/)


2GB logical extended partition for home


2GB logical extended partition for swap


20GB unpartotioned space.




can you please tell me is it possible to make my Primary partition (/) to 28 GB, If yes tell me how?


It would be great if you can tell me some GUI software, otherwise for commandline please elaborate little more. :)


Thanks.



Answer



You can increase the size of the virtual machine's disk capacity with the command-line tools provided with VMWare:


/usr/bin/vmware-vdiskmanager -x 28GB /path/to/VM_Name.vmdk

replacing /path/to/VM_Name.vmdk with the path & name of your virtual disk file.


Then, increase the virtual disk with a GParted bootable ISO (boot from it with the VM).


Full guide found here.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...