Update install.md

This commit is contained in:
proledatarian 2022-02-07 15:32:07 +00:00
parent d571d63141
commit 5b17866297
1 changed files with 10 additions and 7 deletions

View File

@ -12,19 +12,19 @@ $ lsblk
$ gdisk /dev/sda $ 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
_# Create a new partition, accept default partition number 1 and first sector._ _Create a new partition, accept default partition number 1 and first sector._
$ n $ n
$ y $ y
$ y $ y
_# Enter partition size (second sector), 512 MB should be plenty for /boot and accept._ _Enter partition size (second sector), 512 MB should be plenty for /boot and accept._
$ +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. There should be a 512 MiB EFI system partition and a Linux filesystem filling up the rest of the space** **Print and check your partitions. There should be a 512 MiB EFI system partition and a Linux filesystem filling up the rest of the space**
@ -32,11 +32,12 @@ $ p
**Write partitions to device.** **Write partitions to device.**
$ w $ w
_# Accept._ _Accept._
$ y $ 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
**Confirm by tryping "YES".** **Confirm by tryping "YES".**
$ YES $ YES
@ -101,6 +102,8 @@ _Uncomment your language, e.g. de_DE.UTF-8 UTF-8 (and en_US.UTF-8)._
$ locale-gen $ locale-gen
_The uncommented languages should appear followed by "done"._ _The uncommented languages should appear followed by "done"._
echo KEYMAP=de-latin1 > /etc/vconsole.conf
**Add necessary HOOKS and MODULES.** **Add necessary HOOKS and MODULES.**
$ nano /etc/mkinitcpio.conf $ nano /etc/mkinitcpio.conf