Groups | Search | Server Info | Login | Register


Groups > linux.debian.maint.boot > #72425

Bug#1034812: Unbootable after install: UEFI installed to wrong ESP

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.boot
Subject Bug#1034812: Unbootable after install: UEFI installed to wrong ESP
Date 2024-05-09 15:10 +0200
Message-ID <ICbH3-calL-7@gated-at.bofh.it> (permalink)
References <IC9Ff-c8OU-3@gated-at.bofh.it> <GodWN-4hYW-1@gated-at.bofh.it> <IC9Ff-c8OU-3@gated-at.bofh.it>
Organization Plouf !

Cross-posted to 2 groups.

Show all headers | View raw


On 09/05/2024 at 12:42, Jmkr wrote:
> 
> - I archived "/boot/efi/EFI/debian/grubx64.efi" from "/dev/sda1" to "/
> Archive.tar".
> 
> - Then, I unmounted "/dev/sda1" from "/boot/efi" and mounted "/dev/sdb1" to
> "/boot/efi" and extracted "/Archive.tar" in "/boot/efi" again.
> 
> - Later I changed UUID of ESP in "/etc/fstab" file to that of ESP on "/dev/
> sdb1".
> 
> - Finally using EFIBOOTMGR I deleted the EFI boot entry my system used and
> created a new entry for ESP on "/dev/sdb1".

You could just run grub-install to reinstall GRUB into the new ESP and 
register it in EFI boot variables.

> Do the fixes mentioned above also address the manual partitioning case?

No, because in manual partitioning it is up to the user to decide which 
ESP(s) is/are suitable for the installation, and set the others as "do 
not use".

Back to linux.debian.maint.boot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Bug#1034812: Unbootable after install: UEFI installed to wrong ESP Jmkr <jmkrnet@email.cz> - 2024-05-09 13:10 +0200
  Bug#1034812: Unbootable after install: UEFI installed to wrong ESP Pascal Hambourg <pascal@plouf.fr.eu.org> - 2024-05-09 15:10 +0200
    Bug#1034812: Unbootable after install: UEFI installed to wrong ESP Jmkr <jmkrnet@email.cz> - 2024-05-10 01:00 +0200
      Bug#1034812: Unbootable after install: UEFI installed to wrong ESP Pascal Hambourg <pascal@plouf.fr.eu.org> - 2024-05-10 08:10 +0200
        Bug#1034812: Unbootable after install: UEFI installed to wrong ESP Jmkr <jmkrnet@email.cz> - 2024-05-17 13:30 +0200
          Bug#1034812: Unbootable after install: UEFI installed to wrong ESP Pascal Hambourg <pascal@plouf.fr.eu.org> - 2024-05-17 15:10 +0200
            Bug#1034812: Unbootable after install: UEFI installed to wrong ESP Jmkr <jmkrnet@email.cz> - 2024-05-28 21:20 +0200

csiph-web