nbros652 / LUKS-guided-manual-partitioning

Easily install Ubuntu with FDE and semi-manual partitioning
GNU General Public License v3.0
32 stars 13 forks source link

include another SSD than the system-SSD during installation? #9

Open brainbow1 opened 3 years ago

brainbow1 commented 3 years ago

Hello! there are two SSDs in my notebook:

System-SSD:

(I encrypted during Installation with this script: https://github.com/nbros652/LUKS-guided-manual-partitioning )

NAME                MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme1n1             259:0    0 232,9G  0 disk  
├─nvme1n1p1         259:1    0   500M  0 part  /boot
├─nvme1n1p2         259:2    0   200M  0 part  /boot/efi
└─nvme1n1p3         259:3    0 232,2G  0 part  
  └─nvme1n1p3_crypt 253:0    0 232,2G  0 crypt 
    ├─vg0-swap      253:1    0    32G  0 lvm   [SWAP]
    ├─vg0-root      253:2    0    60G  0 lvm   /
    └─vg0-home      253:3    0 140,2G  0 lvm   /home

Data-SSD:

(I encrypted after Installation via GUI / gnome-disk-utility, chose the same passphrase as for the System-SSD, and also chose that the password should never be forgotten so I dont have to type it everytime after logging in)

nvme0n1                          259:4    0 953,9G  0 disk  
└─nvme0n1p1                      259:5    0 953,1G  0 part  
  └─luks-c73ebdf1-b261-427e-b1ab-b4d51f2d827d
                                 253:4    0 953,1G  0 crypt /media/xubuntu/DATA

now, the Situation is:

When I boot, I have to type the passphrase for the system-SSD, then login into the Xfce-Session with my user-password.

After that, as long as I don't open the Data-SSD, it remains unmounted. When I doubleclick it, it becomes mounted and decrypted and I can use it like normal.

The problem is, that my Cloud-Folder on the Data-SSD, that is synced with my other machines via Seafile-Client, is not recognized anymore after startup and I have problems with synchronizing.

That's why I think I have to reach, that the Data-SSD is gonne be mounted immediately after the System-SSD, during boot-process.

Or could I type something during the installation process with the script, that gives me the ability to create the same lvm-volumegroups with logical volumes within, but on the other SSD, that I want to use as Data-SSD, separated from the OS. So in the end there should be a volume group (LVM) with a logical volume on my Data SSD, which is also mounted when the System-SSD is mounted during boot, and stays mounted as well....

any help is highly appreciated!