From 11c7f231d2cf06245b52e302868337ea44b6081f Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Thu, 29 Apr 2021 13:06:13 +0200 Subject: little bugs --- airootfs/root/bootstrap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'airootfs') diff --git a/airootfs/root/bootstrap b/airootfs/root/bootstrap index 7e65be7..f059cc0 100755 --- a/airootfs/root/bootstrap +++ b/airootfs/root/bootstrap @@ -18,7 +18,7 @@ fi parted -s "$1" mklabel gpt -if ! test -f "/sys/firmware/efi/efivars"; then +if ! test -e "/sys/firmware/efi/efivars"; then parted "$1" mkpart bios ext4 0% 513MiB mkfs.ext4 "$1"1 parted "$1" set 1 bios_grub on @@ -26,7 +26,7 @@ if ! test -f "/sys/firmware/efi/efivars"; then else parted "$1" mkpart efi fat32 0% 513MiB mkfs.fat -F 32 "$1"1 - parted "$1" set 1 esp on + parted "$1" set 1 boot on parted "$1" mkpart home ext4 513MiB 100% fi @@ -40,7 +40,7 @@ timedatectl set-ntp true pacman-key --init pacman-key --populate -pacstrap /mnt base linux linux-firmware git vim grub +pacstrap /mnt base linux linux-firmware git vim grub efibootmgr genfstab -U /mnt > /mnt/etc/fstab cp /root/.loader /mnt/root/loader -- cgit v1.2.3