larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3dece37700adc7e8604e6d50bd2c7bd3d040a3fc
parent c0aa1a4cbdc8e55999a190bf446bc6acc0a57f7b
Author: Luke <luke@lukesmith.xyz>
Date:   Wed,  4 Oct 2017 18:12:14 -0700

Added chroot script

Diffstat:
Achroot.sh | 15+++++++++++++++
Mdont_run_me.sh | 5++---
2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/chroot.sh b/chroot.sh @@ -0,0 +1,15 @@ +#Potential variables: timezone, hostname + +ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime + +hwclock --systohc + +echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen +echo "en_US ISO-8859-1" >> /etc/locale.gen +locale-gen + +echo "test" > /etc/hostname + +pacman -S grub && grub-install --target=i386-pc /dev/sda + +curl -O http://lukesmith.xyz/larbs/root.sh && root.sh diff --git a/dont_run_me.sh b/dont_run_me.sh @@ -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 ;}