From c9f9b1ddee58e81ca593f5013b2359b733057b1c Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 1 Apr 2026 03:55:17 +0100 Subject: Remove leftover duel boot content --- install.sh | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index b0bdcb8..1465412 100755 --- a/install.sh +++ b/install.sh @@ -1,8 +1,10 @@ #!/bin/bash -# ====================================================== -# Artix Linux Installation + +# +# ARTIX LINUX INSTALLATION +# + # See the README for details -# ====================================================== # FIXME: DHCP client from iwd does not work # TODO: add BIOS support @@ -63,13 +65,6 @@ if [[ "${swap_size}" == auto ]]; then swap_size="$(bc <<< "sqrt(${ram_gb}) * 4")G" fi -# Get boot size if using an already created partition -# (note: only used for prompt confirmation) -if [[ $duel_boot == true ]]; then - boot_bytes=$(blockdev --getsize64 "${boot}") - boot_size="$(bc <<< "${boot_bytes} / 1000000000")G" -fi - # Request confirmation drive_bytes=$(blockdev --getsize64 "${drive}") drive_size="$(bc <<< "${drive_bytes} / 1000000000")G" @@ -79,7 +74,6 @@ drive_size="$(bc <<< "${drive_bytes} / 1000000000")G" [[ $arch_support == true ]] && options+="arch_support " [[ $enable_aur == true ]] && options+="enable_aur " [[ $autologin == true ]] && options+="autologin " -[[ $duel_boot == true ]] && options+="duel_boot " echo " ================ CONFIRM INSTALLATION ================ @@ -94,9 +88,6 @@ if [[ $options != "" ]]; then fi echo "CAUTION: ALL data from ${drive} will be erased !!! ------------------------------------------------------" -if [[ $duel_boot == true ]]; then - echo "Note: GRUB will be installed into ${boot}." -fi echo "Are you sure you want install?" unset input -- cgit