after-chroot.sh created
This commit is contained in:
@@ -4,7 +4,7 @@ source env.sh
|
||||
|
||||
#Parted
|
||||
pacman -Sy && \
|
||||
pacman -S parted && \
|
||||
yes | pacman -S parted && \
|
||||
parted -s $DISK mklabel gpt && \
|
||||
parted -s -a optimal $DISK mkpart "primary" "fat32" "0%" "512MiB" && \
|
||||
parted -s $DISK set 1 esp on && \
|
||||
@@ -39,4 +39,5 @@ mount $DISK\1 /mnt/boot/efi && \
|
||||
basestrap /mnt base base-devel openrc elogind-openrc linux-hardened linux-hardened-headers linux-firmware && \
|
||||
fstabgen -U /mnt >> /mnt/etc/fstab && \
|
||||
echo "tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=4G,mode=1777 0 0" >> /mnt/etc/fstab && \
|
||||
cp after-chroot.sh env.sh /mnt/root/ && \
|
||||
artix-chroot /mnt /bin/bash
|
||||
Reference in New Issue
Block a user