I have three ssd's (ssd0, ssd1, ssd2). ssd0 and ssd1 have Ubuntu 18.04 installed on them via this procedure in the Ubuntu installer:
Erase disk and install Ubuntu
- (checked) Encrypt the new Ubuntu installation for security
- (checked) Use LVM with the new Ubuntu installation
That means I have full disk encryption, LVM and grub2 on ssd0 and ssd1 like this (output from lsbulk):
ssd0:
sdb 8:16 0 447,1G 0 disk
├─sdb1 8:17 0 512M 0 part /boot/efi
├─sdb2 8:18 0 732M 0 part /boot
└─sdb3 8:19 0 445,9G 0 part
└─sda3_crypt 253:0 0 445,9G 0 crypt
├─ubuntu--vg-root 253:1 0 445G 0 lvm /
└─ubuntu--vg-swap_1 253:2 0 976M 0 lvm [SWAP]
ssd1:
sdc 8:32 0 447,1G 0 disk
├─sdc1 8:33 0 512M 0 part /boot/efi
├─sdc2 8:34 0 732M 0 part /boot
└─sdc3 8:35 0 445,9G 0 part
└─sda3_crypt 253:0 0 445,9G 0 crypt
├─ubuntu--vg-root 253:1 0 445G 0 lvm /
└─ubuntu--vg-swap_1 253:2 0 976M 0 lvm [SWAP]
ssd2 has win10 installed on it.
Both grub2 bootloader (grub2 on ssd0 and grub2 on ssd1) recognize win10, but both grub2 bootloader do not recogize the other Ubuntu installation.
Why is that and how can I make it work?
The desired configuration would be that I still have a seperate grub2 on ssd0 and ssd1 and both should recognize the other Ubuntu (as well as win10) such that I can remove ssd0 or ssd1 and still have a a bootloader for the Ubuntu/win10 dualboot. When ssd0, ssd1 and ssd2 are connected, then I simply set in the BIOS which bootloader to use, wheter the bootloader from ssd0 or the one on ssd1.
Some probably necessary information:
- UEFI BIOS
- Partition scheme is GPT