Created
April 23, 2016 17:42
-
-
Save dust321/26ad9856654587d3c1099bccd1118f2d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fdisk or cfdisk /dev/sdX | |
mkfs.ext2 /dev/sdX1 #boot Max 500M | |
mkfs.ext4 /dev/sdX2 #root max 20Gig | |
mkfs.ext4 /dev/sdX3 #home the leftovers | |
mkswap /dev/sdX4 | |
mount /dev/sdX2 /mnt | |
mkdir /mnt/boot | |
mkdir /mnt/home | |
mount /dev/sdX1 /boot | |
mount /dev/sdX3 /home | |
edit the /etc/pacman.conf # to your liking | |
also edit the /etc/pacman.d/mirrorslist # to what is fastest for you | |
pacstrap -i /mnt base base-devel | |
genfstab -Up /mnt >> /mnt/etc/fstab | |
edit the /mnt/etc/fstab # add in the tmpfs I also make the size large so not to run into problems compiling | |
tmpfs /tmp tmpfs defaults,noatime,mode=1777,size=6G 0 0 | |
arch-chroot /mnt | |
edit /etc/locale.gen | |
run locale-gen | |
echo LANG=en_US.UTF-8 >> /etc/locale.conf | |
export LANG=en_US.UTF-8 | |
ln -s /usr/share/zoneinfo/America/New_York /etc/localtime | |
hwclock --systohc --utc | |
useradd -m -g users -G wheel,adm,storage,power -s /bin/bash dustin | |
passwd | |
passwd dustin | |
EDITOR=nano visudo | |
pacman -S grub | |
grub-install --target=i386-pc --recheck /dev/sdX | |
grub-mkconfig -o /boot/grub/grub.cfg | |
ip a # to see what your wired interface is, if you have one... | |
systemctl enable dhcpcd@interfacename | |
exit | |
umount -R /mnt | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Will update this soon, I also have a EFI install doc locally I need to clean up and post