Update README.md

This commit is contained in:
martin schmidt 2022-01-12 15:05:36 +00:00
parent 01e93e66d8
commit d30978786a
1 changed files with 7 additions and 7 deletions

View File

@ -10,19 +10,19 @@ $ lsblk
$ gdisk /dev/sda $ gdisk /dev/sda
**Create GPT and EFI-partion.** **Create GPT and EFI-partion.**
$ o # _Creates new GPT-partition table._ $ o# _Creates new GPT-partition table._
$ y # _Accept._ $ y # _Accept._
$ n # _New partition._ $ n # _New partition._
$ +512M # _512 MB should be plenty for /boot._ $ +512M # _512 MB should be plenty for /boot._
$ ef00 # _Mark as EFI._ $ ef00 # _Mark as EFI._
$ n # _New main partition, accept all the following using "y"._ $ n # _New main partition, accept all the following using "y"._
**Print and check your partitions.** **Print and check your partitions.**
$ p $ p
**Write partitions to device.** **Write partitions to device.**
$ w $ w
$ y # _Accept._ $ y # _Accept._
**Encrypt primary partition.** **Encrypt primary partition.**
$ cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sda2 $ cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sda2