diff options
| author | Blake Romero <blake@developercraft.com> | 2026-04-01 03:55:17 +0100 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2026-04-01 03:55:17 +0100 |
| commit | c9f9b1ddee58e81ca593f5013b2359b733057b1c (patch) | |
| tree | d7bb12ee654e8e42b77eaa38d180aab0333faed4 | |
| parent | eb9e93b6859a8315a279818fb229d1334fc1f51a (diff) | |
Remove leftover duel boot content
| -rwxr-xr-x | install.sh | 19 |
1 files changed, 5 insertions, 14 deletions
@@ -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 |
