Friday, July 9, 2021

Luks partitioning

 Partition Table: gpt
Disk Flags:  

Number  Start   End    Size   File system  Name  Flags
1      1049kB  211MB  210MB  fat32              boot, esp
2      211MB   735MB  524MB  ext4               legacy_boot
3      735MB   512GB  511GB


Partition 1 mount point = /boot/efi

Partition 2 mount point = /boot

Partition 3 = luks

GRUB string:

sudo vim /etc/default/grub


linux   /vmlinuz-5.12-x86_64 root=UUID=xxx-uuid-of-root-ext4-fs-xxx rw  quiet cryptdevice=UUID=luks-partition-uuid:mapped-to-name:allow-discards root=/dev/mapper/mapped-to-name udev.log_priority=3 rd.luks.options=discard

update-grub

No comments: