Home ›
Increase main partition size in Ubuntu within VMWare FusionIncrease main partition size in Ubuntu within VMWare Fusion
Submitted by Benjamin Melançon on September 7, 2010 - 6:56am
That was well nigh impossible. GUI fail, on gparted's part.
These steps won't be 100% complete because it's 7:15am and i spent the last hour frying my brain on this stuff (after the brain unilaterally called a break about 2:15am and i fell asleep), but they do fill in some gaps other resources out there don't quite cover. Some even seem to (falsely) suggest that unallocated space must be made into its own partition first. Here are some of the better links; my (final working) steps below.
Resources
- [SOLVED] Expanding an Ubuntu System Partition
- Increase the size of your VMWare disk drive (QParted, maybe easier?)
- Reload this Page How to increase the home partition size in vmwared ubuntu
- Allocate unallocated space to a linux extended partition
- Boot VMWare from CD
- VMware Fusion - Increase virtual machine size
How to increase the /dev/sda1 partition size
- Power down your virtual machine and use the VMWare Fusion Settings, Hard Disk to increase the VM's disk space allocation. Pre-allocated or not, doesn't matter. (Don't even think you're done, I'd done that step forever ago and it wasn't helping.)
- Download the gparted live CD (.iso file) from http://gparted.sourceforge.net/livecd.php
- Tell your VM to boot from that .iso- Settings CDs&DVDs, use disk image; and Settings, Advanced, Startup Device, switch from Hard Disk to CD/DVD.
- Boot your VM and accept all gparted's default options.
- In the graphical user interface for gparted, i had my main partition on the left, the swap partition inside a containing partition in the middle, and the unallocated space to the right. Partitions can only be expanded into contiguous unallocated space, and they cannot be moved around. So, the way to do it is:
- Expand the partition containing the swap partition rightward to use all the unallocated space (click resize/move, hover over the right end and drag when the cursor is an arrow).
- Move the swap partition all the way to the right within this now large partition.
- Go to the left, main partition we care about, and expand it rightward to take up the unallocated space that is now there in the front part of the swap-containing partition.
- Put your CD&DVD and boot settings back to normal.
- Boot up the virtual machine again, and enjoy all the space Ubuntu Linux now has.
Maybe someone will say i could have just created another partition and moved some stuff there, but i did not want to mess with such manual reallocation.
Searched words:
gparted allocate unallocated space to partition
vmware fusion boot from cd image
gparted live cd
vmware fusion allocate space ubuntu
ubuntu maximum partition size
gpart increase dev/sda1 partition size
Comments
Thanks!
Thanks!
Great
This post helped me to solve the same problem. Thanks.
Really nice job!!
You don't imagine the time I lost because of this... Really great job! thanks;)
Thank you
Than you very much for the information. It helped us to solve the problem.
A thousand thank-yous...
That... worked!
That works great! Thank you so much!!!
Thanks to your description, I was able to expand my Ubuntu-Disk as desired. Never tought, that it would be a difference to use GParted directly under Ubuntu or from a Live CD .-)
Little hint:
If you want to change the boot order (Point 3), press F2 during the very first seconds of the boot-process inside the VMWare-Window. Then you see something like a 'Bios', where you can change the boot sequence.
Thanks again!!!
Nice but...
Your forgot to mention between 5.b and 5.c that you have to shrink the swap-containing partition to only contain the swap part again.
Post new comment