Score:0

Ubuntu 20.04 alongside xubuntu 20.04 both encrypted with LUKS

bg flag

I need to install Xubuntu and Ubuntu on the same harddrive both of them need to be encrypted separately. Is it possible?

While installation there is no option "Install alongside" only "erase everything" or "sth else".

I was trying to just install first system with encrypted mount point on / and second partition /boot. And repeat that thing in second installation but after second installation the first system is not visible on startup.

EDIT: Here is screen how I made my partitions, actually they are encrypted how I wanted, but I don't know which files should I edit to make them both visible on startup.

MY_PARTITIONS

STARUP

Regards

bg flag
@guiverc I encrypted them properly I have issue with dual-boot rather.
PrakashS avatar
mx flag
Instead of two luks partitions, create two volumes using lvm inside single encrypted partition. Install the two distros one after another by unlocking luks each time, with separate boot partitions outside of luks. Edit crypttab file accordingly and update initramfs, grub using chroot after installation in live environment.
bg flag
@PrakashS Is there any tool that allows to do that? Ubuntu installer does not have lvm options, partitionmanager has only encrypted lvm on which I cannot create another partition. And which things should I update in crypttab, initramfs and grub? Maybe is that possible to run both of them from 1 boot partition?
bg flag
Ok finally I was able to make dual boot thanks to this post: https://askubuntu.com/a/1128696/1519223
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.