Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition [01.04.2021 16:14] – Pascal Suter | dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition [01.04.2021 17:36] (current) – Pascal Suter | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| cryptsetup open / | cryptsetup open / | ||
| - | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | + | pvcreate / |
| - | choose the / | + | vgcreate ubuntu-vg |
| - | create | + | lvcreate -L 8G -n swap ubuntu-vg |
| - | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | + | lvcreate |
| - | next, create your root volume occupying the rest of the free space: | + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: |
| - | + | ||
| - | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | + | |
| - | rsult: | + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition:pasted_20210401-172014.png}} |
| - | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: |
| - | now find our boot partition, in our case / | + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: |
| - | + | ||
| - | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | + | |
| next, click on " | next, click on " | ||
| Line 39: | Line 35: | ||
| open a terminal | open a terminal | ||
| - | mount /dev/mapper/crypt2 | + | mount /dev/ubuntu-vg/root /mnt |
| mount PARTLABEL=boot /mnt/boot/ | mount PARTLABEL=boot /mnt/boot/ | ||
| Line 46: | Line 42: | ||
| chroot /mnt | chroot /mnt | ||
| + | |||
| + | blkid / | ||
| nano / | nano / | ||
| Line 61: | Line 59: | ||
| # | # | ||
| - | crypt PARTLABEL=crypt none luks, | + | crypt UUID=" |
| update-initramfs -k all -c | update-initramfs -k all -c | ||
| + | |||
| + | exit | ||
| reboot | reboot | ||