Neamerjell

Arch Linux

Essential Links:

Hardware Specific

Enable TRIM on SSD in Arch

The fstrim.service and fstrim.timer are included by default in Arch.

sudo systemctl enable fstrim.timer

You can check the status of the timers:

sudo systemctl list-timers --all

Install Bluetooth Drivers on Arch

Install the bluez and bluez-utils packages:

sudo pacman -S bluez bluez-utils

Then start the bluetooth service with:

sudo systemctl start bluetooth

To start at boot:

sudo systemctl enable bluetooth

Setup WiFi in Arch Linux

Log in as root and perform the following tasks:

nano /etc/wpa_supplicant/wpa_supplicant-wlp2so.conf

Add these lines:

ctrl_interface=/run/wpa_supplicant
update_config=1

Save, exit then enter the command:

wpa_passphrase dd-wrt password >> /etc/wpa_supplicant/wpa_supplicant-wlp2s0.conf
nano /etc/wpa_supplicant/wpa_supplicant-wlp2so.conf

Alter the file replacing "MySSID" and "password" with your actual WiFi SSID and password. BigLongLineOfMeaningLessText will already exist in the file and is a long line of hexadecimal values, presumably a hash of "password".

ctrl_interface=/run/wpa_supplicant
update_config=1

network={
ssid="MySSID"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
#psk="password"
psk=BigLongLineOfMeaningLessText
}

Save, exit then enter the command:

systemctl wpa_supplicant@wlp2s0.service

Install Arch Linux on VirtualBox

Arch now has an install script!

https://www.youtube.com/c/SavvyNik/videos

Old Way:

Create a machine with:

  • 15 GB fixed size vdi virtual hard drive
  • 4 GB of RAM
  • 2 CPU cores
  • Enable PAE/NX
  • Boot Order: Optical, Hard Drive (remove the floppy)
  • ICH9 chipset
  • PS/2 mouse
  • Display: Enable 3D Acceleration
  • Storage: Delete the IDE controller and add an optical drive to the SATA and use the Arch iso file
  • Use Host I/O Cache
  • Change USB to 3.0 Controller
  • Add a shared folder
  • Auto-Mount


Install as normal from the Wiki with these exceptions:

This gives a cleaner view than "fdisk -l"

lsblk

This is a more interactive version of "fdisk"

cfdisk /dev/sda

Choose dos label type, then choose New, 15G, Primary, Bootable, Write, type "yes", Quit

This will create a single 15 GB partition - no other partitions needed since Grub will be installed and it is compatible with the ext4 file system.

Set the timezone:

ls -sfd /usr/share/zoneinfo/America/New_York /etc/localtime

Install the Grub bootloader:

pacman -S grub
`grub-install --target=i386-pc /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg

Make the network setup permanently enabled at boot:

systemctl enable dhcpcd

Install VirtualBox utilities, alsa-utils, and neofetch:

pacman -S virtualbox-guest-utils alsa-utils neofetch

Mount the shared folder:

mkdir /mnt/shared
mount -t vboxsf Shared /mnt/shared

Create user for Neamerjell:

useradd -m -g users -G wheel,storage,power -s /bin/bash neamerjell
EDITOR=nano visudo

Uncomment this line:

%wheel ALL=(ALL) NOPASSWD: ALL