diff options
Diffstat (limited to 'airootfs/root/bootstrap')
-rwxr-xr-x | airootfs/root/bootstrap | 6 |
1 files changed, 3 insertions, 3 deletions
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 |