From 1282ca8593c16325276d8ea3739454c0927bc9ea Mon Sep 17 00:00:00 2001 From: Brent Yang <8384161+bohanyang@users.noreply.github.com> Date: Tue, 23 Apr 2024 16:25:52 +0900 Subject: [PATCH] Fix disk path --- debi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debi.sh b/debi.sh index 42b5434..a52edd7 100755 --- a/debi.sh +++ b/debi.sh @@ -214,7 +214,7 @@ sudo_with_password=false timezone=UTC ntp=time.google.com disk_partitioning=true -disk=$(df /boot | grep -Eo '^/dev/[hsv]d[a-z]') +disk="/dev/$(lsblk -no PKNAME "$(df /boot | grep -Eo '/dev/[a-z0-9]+')")" force_gpt=true efi= esp=106