I installed Ubuntu 22.04 LTS on a USB stick. So now I can boot from the USB stick and install Ubuntu or try it out.
I want to install it on another USB stick to have a portable Linux I can run everywhere. With try Ubuntu I always have to do too many changes after starting it. After installation on the other USB stick I can boot but Ubuntu changed the boot order, by default my laptop will now boot from the USB stick.
If I choose Ubuntu in the boot menu Ubuntu starts fine. If I select Windows windows fails and goes into startup recovery.
If I change the boot order and set windows bootloader on top, windows boots fine If I boot and hit F12 to change the boot order temporarily and then choose my USB device the boot of Ubuntu fails and I end up in PC recovery. If I select Ubuntu int the menu of boot devices, Ubuntu boots fine.
So on my laptop I know what to do to boot Ubuntu or Windows. But I like to use that stick to boot on another laptop and I will not have Ubuntu in the list of bootable devices but I will see the USB stick.
Did the installation did write something on my disk in the laptop, I do not know. How to enable the boot from USB to boot Ubuntu. How to delete the Ubuntu device from the list of bootable devices?
My laptop is a Lenovo X1 Extreme 2nd gen with windows 11.