I installed Ubuntu 22.04 on an external hard drive. it works perfectly fine but I if I unplug the external hard drive grub still shows up(but it's like a terminal). also in the boot menu there are two devices with the same name(the internal hard drive), one is Windows and one is grub. I think that I accidentally installed Ubuntu on the external hard drive but grub on the internal hard drive. is there a way to remove grub from the internal hard drive and install it on the external hard drive that already has Ubuntu?
Thanks