docs: update Archguide

This commit is contained in:
Administrator 2019-11-06 00:07:47 +00:00 committed by FOSC
parent 15557de239
commit fa840c3c9f

View File

@ -2,7 +2,7 @@
title: Arch Linux Install guide
description:
published: true
date: 2019-11-06T00:05:28.474Z
date: 2019-11-06T00:07:46.356Z
tags:
---
@ -94,24 +94,7 @@ options root=/dev/sda2 rw
However, don't reboot just yet. There are still some things to do before getting into a properly running system.
While we are in the subject of the kernel options cmdline, let's enter...
#### The PARTUUID dilemma
> Using partition names to boot instead of their unique indetifiers will cause the OS not to boot if (when) the partition count or disk order of the computer changes.
> It may change even across reboots. To avoid this issue, extract your partition's `PARTUUID` using `blkid` and edit your options line accordingly.
{.is-danger}
```
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID="9b505600-2d6a-3660-b0c3-d2dfd653c5fd" rw
```
> As long as your firmware doesn't change disk order randomly, **and you know what to touch if it breaks**, this step can be done later.
{.is-info}
There is a [big caveat]() here which is good to read.
## Configuring the system so it's usable
### Language
@ -146,8 +129,6 @@ reboot
```
# btw I use arch
*but it sucks, blackscreens and lasts 5 minutes on battery*
@ -211,6 +192,22 @@ systemctl enable --now tlp tlp-sleep
systemctl mask systemd-rfkill.socket
```
## The PARTUUID dilemma
> Using partition names to boot instead of their unique indetifiers will cause the OS not to boot if (when) the partition count or disk order of the computer changes.
> It may change even across reboots. To avoid this issue, extract your partition's `PARTUUID` using `blkid` and edit your options line accordingly.
{.is-danger}
```
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID="9b505600-2d6a-3660-b0c3-d2dfd653c5fd" rw
```
> As long as your firmware doesn't change disk order randomly, **and you know what to touch if it breaks**, you can ignore this.
>
> *For now.*
{.is-info}
## NVIDIA Optimus
Install `nvidia` and `nvidia-utils` as normal.
@ -239,4 +236,3 @@ More information [can be found at the usual place](https://wiki.archlinux.org/in