Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next 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:24] – 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 | ||
+ | |||
+ | nano / | ||
+ | |||
+ | # <target name> <source device> <key file> < | ||
+ | |||
+ | # options used: | ||
+ | |||
+ | # | ||
+ | |||
+ | # | ||
+ | |||
+ | # | ||
+ | |||
+ | # | ||
+ | |||
+ | crypt PARTLABEL=crypt none luks, | ||
+ | |||
+ | update-initramfs -k all -c | ||
+ | |||
+ | reboot | ||
+ |