From a7d5c3ab8c843f0a2fd398c1412d357aa7b1954a Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 15 May 2024 03:20:44 -0400 Subject: [PATCH] Code added for selecting a drive. Still need to actually format it, so nothing really happens to it yet. --- install-stormux.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-stormux.sh b/install-stormux.sh index 33277c7..bd59d17 100755 --- a/install-stormux.sh +++ b/install-stormux.sh @@ -114,6 +114,8 @@ fi answer="$(yesno "Have you created your own disk layout and mounted it at /mnt?")" if [[ $answer -eq 1 ]]; then msgbox "Stormux can format a drive for you. Keep in mind that all data on the selected drive will be lost, including any other operating system that may be installed. To cancel, press control+c." + mapfile -t driveList < <(lsblk -l -d -o 'PATH,SiZE' | tail -n +2 | tr -s '[:space:]' | tr '[:space:]' $'\n') + drive=$(menulist "Select a drive for the installation." "${driveList[@]}") fi language=$(menulist "Select the System Language" \