diff --git a/trolley-arch-chroot.sh b/trolley-arch-chroot.sh index 26b8264..a1ae4d5 100755 --- a/trolley-arch-chroot.sh +++ b/trolley-arch-chroot.sh @@ -1,6 +1,5 @@ #!/bin/bash -BLK=$(lsblk | sed -n '2p' | awk '{print $1}') -DEV="/dev/$BLK" +DEV=$1 # install grub pacman --noconfirm -Sy grub efibootmgr