docs: update Archguide

This commit is contained in:
Administrator 2019-11-05 23:03:28 +00:00 committed by FOSC
parent dfd9f3e852
commit 436a64bb32

View File

@ -2,22 +2,40 @@
title: Arch Linux Install guide
description:
published: true
date: 2019-06-20T08:41:15.282Z
date: 2019-11-05T23:03:27.006Z
tags:
---
# Let's start.
# btw I install arch
This assumes your target disk is /dev/sda, you are running UEFI, you want rEFInd because it's cool, you are wired into ethernet for the install process, you use US keyboard, and mostly understand english
> This **turbo install guide** makes a lot of assumptions on what you want and doesn't cover many real world setups. Always follow the [official wiki](https://wiki.archlinux.org/index.php/Installation_guide) if in doubt.
{.is-info}
Alternatively, check out [our installer](https://git.fosc.space/fosc/fosc-arch-installer)
Alternatively, check out [our installer](https://git.fosc.space/fosc/fosc-arch-installer) when it's ready.
## Partitioning
To partition disks, always use `cgdisk` unless you have a good reason not to. It's just the best, like a 🦈.
cgdisk /dev/sda
> Find the names of your disks using `lsblk`
{.is-info}
In this guide, the first SATA disk (`sda`) is used. On a modern computer, you may use `nvme0n1` or even `mmcblk0` on embedded systems.
`cgdisk /dev/sda`
Try to make it look something like:
```
/dev/sda1 200M (ef00) /boot
/dev/sda2 $REST_OF_HDD (8300) /
```
The first partition will store the bootloader and the kernel, and will be read by the UEFI to boot. The second one will contain Arch.
Format the partitions and mount them.
> On an SSD, `f2fs` is recommended instead of `ext4` for unparalled speed.
{.is-info}
```
mkfs.vfat -F 32 /dev/sda1