1

Topic: Can't grow EFI partition on GParted Live USB

Originally the EFI partition was 100 MB. I was able to move 400MB unallocated space into the partition but I cannot actually resize/grow the partition. Can you please help?

256GB SSD:

/dev/sda1 fat32 /boot/efi flags: boot
/dev/sda2 ext4 linux mint
/dev/sda4 ext4 xubuntu

Thanks!

Copying the log below:

-----------------------------------------

GParted 0.23.0 --enable-online-resize

Libparted 3.2

Check and repair file system (fat32) on /dev/sda1  00:00:00    ( ERROR )
       
calibrate /dev/sda1  00:00:00    ( SUCCESS )
       
path: /dev/sda1 (partition)
start: 2048
end: 1026047
size: 1024000 (500.00 MiB)
check file system on /dev/sda1 for errors and (if possible) fix them  00:00:00    ( SUCCESS )
       
fsck.fat -a -w -v /dev/sda1
       
fsck.fat 3.0.28 (2015-05-16)
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSDOS5.0"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
1024 bytes per cluster
6654 reserved sectors
First FAT starts at byte 3406848 (sector 6654)
2 FATs, 32 bit entries
393728 bytes per FAT (= 769 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 4194304 (sector 8192)
98304 data clusters (100663296 bytes)
63 sectors/track, 255 heads
2048 hidden sectors
204800 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sda1: 26 files, 38956/98304 clusters
grow file system to fill the partition  00:00:00    ( ERROR )
       
using libparted
libparted messages    ( INFO )
       
GNU Parted cannot resize this partition to this size. We're working on it!
========================================

2

Re: Can't grow EFI partition on GParted Live USB

Unfortunately the libparted library which performs the resize operation for FAT32 file systems does not work with file systems less than 256 MB.  See the following bug:

Bug 649324 - failure to move / resize fat32 partitions less than 256 MB in size

As a work around you might consider backing up all the data in the partition, re-format to ext2, resize the ext2 partition to the correct size, re-format back to fat32, then restore your data.