Update README.md

This commit is contained in:
martin schmidt 2022-01-12 15:09:19 +00:00
parent 24178ee10b
commit 1dd649973d
1 changed files with 8 additions and 7 deletions

View File

@ -12,15 +12,15 @@ $ gdisk /dev/sda
**Create GPT and EFI-partion.** **Create GPT and EFI-partion.**
_# Creates new GPT-partition table._ _# Creates new GPT-partition table._
$ o $ o
_Accept._ _# Accept._
$ y $ y
_New partition._ _# New partition._
$ n $ n
_512 MB should be plenty for /boot._ _# 512 MB should be plenty for /boot._
$ +512M $ +512M
_Mark as EFI._ _# Mark as EFI._
$ ef00 $ ef00
_New main partition, accept all the following using "y"._ _# New main partition, accept all the following using "y"._
$ n $ n
**Print and check your partitions.** **Print and check your partitions.**
@ -28,7 +28,8 @@ $ p
**Write partitions to device.** **Write partitions to device.**
$ w $ w
$ y # _Accept._ _# Accept._
$ y
**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