Re: UEFI grub install fails
On Mon 18 Aug 2025 at 00:31:13 (-0700), Van Snyder wrote:
> On Sun, 2025-08-17 at 15:49 -0400, Felix Miata wrote:
> > Van Snyder composed on 2025-08-17 12:31 (UTC-0700):
> >
> > > I found a page that says "The error has been seen when the
> > > /EFI/ubuntu
> > > directory is corrupted (bug 1090829)." Of course, I'm trying to
> > > install
> > > Debian but maybe there's a clue there — if only I knew where to
> > > read
> > > about bug 1090829.
> >
> > 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 don't think you've posted your new layout, so I'm only guessing.
It's not the size of the disk (<2TB), but you did have the EFI in a
logical partition, not a primary one. AFAIK that's not necessarily
out of specification, but it might not be supported by your
particular machine's firmware.
Cheers,
David.
Reply to: