chore(content): syntax

This commit is contained in:
z0x 2025-02-01 22:48:02 -05:00
parent f47f3302ee
commit 54d507bc39

View file

@ -116,8 +116,8 @@ pacman -Sy gdisk
2. Partition your drive. You can find your drive name using the `lsblk` command. 2. Partition your drive. You can find your drive name using the `lsblk` command.
> [!Note] > [!Note]
> I will be using `nvme0n1` as my drive throughout this guide, please adapt it to your disk name. > `nvme0n1` will be used as the target install drive throughout this guide, adapt it to your drive name.
> If you have an hdd, your drive name may ressemble something like `sda`. > If you have an hdd, your drive will start with `sda`.
``` ```
gdisk /dev/nvme0n1 gdisk /dev/nvme0n1
@ -174,7 +174,7 @@ nvme0n1 259:0 0 465,8G 0 disk
1. Encrypt your root partition. 1. Encrypt your root partition.
> [!Tip] > [!Tip]
>Make sure to to enter a secure passphrase and to write it down in a secure place as you will not be able to change it later >Make sure to enter a secure passphrase and to write it down in a secure place as you will not be able to change it later
``` ```
cryptsetup luksFormat /dev/nvme0n1p2 cryptsetup luksFormat /dev/nvme0n1p2
@ -313,7 +313,7 @@ EOF
> [!Note] > [!Note]
>Feel free to change `en_DK.UTF-8` to your preferred locale such as `en_US.UTF-8` or `en_GB.UTF-8` >Feel free to change `en_DK.UTF-8` to your preferred locale such as `en_US.UTF-8` or `en_GB.UTF-8`
1. Un-comment `en_DK.UTF-8` 1. Uncomment `en_DK.UTF-8`
``` ```
nano /etc/locale.gen nano /etc/locale.gen
``` ```
@ -497,7 +497,7 @@ cryptdevice=UUID=xxxx:root root=/dev/mapper/root
GRUB_CMDLINE_LINUX="cryptdevice=UUID=550e8400-e29b-41d4-a716-446655440000:root root=/dev/mapper/root" GRUB_CMDLINE_LINUX="cryptdevice=UUID=550e8400-e29b-41d4-a716-446655440000:root root=/dev/mapper/root"
``` ```
5. Un-comment `#GRUB_ENABLE_CRYPTODISK=y` 5. Uncomment `#GRUB_ENABLE_CRYPTODISK=y`
6. Generate the config file. 6. Generate the config file.
``` ```
@ -540,7 +540,7 @@ doas sh -c "curl https://archlinux.org/mirrorlist/all -o /etc/pacman.d/mirrorlis
doas nano /etc/pacman.d/mirrorlist-arch doas nano /etc/pacman.d/mirrorlist-arch
``` ```
3. Un-comment the first server entries under the worldwide section 3. Uncomment the first server entries under the worldwide section
4. Edit `/etc/pacman.conf` 4. Edit `/etc/pacman.conf`
``` ```
@ -567,7 +567,7 @@ doas sh -c "rankmirrors -v -n 5 /etc/pacman.d/mirrorlist.bak > /etc/pacman.d/mir
``` ```
### AUR ### AUR
#### Install Paru #### Install paru
``` ```
doas pacman -S --needed base-devel doas pacman -S --needed base-devel