Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tldr arch linux installation guide #4

Open
wants to merge 7 commits into
base: master
from

Conversation

Projects
None yet
5 participants
@stinethebean3
Copy link
Member

commented Mar 24, 2019

WIP Do Not Merge. Comments welcome.

@stinethebean3 stinethebean3 requested a review from lrvick Mar 24, 2019

Show resolved Hide resolved 2-Operating-Systems/1-arch.md Outdated
Show resolved Hide resolved 2-Operating-Systems/1-arch.md Outdated
Show resolved Hide resolved 2-Operating-Systems/1-arch.md Outdated
Show resolved Hide resolved 2-Operating-Systems/1-arch.md Outdated
Show resolved Hide resolved 2-Operating-Systems/1-arch.md Outdated
Show resolved Hide resolved 2-Operating-Systems/1-arch.md Outdated
Show resolved Hide resolved 2-Operating-Systems/1-arch.md Outdated
Show resolved Hide resolved 2-Operating-Systems/1-arch.md Outdated
Show resolved Hide resolved 2-Operating-Systems/1-arch.md Outdated
Show resolved Hide resolved 2-Operating-Systems/1-arch.md Outdated

stinethebean3 added some commits Apr 7, 2019

@lrvick lrvick requested a review from daurnimator Apr 28, 2019

@lrvick

lrvick approved these changes Apr 28, 2019

loadkeys de-latin1
```

5. If needed: Change rotation

This comment has been minimized.

Copy link
@daurnimator

daurnimator Apr 29, 2019

Member

Isn't obvious: rotation of what?

Also I've never had an issue with wrong rotation before. Is this something you've experienced?


7. Connect to the internet

1. Select and join a wireless network with `wifi-menu`

This comment has been minimized.

Copy link
@daurnimator

daurnimator Apr 29, 2019

Member

Need instructions for non-wireless too :P


```
sgdisk \
-Zo `# zero out any existing partitions` \

This comment has been minimized.

Copy link
@daurnimator

daurnimator Apr 29, 2019

Member

Formatting: you probably didn't want backticks around the comments here

# decrypt drive and expose as /dev/mapper/cryptroot
cryptsetup open /dev/mmcblk0p2 cryptroot
# make journaled ext4 partition in decrypted root device

This comment has been minimized.

Copy link
@daurnimator

daurnimator Apr 29, 2019

Member

wait... why are we recommending ext4?
btrfs is a much better choice for most people I can imagine reading things.

11. Select the Mirrors

```
pacman -Sy reflector

This comment has been minimized.

Copy link
@daurnimator

daurnimator Apr 29, 2019

Member

Introducing pacman -Sy to a new user is dangerous. I would recommend you separate it into pacman -Syu and then pacman -S reflector


```
pacstrap /mnt base sudo dialog wpa_supplicant iw vim git \
pcsclite libu2f-host chromium arandr compton i3-wm i3status \   dmenu kitty nitrogen slock xorg xorg-xinit xf86-video-intel \   ccid opensc openssh haveged pulseaudio pulseaudio-alsa \   pulsemixer

This comment has been minimized.

Copy link
@daurnimator

daurnimator Apr 29, 2019

Member

manual line wrapping is off here


```
pacman -S \
sudo `# "super user do": run commands as root` \

This comment has been minimized.

Copy link
@daurnimator

daurnimator Apr 29, 2019

Member

formatting (backticks around comments)

21. Create a user with super user rights

```
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers

This comment has been minimized.

Copy link
@daurnimator

daurnimator Apr 29, 2019

Member

could just uncomment existing line rather than appending.

# Create the hostname file
hostnamectl set-hostname computername
# Specify new hostname for the network

This comment has been minimized.

Copy link
@daurnimator

daurnimator Apr 29, 2019

Member

FWIW I don't bother with this.

This comment has been minimized.

Copy link
@drGrove

drGrove Apr 30, 2019

Member

Why not just echo 'HOSTNAME' > /etc/hostname?

1. Shutdown

```
exit

This comment has been minimized.

Copy link
@daurnimator

daurnimator Apr 29, 2019

Member

this seems to be indented differently

mkfs.ext4 -j /dev/mapper/cryptroot
```

10. Mount the file systems

This comment has been minimized.

Copy link
@drGrove

drGrove Jun 9, 2019

Member

Let's expand on this a little. Do more of the ELIA5. I had someone run through this and /dev/mmcblk0p1 tripped them up a bit. Maybe put an example above with a breakdown of /dev/mmcblk0 and /dev/mmcblk0p1. Since these strings are a little long, someone may not catch that immediately.

Explanation:

```
pacman -S \

This comment has been minimized.

Copy link
@jjn2009

jjn2009 Jun 10, 2019

the command above for installing packages is pacstrap but the explanation uses pacman

```
# Get name of wireless device
ip addr # Usually starts with wl such as "wlp1s0"
systemctl enable netctl-auto@wlp1s05

This comment has been minimized.

Copy link
@jjn2009

jjn2009 Jun 12, 2019

Either needs a sudo or a clarification that you should be root at this point. maybe do step 25 first as the user then escalate back to root then run this command or just add sudo here and on 26

This comment has been minimized.

Copy link
@daurnimator

daurnimator Jun 13, 2019

Member

Why? systemctl should attempt elevation if you're not root. But also, most things in this guide require/assume root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.