Due to an installation misconfiguration, one of my machines had a very small /boot partition, which I always wanted to increase, but without going into too much trouble like repartitioning/reformatting the disk or reinstalling the whole system, since it was already working as it should.
Since I haven’t tried anything similar before, I decided to use GNOME Partition Editor, which I found that it is available as a package (in the usual repositories), as a LiveCD and as a LiveUSB. Jobs like this can’t be done in a live system, so I downloaded the LiveCD version (size: 50 MBytes) and I burned it in a rewritable CD.
I rebooted the system from the CD (which is a minimal Gentoo distribution with FluxBox window manager) and, after a while, the main screen of the partition editor appeared. Changing the partition sizes is very easy: all I had to do was to select the partition and press the “Resize/Move” button. After rebooting, it proved reliable too (although I already had a backup, just in case something happened).
Since I was happy with it, I tested it also with a friend’s system, who wanted to increase the size of his C:, NTFS formatted, drive (his operating system, for the last month, insisted that it had no room available to download and install the updates of the OS). Boy, 4 GBytes for the system partition are not enough these days?
Needless to say that GPartEd worked flawlessly both times.
Disclaimer: always have a working backup before doing things like that or you’ll remember Murphy’s law!
Visit The Light of the LAMP blog for more…