Expand Ubunttu boot partition in ESXi

Joined
Dec 25, 2011
Messages
50
My boot partition is at 100% and I need to expand it. It is running in ESXi and I have added more space to it.
There is no free space (or anything significant) between the boot partition and the extended partition. Using GParted, I am unable to move the extended partition. Any suggestions?

Layout:
sda1: 255MB boot partition
sda2: 21GB extended partition
sda5: 21GB LVM2 PV
5.4GB unallocated
 
What is the problem with GParted?

Before you try to expand the boot partition, you can manually clean up /boot a bit so that the package manager will actually work again. Do this by manually deleting older unused kernel image files.
Once you have delete enough, run "apt-get -f install" to finish any previous unsuccessfull installs, then run "apt-get autoremove" to correctly cleanup the old unused kernels.
 
Back
Top