This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    os:lin-workstation [2023/02/08 14:04] tomas [Install Ubuntu on encrypted physical volume]  | 
                
                    os:lin-workstation [2023/02/08 15:19] (current) tomas [Nástroje]  | 
            ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| mount -a\\ | mount -a\\ | ||
| apt install -y cryptsetup-initramfs\\ | apt install -y cryptsetup-initramfs\\ | ||
| - | echo " | + | %%echo " | 
| - | echo " | + | %%echo " | 
| mkdir /etc/luks\\ | mkdir /etc/luks\\ | ||
| dd if=/ | dd if=/ | ||
| - | chmod u=rx, | + | chmod 500 / | 
| - | chmod u=r, | + | chmod 400 / | 
| - | cryptsetup luksAddKey ${DEV}y / | + | cryptsetup luksAddKey ${DEV}$BOOTPAR  | 
| - | cryptsetup luksAddKey ${DEV}Z / | + | cryptsetup luksAddKey ${DEV}$PVPAR  | 
| - | echo " | + | %%echo " | 
| - | echo "${DM}5_crypt  | + | %%echo "rootfs_crypt  | 
| update-initramfs -u -k all\\ | update-initramfs -u -k all\\ | ||
| + | |||
| + | ====Nástroje==== | ||
| + | '' | ||
| + | '' | ||
| ====Teams for Linux==== | ====Teams for Linux==== | ||