From f69e5f5dcaedc5ef09f5283c4258e95903d64666 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 1 Apr 2026 02:42:50 +0100 Subject: Remove duel-boot option --- install.sh | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 3d661e1..e428663 100755 --- a/install.sh +++ b/install.sh @@ -106,16 +106,8 @@ read -rp "Type YES (in uppercase letters) to begin installation: " input # Wipe file-system wipefs -a "${drive}" -# Create partitions -if [[ $duel_boot == true ]]; then - # create root partition - printf ',+,L\n' \ - | sfdisk -qf -X gpt ${drive} -else - # create UEFI boot & root partition - printf ',%s,U,*\n,+,L\n' "${boot_size}" \ - | sfdisk -qf -X gpt ${drive} -fi +# Create UEFI boot & root partition +printf ',%s,U,*\n,+,L\n' "${boot_size}" | sfdisk -qf -X gpt ${drive} # Encryption setup if [[ $encrypt == true ]]; then @@ -135,9 +127,7 @@ if [[ $encrypt == true ]]; then fi # Make BOOT filesystem -if [[ $duel_boot == false ]]; then - mkfs.fat -n BOOT -F 32 "${boot}" -fi +mkfs.fat -n BOOT -F 32 "${boot}" # Make BTRFS ROOT filesystem mkfs.btrfs -qfL ROOT "${root}" @@ -402,11 +392,6 @@ grub_cmds="quiet loglevel=3 net.iframes=0 splash" sed "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"$grub_cmds $devices\"/" \ -i /mnt/etc/default/grub -# Enable os-prober to detect other operating systems -if [[ $duel_boot == true ]]; then - echo "GRUB_DISABLE_OS_PROBER=false" >> /mnt/etc/default/grub -fi - # Install grub bootloader grub_options="--target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB" artix-chroot /mnt bash -c "grub-install ${grub_options}" -- cgit