Created
October 7, 2015 23:08
-
-
Save chrisnharvey/22e0d238b2983d5b6de1 to your computer and use it in GitHub Desktop.
Arch Linux Install Script
This file contains 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
#!/bin/bash | |
locale-gen | |
ln -s /usr/share/zoneinfo/Europe/London /etc/localtime | |
pacman -S --noconfirm grub-bios | |
grub-install /dev/sda | |
grub-mkconfig > /boot/grub/grub.cfg | |
exit |
This file contains 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
#!/bin/bash | |
cfdisk | |
mkfs.ext4 -F /dev/sda1 | |
mount /dev/sda1 /mnt | |
pacstrap /mnt base base-devel | |
echo "arch" > /mnt/etc/hostname | |
echo "en_GB.UTF-8 UTF-8" > /mnt/etc/locale.gen | |
cp ./chroot.sh /mnt/chroot.sh | |
chmod +x /mnt/chroot.sh | |
arch-chroot /mnt /chroot.sh | |
genfstab /mnt > /mnt/etc/fstab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment