After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 707419 - Gives error while checking/repairing/resizing fat32 efi partition.
Gives error while checking/repairing/resizing fat32 efi partition.
Status: RESOLVED DUPLICATE of bug 649324
Product: gparted
Classification: Other
Component: application
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2013-09-03 20:43 UTC by Aaditya Bagga
Modified: 2020-09-27 08:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
error (50.38 KB, image/png)
2013-09-03 20:43 UTC, Aaditya Bagga
Details
details of error (63.31 KB, image/png)
2013-09-03 20:44 UTC, Aaditya Bagga
Details

Description Aaditya Bagga 2013-09-03 20:43:36 UTC
Created attachment 254016 [details]
error

I have tried this operation both from my OS, I unmount the fat32 /boot/efi partition, but cannot perform any operation as mentioned in summary.

Tried this while booting from an externel OS loaded on my externel HDD, but the error persists.

After showing the error which I attach in screenshot, it automatically remounts it back to /boot/efi.
Comment 1 Aaditya Bagga 2013-09-03 20:44:30 UTC
Created attachment 254017 [details]
details of error
Comment 2 Aaditya Bagga 2013-09-03 20:45:11 UTC
This bug I found on multiple distros like Debian and Manjaro.
Comment 3 Mike Fleetwood 2013-09-03 21:40:55 UTC
Hi Aaditya,

Please
(1) [Save Details] and upload the file.
(2) Show the output of these commands:
        fdisk -l /dev/sda
        parted /dev/sda print

Thanks,
Mike
Comment 4 Aaditya Bagga 2013-09-04 21:17:56 UTC
(In reply to comment #3)
> Hi Aaditya,
> 
> Please
> (1) [Save Details] and upload the file.
> (2) Show the output of these commands:
>         fdisk -l /dev/sda
>         parted /dev/sda print
> 
> Thanks,
> Mike

running gpt here, so sudo gdisk -l /dev/sda1
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1465149168 sectors, 698.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 555E9714-3031-4B43-863B-EF891E942D5C
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1465149134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3757 sectors (1.8 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048       167774207   80.0 GiB    0700  Microsoft basic data
   2       167774208       838862847   320.0 GiB   0700  Microsoft basic Data
   3       838862848      1048168447   99.8 GiB    0700  Microsoft basic data
   4      1048168448      1048580095   201.0 MiB   0700  
   5      1048580096      1132468223   40.0 GiB    8300  Linux filesystem
   6      1132468224      1216356351   40.0 GiB    8300  Linux filesystem
   7      1216356352      1224744959   4.0 GiB     8200  Linux swap
   8      1224744960      1350574079   60.0 GiB    0700  
   9      1350574080      1465147391   54.6 GiB    0700  

parted was not installed, after installing it and running
 sudo parted /dev/sda print
Model: ATA ST750LM022 HN-M7 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name                  Flags
 1      1049kB  85.9GB  85.9GB  ntfs            Microsoft basic data
 2      85.9GB  429GB   344GB   ntfs            Microsoft basic Data
 3      429GB   537GB   107GB   ntfs            Microsoft basic data
 4      537GB   537GB   211MB   fat32
 5      537GB   580GB   43.0GB  ext4            Linux filesystem
 6      580GB   623GB   43.0GB  ext4            Linux filesystem
 7      623GB   627GB   4295MB  linux-swap(v1)  Linux swap
 8      627GB   691GB   64.4GB  ext4
 9      691GB   750GB   58.7GB  ext4
Comment 5 Curtis Gedak 2013-09-04 22:13:23 UTC
Thank you Aaditya for providing the requested output.

The error message in comment #1 indicates that the resize problem occurred with FAT32 partition /dev/sda4.  The error message text indicated the following:

   "GNU Parted cannot resize this partition to this size.  We're working
    on it!"

From the output you provided in comment #4, the fat32 /dev/sda4 partition appears to be 211 MB in size.

Unfortunately the libparted library (from the parted project) used by GParted is unable to resize FAT partitions that are smaller than 256 MB in size.

This is a known problem that has been reported upstream to the parted project, but to my knowledge this problem has not been resolved.

As such I a marking this report as a duplicate of the following report:

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

*** This bug has been marked as a duplicate of bug 649324 ***