Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition [01.04.2021 15:23] – created Pascal Suter | dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition [01.04.2021 17:36] (current) – Pascal Suter | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== dualboot ubuntu and windows with encrypted ubuntu partition ====== | ====== dualboot ubuntu and windows with encrypted ubuntu partition ====== | ||
| - | https:// | + | |
| + | [[https:// | ||
| + | |||
| + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | ||
| + | |||
| + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | ||
| + | |||
| + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | ||
| + | |||
| + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | ||
| + | |||
| + | cryptsetup luksFormat --type=luks1 / | ||
| + | |||
| + | cryptsetup open / | ||
| + | |||
| + | pvcreate / | ||
| + | |||
| + | vgcreate ubuntu-vg / | ||
| + | |||
| + | lvcreate -L 8G -n swap ubuntu-vg | ||
| + | |||
| + | lvcreate -l 100%FREE -n root ubuntu-vg | ||
| + | |||
| + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | ||
| + | |||
| + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | ||
| + | |||
| + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | ||
| + | |||
| + | {{dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition: | ||
| + | |||
| + | next, click on " | ||
| + | |||
| + | open a terminal | ||
| + | |||
| + | mount / | ||
| + | |||
| + | mount PARTLABEL=boot / | ||
| + | |||
| + | for i in dev proc sys etc/ | ||
| + | |||
| + | chroot /mnt | ||
| + | |||
| + | blkid / | ||
| + | |||
| + | nano / | ||
| + | |||
| + | # <target name> <source device> <key file> < | ||
| + | |||
| + | # options used: | ||
| + | |||
| + | # | ||
| + | |||
| + | # | ||
| + | |||
| + | # | ||
| + | |||
| + | # | ||
| + | |||
| + | crypt UUID=" | ||
| + | |||
| + | update-initramfs -k all -c | ||
| + | |||
| + | exit | ||
| + | |||
| + | reboot | ||
| + | |||