diff --git a/easy-arch.sh b/easy-arch.sh index e448e6d..a9dbbc7 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -8,8 +8,9 @@ set -e # Selecting the target for the installation. PS3="Select the disk where Arch Linux is going to be installed: " -select ENTRY in $(lsblk -dpnoNAME); +select ENTRY in $(lsblk -dpnoNAME|grep -P "/dev/sd|nvme"); do + echo "Available disks": DISK=$ENTRY echo "Installing Arch Linux on $DISK." break