6 lines
278 B
Text
6 lines
278 B
Text
|
CRYPT="cryptdevice=$(blkid | sed -n 's/.*nvme0n1p'$PART': \(.*\) TYPE.*/\1/p'):root root=/dev/mapper/root"
|
||
|
sed 's/GRUB_CMDLINE_LINUX_DEFAULT.*/GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel 3 $CRYPT"/' /etc/default/grub
|
||
|
|
||
|
|
||
|
|
||
|
$(blkid | sed -n 's/.*nvme0n1p'$PART': \(.*\) TYPE.*/\1/p')
|