I had an existing Linux on a disk with free space. The existing
/ partition was too small, so I created new partitions for
/ and separate
rsynced files over - from old
/ to new
How do I instruct the existing boot loader to add an option for the new Linux, or install a new EFI/UEFI option alongside the other option?
To make things complicated, the
/ partitions are encrypted with
# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 234.3G 0 disk ├─sda1 8:1 0 100M 0 part /boot/efi ├─sda2 8:2 0 556M 0 part /boot ├─sda3 8:3 0 21.4G 0 part │ └─sda3_crypt 254:0 0 21.4G 0 crypt / └─sda4 8:4 0 120.5G 0 part └─lvm_vol 254:1 0 120.5G 0 crypt ├─lvm_swap 254:2 0 8G 0 lvm ├─lvm_linux 254:3 0 22G 0 lvm └─lvm_home 254:4 0 52.8G 0 lvm
lvm_linux) and old (on
sda3_crypt) are Ubuntus, the new one
LUKS, the old one simply
LUKS. Currently I cannot boot the new one.
I am sure the question is not specific to Ubuntu (but instead concerns (U)EFI and its boot loaders on LUKS+LVM), therefore I am asking it here.
EDIT: The system boots with (U)EFI which means I need a modified EFI configuration and possibly, files in the