I first installed Ubuntu on an external drive to get familiar with it before moving it to the internal drive. So far so good but now that I moved Ubuntu on the internal drive, I cannot remove the external drive. Sounds like the EFI of the external drive is the one that is used instead of the one from the internal drive.
I tried to use boot-repair but boot-repair thinks I dont have an EFI partition on the internal drive. It is asking me to create one with the ESP and BOOT flag on. It is already there.
On the internal drive, I have Windows 10 and Ubuntu. They both runs properly and are accessed by GRUB.
How can I fix this?
cat /etc/fstab
&sudo efibootmgr -v
andlsblk -f -o +PARTUUID
UEFI uses GUID aka partuuid – oldfred Sep 06 '21 at 15:08man efibootmgr
and -b XXXX -B parameters. https://askubuntu.com/questions/1198221/cloning-ssd-also-cloned-boot-options/1198228#1198228 – oldfred Sep 06 '21 at 18:47