docs: update Archguide

This commit is contained in:
Administrator 2019-06-01 21:39:25 +00:00 committed by FOSC
parent 4c68ccfa15
commit 1db2d1c326
1 changed files with 23 additions and 17 deletions

View File

@ -2,7 +2,7 @@
title: Arch Linux Install guide title: Arch Linux Install guide
description: description:
published: true published: true
date: 2019-04-23T02:14:44.760Z date: 2019-06-01T21:39:22.483Z
tags: tags:
--- ---
@ -10,6 +10,8 @@ tags:
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 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
Alternatively, check out [our installer](https://git.fosc.space/fosc/fosc-arch-installer)
## Partitioning ## Partitioning
cgdisk /dev/sda cgdisk /dev/sda
@ -17,52 +19,56 @@ cgdisk /dev/sda
/dev/sda1 200M (ef00) /boot /dev/sda1 200M (ef00) /boot
/dev/sda2 $REST_OF_HDD (8300) / /dev/sda2 $REST_OF_HDD (8300) /
`mkfs.vfat -F 32 /dev/sda1` ```
`mkfs.ext4 /dev/sda2` mkfs.vfat -F 32 /dev/sda1
mkfs.ext4 /dev/sda2
`mount /dev/sda2 /mnt` mount /dev/sda2 /mnt
`mkdir /mnt/boot` mkdir /mnt/boot
`mount /dev/sda1 /mnt/boot` mount /dev/sda1 /mnt/boot
```
## Actual install ## Actual install
Install all packages needed (add what you need!) Install all packages needed (add what you need!)
`pacstrap -i /mnt base base-devel refind-efi xorg-server gnome gnome-extra firefox networkmanager htop zsh grml-zsh-config` `pacstrap -i /mnt base base-devel refind-efi xorg-server gnome gnome-extra firefox networkmanager htop zsh grml-zsh-config`
genfstab -U /mnt >> /mnt/etc/fstab `genfstab -U /mnt >> /mnt/etc/fstab`
## Get in there to configure ## Get in there to configure
`arch-chroot /mnt /bin/zsh` arch-chroot /mnt /bin/zsh
`echo "en_US.UTF-8 UTF-8" > /etc/locale.gen` ```
`echo LANG=en_US.UTF-8 > /etc/locale.conf` echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
locale-gen locale-gen
```
## Users ## Users
```
passwd passwd
chsh root -s /bin/zsh chsh root -s /bin/zsh
useradd -m -G wheel -s /bin/zsh user useradd -m -G wheel -s /bin/zsh user
passwd user passwd user
```
## Enable services ## Enable services
systemctl enable NetworkManager ```systemctl enable NetworkManager gdm```
systemctl enable gdm
## Bootloader ## Bootloader
refind-install `refind-install`
## Kernel cmdline ## Kernel cmdline
Basically edit your boot options to be 'rw root=/dev/sda2', as sometimes rEFInd doesn't make this automatically Basically edit your boot options to be 'rw root=/dev/sda2', as sometimes rEFInd doesn't make this automatically
nano /boot/refind_linux.conf `nano /boot/refind_linux.conf`
## Git out ## Git out
exit `exit`
reboot `reboot`