[EFI] Fix efi part mount

main
Joaquin 3 years ago
parent 02dfdb1e7d
commit 317c1d943f
Signed by: puly
GPG Key ID: 9E9299CD96C65EC6
  1. 3
      install

@ -30,8 +30,9 @@ mkswap /dev/$pswap
swapon /dev/$pswap swapon /dev/$pswap
pefi=$(whiptail --title "Select the partiton to install EFI to:" --menu "Select the partiton to install EFI to (no disk if you have legacy bios):" 16 78 10 "${parts[@]}" 3>&1 1>&2 2>&3 3>&-) pefi=$(whiptail --title "Select the partiton to install EFI to:" --menu "Select the partiton to install EFI to (no disk if you have legacy bios):" 16 78 10 "${parts[@]}" 3>&1 1>&2 2>&3 3>&-)
mkdir /mnt/boot mkdir /mnt/boot
mkdir /mnt/boot/EFI
mkfs.fat -F32 /dev/$pefi mkfs.fat -F32 /dev/$pefi
mount /dev/$pefi /mnt/boot mount /dev/$pefi /mnt/boot/EFI
extraparts=$(whiptail --inputbox "If you want to mount any other partition manually, enter the commands here like this: command 1 ; command 2 ; command 3" 0 0 0 3>&1 1>&2 2>&3 3>&-) extraparts=$(whiptail --inputbox "If you want to mount any other partition manually, enter the commands here like this: command 1 ; command 2 ; command 3" 0 0 0 3>&1 1>&2 2>&3 3>&-)
echo $extraparts > coms echo $extraparts > coms
bash coms bash coms

Loading…
Cancel
Save