Skip to content

Instantly share code, notes, and snippets.

@tssm
Last active October 8, 2015 12:48
Show Gist options
  • Save tssm/3333797 to your computer and use it in GitHub Desktop.
Save tssm/3333797 to your computer and use it in GitHub Desktop.
This is how I set up my Arch Linux machines.
#<system> <dir> <type> <options> <dump> <pass>
LABEL=boot /boot ext4 noatime,nodev,nosuid,noexec 0 2
LABEL=root / ext4 noatime 0 1
LABEL=var /var ext4 noatime,nodev,nosuid,noexec 0 2
LABEL=home /home ext4 noatime,nodev,nosuid 0 2
systemctl enable gdm.service
systemctl enable ntpd.service
systemctl enable NetworkManager.service
pacstrap /mnt adobe-source-code-pro-fonts bash coreutils e2fsprogs filesystem file-roller firefox gdm gnome-control-center gnome-keyring gnome-shell gnome-terminal gnome-tweak-tool git iproute2 iputils linux lm_sensors man-db nautilus ntp openssh pacman pciutils pkgstats procps-ng psmisc shadow smartmontools sudo sysfsutils syslinux systemd usbutils util-linux <video-driver> vim xclip
LANG="en_US.UTF-8"
LC_COLLATE="es_CL.UTF-8"
LC_MONETARY="es_CL.UTF-8"
LC_NUMERIC="es_CL.UTF-8"
LC_TIME="es_CL.UTF-8"
MODULES="ext4"
BINARIES=""
FILES=""
HOOKS="base udev autodetect modconf block keymap fsck resume"
DEFAULT d
PROMPT 0
TIMEOUT 10
LABEL d
LINUX ../vmlinuz-linux
APPEND root=LABEL=root rw init=/usr/lib/systemd/systemd
INITRD ../initramfs-linux.img
LABEL f
LINUX ../vmlinuz-linux
APPEND root=LABEL=root rw init=/usr/lib/systemd/systemd
INITRD ../initramfs-linux-fallback.img
LABEL h
COM32 hdt.c32
LABEL r
COM32 reboot.c32
LABEL o
COM32 poweroff.c32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment