diff --git a/archinstall/archinstall.sh b/archinstall/archinstall.sh index 0874b3c..db210d1 100755 --- a/archinstall/archinstall.sh +++ b/archinstall/archinstall.sh @@ -165,7 +165,7 @@ if [[ ! $optpa -eq 3 ]];then clear lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL tput setaf 6 ; echo "$(T "Select EFI partition")" ; tput setaf 9 - options=($(lsblk --output KNAME | sed '1d'| grep 'sd\|hd')) + options=($(lsblk --output KNAME | sed '1d' | grep 'sd\|hd' | grep '[1-9]$')) select opt in "${options[@]}" do case $opt in diff --git a/archinstall/chrootinstall.sh b/archinstall/chrootinstall.sh index c8f121e..55fe597 100755 --- a/archinstall/chrootinstall.sh +++ b/archinstall/chrootinstall.sh @@ -398,6 +398,7 @@ else refind-install rootuuid=$(blkid -o value -s UUID /dev/$(echo $particionraiz)) echo '"Boot with standard options" "root=UUID='$(echo $rootuuid)' rw add_efi_memmap quiet loglevel=3 vga=current"' > /boot/refind_linux.conf + echo "Boot in nomodeset mode" "root=UUID='$(echo $rootuuid)' rw add_efi_memmap quiet loglevel=3 vga=current nomodeset" >> /boot/refind_linux.conf echo "Boot to single-user mode" "root=UUID='$(echo $rootuuid)' rw add_efi_memmap quiet single" >> /boot/refind_linux.conf echo "Boot with minimal options" "root=UUID='$(echo $rootuuid)' rw add_efi_memmap" >> /boot/refind_linux.conf ;;