I was installing Ubuntu 22.04 on my external SSD, and since I went with the default partitioning options, the installer installed the boot loader on the SSD of my PC instead! Now even if the external SSD is not connected, the Ubuntu OS is in the boot menu as an option beside the original OS on my PC. I haven’t tested it yet but I guess if I connect the external SSD to another computer, it won’t be able to boot it. How should I fix this please?
UPDATE
The original OS on my PC is fine and it boots correctly. The problem is with my external SSD now. I want to be able to boot from the external SSD for the Ubuntu instead of booting from the internal SSD of my PC.