diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2021-04-29 13:06:13 +0200 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2021-04-29 13:06:13 +0200 |
commit | 11c7f231d2cf06245b52e302868337ea44b6081f (patch) | |
tree | 3767706bc00679d356aa0c5e228e99e594fa82c4 /airootfs/root/bootstrap | |
parent | 3d48fbb25c5a320b6893d308ec456c536adf1ae2 (diff) |
little bugs
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 |