User talk:Dislikeyou
Changes to Beginners' Guide
Hi, please have a look at Talk:Beginners' Guide#Edits to UEFI booting and plan the future edits to the Beginners' Guide together with the other users who are contributing there. I'd also suggest to have a look at https://bbs.archlinux.org/viewtopic.php?id=165702 and possibly take part in it.
Lastly, please from now on always remember to use the Edit Summary when editing an article, it's the text field just above the "Save page" button: you are supposed to write there briefly what you've done and, even more importantly, why.
Thank you for collaborating :) -- Kynikos (talk) 11:23, 8 July 2013 (UTC)
Work in progress
Do these steps in order...
Test Internet Connection
# ping -c 3 www.google.com
List HDD's / Partitions
# lsblk # lsblk -f /dev/sda
Partition HDD
# cgdisk /dev/sda
lsblk
to list all HDD's on your PC or use lsblk -f /dev/sda
to list partitions
Format Partitions
# mkfs.vfat -F32 /dev/sda1 # mkfs.ext4 /dev/sda2
sda1
EFI partition sda2
root partition
Mount Partitions
# mount /dev/sda2 /mnt # mkdir -p /mnt/boot # mount /dev/sda1 /mnt/boot
Edit Repo Mirrors
# nano /etc/pacman.d/mirrorlist
CTRL+K
Cut CTRL+U
Paste CTRL+X
Exit
Install System
# pacstrap -i /mnt base base-devel
Generate Fstab
# genfstab -p /mnt >> /mnt/etc/fstab # nano /mnt/etc/fstab
Chroot
# arch-chroot /mnt /bin/bash
Configure Locale
# nano /etc/locale.gen
Uncomment en_US.UTF-8
# locale-gen # echo LANG=en_US.UTF-8 > /etc/locale.conf # export LANG=en_US.UTF-8
Configure Clock/Time
# ln -s /usr/share/zoneinfo/Europe/Stockholm /etc/localtime # hwclock --systohc --utc
Enable Multilib Repo
# nano /etc/pacman.conf
Uncomment [multilib]
# pacman -Sy
Add Users
# passwd # useradd -m -g users -G wheel,storage,power -s /bin/bash arch # passwd arch
Allow users to use Sudo command
# pacman -S sudo # EDITOR=nano visudo
Uncomment "%wheel ALL=(ALL) ALL"
EFI Stub Loader
# pacman -S efibootmgr # efibootmgr -c -L "Arch Linux" -l /vmlinuz-linux -u "root=/dev/sda2 ro quiet initrd=/initramfs-linux.img"
Exit Chroot
# exit # umount /mnt
Setup Static IP Network
# ip link # systemctl stop dhcpcd.service # ip link set "nic" # ip addr add 192.168.0.1/24 dev "nic" # ip route add default via 192.168.0.1 # nano /etc/resolv.conf
Add:
# Google nameservers nameserver 8.8.8.8 nameserver 8.8.4.4
Install Nvidia Drivers
# pacman -S nvidia
Install XINIT
# pacman -S xorg-xinit
Install XFCE
# pacman -S xfce4 # pacman -S xfce4-goodies
Auto StartX
$ cp /etc/skel/.bash_profile ~/.bash_profile # nano ~/.bash_profile
Add:
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startxfce4
Replace FAM with Gamin
# pacman -Rd fam # nano /etc/rc.conf [DAEMONS fam] * # pacman -S gamin
Enable Auto Log In
# cp /usr/lib/systemd/system/getty@.service /etc/systemd/system/autologin@.service
ExecStart=-/sbin/agetty --noclear -a USERNAME %I 38400 Type=simple
# systemctl daemon-reload # systemctl disable getty@tty1 # systemctl enable autologin@tty1 # systemctl start autologin@tty1 # systemctl enable multi-user.target # systemctl stop autologin@tty1.service
Setup Keyboard
# nano /etc/X11/xorg.conf.d/10-keyboard.conf
Section "InputClass" Identifier "Keyboard Defaults" MatchIsKeyboard "yes" Option "XkbModel" "pc101" Option "XkbLayout" "se" EndSection
Change Default Sound Device
# nano /etc/modprobe.d/alsa-base.conf
Add:
options snd slots=snd_usb_audio options snd_usb_audio index=0
$ speaker-test -c 2 test if speakers working
Other Stuff
Bash Completion
# pacman -S bash-completion