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".

Reply via email to