A workaround for installing Trisquel on top of encrypted LVM in GUI mode
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Hi all,
I just installed Trisquel and I'm enjoying it!
But to get where I wanted to be I had to get over some hurdles and I thought I would share my experiences.
I saw many people asking for a way to install on top of an encrypted LVM with the GUI installer
(/boot will still go to it's own unencrypted partition).
I had to figure this out because the net installer didn't recognize the USB connected NIC on my laptop and so
that route was blocked for me and the options in the GUI installer didn't give me enough choice although the
NIC was usable there.
Anyway, here's what I did:
1) booted from the Trisquel live USB (the "try without installing" option)
2) attached an external USB hard drive (beware the data will be lost on the drive, so use an empty disk!) and
created the LVM setup for the install on that first (open a terminal and do: pvcreate /dev/sdX; vgcreate vg_system /dev/sdX; lvcrete....,
etc.) - this step is needed to have the LVM partitions available in the installer in the next step
3) started the Trisquel installation and created the /boot and encrypted partitions with the GUI installer (remember
to mark the encrypted partition to NOT be used - take away the "format to ext4" setting
4) go back to the terminal and remove the logical volume setup from the external hard drive and recreate it on the encrypted partition
(pvcreate /dev/mapper/sda2_crypt, etc.)
5) map the LVM targets in the GUI installer and finish the installation
Hope someone finds this helpful...
Is it easier (or has other advantages) over the procedure described on https://trisquel.info/en/wiki/full-disk-encryption-install ?
If so, would you please contribute to that page or to a new one? You see: your post will soon be getting deep in the forum. Many more users would potentially profit from your documentation if it is more easily accessible.
Yes, it has some advantages although it requires some extra steps in the terminal.
The normal GUI install doesn't give you full control over the layout of your LVM setup (inside the encrypted partition) and the net install
is not an option if you want to install offline or your NIC is not detected as was the case for me.
As I'm new to this forum I don't know if it would be appropriate for me to alter someone else's page, but I could do an alternate
page if this is considered helpful.
It would be helpful I believe: all contributions are welcome! :-)
- Vous devez vous identifier ou créer un compte pour écrire des commentaires