-
Notifications
You must be signed in to change notification settings - Fork 17
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
base: master
Are you sure you want to change the base?
Conversation
loadkeys de-latin1 | ||
``` | ||
|
||
5. If needed: Change rotation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need instructions for non-wireless too :P
|
||
``` | ||
sgdisk \ | ||
-Zo `# zero out any existing partitions` \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
manual line wrapping is off here
|
||
``` | ||
pacman -S \ | ||
sudo `# "super user do": run commands as root` \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting (backticks around comments)
21. Create a user with super user rights | ||
|
||
``` | ||
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could just uncomment existing line rather than appending.
# Create the hostname file | ||
hostnamectl set-hostname computername | ||
|
||
# Specify new hostname for the network |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW I don't bother with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just echo 'HOSTNAME' > /etc/hostname
?
1. Shutdown | ||
|
||
``` | ||
exit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems to be indented differently
mkfs.ext4 -j /dev/mapper/cryptroot | ||
``` | ||
|
||
10. Mount the file systems |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? systemctl should attempt elevation if you're not root. But also, most things in this guide require/assume root.
WIP Do Not Merge. Comments welcome.