From 0ed90061b3ac4c80b2a9ac0fd0ba6e9bb8c885c0 Mon Sep 17 00:00:00 2001 From: kprkpr Date: Sun, 5 Jun 2016 21:13:24 +0200 Subject: [PATCH] changes --- archinstall/archinstall.sh | 2 +- archinstall/chrootinstall.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 ;;