[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UEFI grub install fails



On 8/18/25 00:31, Van Snyder wrote:
On Sun, 2025-08-17 at 15:49 -0400, Felix Miata wrote:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1090829
grub-efi fails to install with Input/output error

The twelve-year-old answer I found was to make sure the EFI partition
was FAT32 (mine was), at least 100 MB (mine was 500 MB), and within the
first 100 GB on the drive. Mine was last on a 1 TB drive. When I
rearranged things using gparted and put the UEFI partition early
enough, the installer worked.


Is this an unavoidable intrinsic problem with UEFI, or is it a twelve-
year-old bug in grub-install or grub-mkconfig — or whatever the Debian
installer uses?


I am used to seeing the ESP as the first partition on a disk, so your previous post caught my eye:

On 8/17/25 15:03, Van Snyder wrote:
> fdisk -l
> ...
> Device         Boot     Start        End    Sectors   Size Id Type
> ...
> /dev/nvme0n1p8 * 193429504 194545663 1116160 545M ef EFI (FAT-12/16/32)


But, that partition is within the first 100 GB and within the first 100 GiB:

2025-08-18 06:42:31 dpchrist@laalaa ~
$ perl -e 'print 194545663*512/1000/1000/1000, $/'
99.607379456

2025-08-18 06:41:47 dpchrist@laalaa ~
$ perl -e 'print 194545663*512/1024/1024/1024, $/'
92.7666010856628


Do you have a URL for the ESP specifications that you mention?


David


Reply to: