fix(content): replace sda with nvme0n1, general layout edits

This commit is contained in:
z0x 2025-05-03 21:40:30 -04:00
parent 7d7ae30940
commit 04f7e92c7d

View file

@ -1,7 +1,7 @@
---
title: "Artix Linux install guide"
description: "Guide to installing Artix Linux with OpenRC and full disk encryption for UEFI and BIOS systems."
date: "2025-01-07"
title: Artix Linux install guide
description: Guide to installing Artix Linux with OpenRC and full disk encryption for UEFI and BIOS systems
date: 2025-01-07
---
---
@ -22,14 +22,10 @@ The goal of this guide is to set up a minimal installation of **Artix Linux** wi
## Prepare an installation medium
### Windows
Use [Rufus](https://rufus.ie/en)
### Linux
1. Insert a USB flash drive into your PC with at least 2 GB of space available on it.
2. Find the corresponding block device for the flash drive in `/dev` folder. Usually it is `/dev/sdb1`.
2. Find the corresponding block device for the flash drive in `/dev` folder. Usually it is `/dev/sdb1`
3. Write the image to the flash drive (assuming your flash drive is `/dev/sdb1`).
> [!warning]
@ -40,6 +36,10 @@ Use [Rufus](https://rufus.ie/en)
doas dd bs=4M if=~/Downloads/artix-base-openrc-*-x86_64.iso of=/dev/sdb1 conv=fsync oflag=direct status=progress
```
### Windows
Use [Rufus](https://rufus.ie/en)
---
## Boot the live environment
@ -49,7 +49,7 @@ doas dd bs=4M if=~/Downloads/artix-base-openrc-*-x86_64.iso of=/dev/sdb1 conv=fs
1. Power off your PC.
2. Insert the flash drive into the computer on which you are installing Artix Linux.
3. Power on your PC and press your _boot menu_ key.
3. Power on your PC and press your *boot menu* key.
4. Boot the installation medium.
---
@ -431,12 +431,11 @@ chmod -c 0400 /etc/doas.conf
### Check for UEFI support
> [!tip]
>If you see a bunch of files listed, use EFISTUB.
>If you see a bunch of files listed when executing the following command, use EFISTUB.
>If you do not see a bunch of files listed, your system does not support UEFI and you should use GRUB.
```sh
ls /sys/firmware/efi/efivars
```
>```sh
>ls /sys/firmware/efi/efivars
>```
### EFISTUB
@ -460,7 +459,7 @@ efibootmgr -c -d /dev/nvme0n1 -p 1 -l /vmlinuz-linux -L "Artix" -u "cryptdevice=
1. Install grub on your boot partition
```sh
pacman -S grub
grub-install /dev/sda
grub-install /dev/nvme0n1
```
2. Get the UUID of your root partition