typo, and delete some comments

This commit is contained in:
Maciej Lebiest 2021-06-29 16:04:49 +02:00 committed by GitHub
parent c1633b4785
commit 2cfd3aabbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ For setting up different locale than pl check official guide
# 1. Boot ISO # 1. Boot ISO
### Download the ISO file from [https://www.archlinux.org](https://www.archlinux.org/) ### Download the ISO file from [https://www.archlinux.org](https://www.archlinux.org/)
### Put on pedrive ### Put on pedrive
>dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux >dd if=archlinux.img of=/dev/sdX bs=16M && sync
### Boot from the usb. ### Boot from the usb.
@ -33,14 +33,14 @@ For setting up different locale than pl check official guide
2. 100% size partiton # ( encrypted optionally) for BTRFS, this partition will require formatting AFTER encryption if you do encryption 2. 100% size partiton # ( encrypted optionally) for BTRFS, this partition will require formatting AFTER encryption if you do encryption
### Swap will be as file in its own subvolume ### Swap will be as file in its own subvolume
>mkfs.vfat -F32 /dev/sdX1 # EFI partiton formatting is required >mkfs.vfat -F32 /dev/sdX1
### ----------------- encryption (optional) ------------------ ### ----------------- encryption (optional) ------------------
### Setup the encryption of the system, don't use letters outside en-us keyboard like ąęć etc. for password ### Setup the encryption of the system, don't use letters outside en-us keyboard like ąęć etc. for password
### Grub should now support luks2 ### Grub should now support luks2
## pbkdf-memory is given in KB, and here it is about 4GiB (it is maximum amount allowed by cryptsetup, check if you have enaugh RAM) ## pbkdf-memory is given in KB, and here it is about 4GiB (it is maximum amount allowed by cryptsetup, check if you have enaugh RAM)
>ccryptsetup -c=aes-xts-plain64 --key-size=512 --hash=sha512 --iter-time=3000 --pbkdf=argon2id --pbkdf-parallel=4 --pbkdf-memory=4194304 --use-random luksFormat --type=luks2 /dev/sdX2 >cryptsetup -c=aes-xts-plain64 --key-size=512 --hash=sha512 --iter-time=3000 --pbkdf=argon2id --pbkdf-parallel=4 --pbkdf-memory=4194304 --use-random luksFormat --type=luks2 /dev/sdX2
>cryptsetup luksOpen /dev/sdX2 MainPart >cryptsetup luksOpen /dev/sdX2 MainPart