I did this myself. I have a M2 Drive with Windows 11, and a SATA SSD with Ubuntu installed. I just press my F11 key at startup (your device may vary), and select either Windows Boot Manager or the Ubuntu Drive for which one I want to boot. That way I avoid any complications from setting up dual-boot on the same drive. In the BIOS you can set which drive is the default boot drive, of course, so that whichever you want to be your primary OS, you don't have to press anything for Just use the F11 Boot Device when you want to boot the other.
So my my case, the Ubuntu install is the default boot device in the BIOS, and I press F11 and select Windows Boot Manager when I want to boot Windows 11.
If you want to assure there's no install complications, remove the other drive when doing the install. In other words, only have one drive in at a time when doing the initial install of each OS. That way no boot files get put on the other drive, etc.
(post is archived)