diff options
| author | Blake Romero <blake@developercraft.com> | 2026-04-01 02:42:50 +0100 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2026-04-01 02:42:50 +0100 |
| commit | f69e5f5dcaedc5ef09f5283c4258e95903d64666 (patch) | |
| tree | 6d28971e7530a2cd74695c683d7ea80e6faa12ab /install.sh | |
| parent | 5a7d493ff8f1593560dd63a8b271eff04a4c924c (diff) | |
Remove duel-boot option
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 21 |
1 files changed, 3 insertions, 18 deletions
@@ -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}" |
