dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition [01.04.2021 17:24]
Pascal Suter
dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition [01.04.2021 17:36] (current)
Pascal Suter
Line 35: Line 35:
 open a terminal open a terminal
  
-mount /dev/mapper/crypt2 /mnt/+mount /dev/ubuntu-vg/root /mnt
  
 mount PARTLABEL=boot /mnt/boot/ mount PARTLABEL=boot /mnt/boot/
Line 42: Line 42:
  
 chroot /mnt chroot /mnt
 +
 +blkid /dev/nvme0n1p6
  
 nano /etc/crypttab nano /etc/crypttab
Line 57: Line 59:
 #     loud    - display all warnings #     loud    - display all warnings
  
-crypt PARTLABEL=crypt none luks,discard+crypt UUID="879761ba-42bc-455a-9126-fd21fa386f07" none luks,discard
  
 update-initramfs -k all -c update-initramfs -k all -c
 +
 +exit
  
 reboot reboot
  
  
  • dualboot_ubuntu_and_windows_with_encrypted_ubuntu_partition.txt
  • Last modified: 01.04.2021 17:36
  • by Pascal Suter