Added chroot script

This commit is contained in:
Luke
2017-10-04 18:12:14 -07:00
parent c0aa1a4cbd
commit 3dece37700
2 changed files with 17 additions and 3 deletions

View File

@@ -54,12 +54,11 @@ mount /dev/sda1 /mnt/boot
mkdir /mnt/home
mount /dev/sda4 /mnt/home
pacstrap /mnt base base-devel
pacstrap /mnt base
genfstab -U /mnt >> /mnt/etc/fstab
curl http://lukesmith.xyz/larbs/root.sh > /mnt/root.sh && arch-chroot /mnt bash root.sh && rm /mnt/root.sh
curl http://lukesmith.xyz/larbs/chroot.sh > /mnt/chroot.sh && arch-chroot /mnt bash chroot.sh && rm /mnt/chroot.sh
grubinst() { pacman -S grub && grub-install --target=i386-pc /dev/sda ;}