I have an empty external hard drive (EHDD) and a usb stick with the ubuntu installation. I want to boot from the usb stick and install ubuntu on the EHDD but be able to unplug the EHDD and boot windows 10 like I normally do.
The problem comes from something I read about installing ubuntu on a device with UEFI, which I know my device has. This is the article
https://www.dionysopoulos.me/portable-ubuntu-on-usb-hdd/
This is the relevant bit
Unfortunately the Ubuntu Installer assumes that you want a dual booting configuration alongside Windows. Therefore it adds itself (actually, the bootloader it uses, GRUB2) to your computer’s UEFI configuration. This causes two problems. For starters, the external HDD is not portable as you cannot boot with it on another computer. Secondly, if you remove this external HDD your Windows won’t boot. Bummer. We have to fix that.
I don't know if this part of the article applies to my situation.
I am not sure if the grub installation would edit my UEFI settings. this is because my sata controller is currently set to the AHCI setting, so the ubuntu installation usb stick can't even see my internal SSD.
Hopefully I can figure out if I will still be able to boot from windows 10 normally.