I am trying to dual boot pre-installed windows 11 with BitLocker enabled and Ubuntu on a 2nd SSD with its own boot partition.
In my setup, I would manually partition the 2nd SSD(The one for Ubuntu) with its own EFI boot partition and install the bootloader in the Ubuntu drive and use Grub to recognize windows and any future distro I add
I have seen some solutions online in various forums, but they vastly differ and don't seem to get a consensus. Basically, the options are:
- Disable bitlocker encryption
- Methods involving booting from the same SSD using one UEFI partition.
- Booting via bios.
I can live with 3 and 2 since the windows one is mostly for gaming but figured I would rather see if there was a workaround where I could use Grub as the bootloader and if it would recognize the windows OS even though if the system is encrypted(not sure if the UEFI is though... It did not seem so).
TLDR: Would installing Ubuntu on the second SSD and use grub to boot into windows, despite BitLocker encryption, work for this use case?
Thank you, and much appreciated.
sudo update-grub
should find Windows boot entry in Windows drive's ESP if os-prober is on. They are turning it off, or recommending you turn it off for security reasons. It normally runs once on initial install. I always turn it off as I have multiple installs, so old and I do not want them in menu. I add only the boot stanzas I want into 40_custom. Grub 2.06 turns off os-prober in /etc/default/grub, but you can turn it on temporarily as required. – oldfred Dec 28 '22 at 04:30