0

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?

9
  • If it was me I would re install without the external drive attached.
    – David
    Sep 6, 2021 at 12:46
  • reinstall Ubuntu? And then what? copy back my disk image over this new installation?
    – Guytas
    Sep 6, 2021 at 14:19
  • If the system works without the external disk connected. Disconnect the external hard drive. Reinstall Grub on Ubuntu, selecting the internal disk as the installation site.
    – kyodake
    Sep 6, 2021 at 14:45
  • Check your fstab? It may have wrong UUID for ESP? Or check UEFI and partUUID of UEFI boot entry. cat /etc/fstab & sudo efibootmgr -v and lsblk -f -o +PARTUUID UEFI uses GUID aka partuuid
    – oldfred
    Sep 6, 2021 at 15:08
  • Thanks kyodake. But I did reinstalled Grub several time already.
    – Guytas
    Sep 6, 2021 at 16:27

1 Answer 1

0

For information only... I finally ended up by re-installing Ubuntu on the local drive, while the external drive was unpluged. Now it is working.

I wish I could boot-repaired it. I started re-installing every software from scratch. At least now, it is working like a charm!

2
  • The question should probably be closed since reinstalling Ubuntu is generally not a helpful answer. Glad to hear that the problem is resolved though.
    – Nmath
    Sep 10, 2021 at 4:19
  • You’re completely right Nmath. By « closing it » you mean delete? I can delete it but i get a message that i should not do that... i wish i had find better solution but...
    – Guytas
    Sep 10, 2021 at 12:46

Not the answer you're looking for? Browse other questions tagged .