readd uefi bootloaders to menu

This commit is contained in:
Tobias Powalowski 2011-02-16 08:54:15 +01:00
parent 8083d90f3b
commit dbcddd1581

View file

@ -4614,14 +4614,18 @@ install_bootloader()
[[ "${EFI_x86_64}" = "1" ]] && DIALOG --yesno "Setup detected that you are using x86_64 (64-bit) (U)EFI ...\nDo you want to install grub2-efi-x86_64 as the bootloader?" 0 0 && dogrub2_efi_x86_64 [[ "${EFI_x86_64}" = "1" ]] && DIALOG --yesno "Setup detected that you are using x86_64 (64-bit) (U)EFI ...\nDo you want to install grub2-efi-x86_64 as the bootloader?" 0 0 && dogrub2_efi_x86_64
[[ "${EFI_i386}" = "1" ]] && DIALOG --yesno "Setup detected that you are using i386 (32-bit) (U)EFI ...\nDo you want to install grub2-efi-i386 as the bootloader?" 0 0 && dogrub2_efi_i386 [[ "${EFI_i386}" = "1" ]] && DIALOG --yesno "Setup detected that you are using i386 (32-bit) (U)EFI ...\nDo you want to install grub2-efi-i386 as the bootloader?" 0 0 && dogrub2_efi_i386
DIALOG --menu "Which BIOS bootloader would you like to use?" 12 55 6 \ DIALOG --menu "Which BIOS/UEFI bootloader would you like to use?" 13 55 7 \
"EXTLINUX" "EXTLINUX/SYSLINUX" \ "EXTLINUX" "EXTLINUX/SYSLINUX" \
"GRUB2_BIOS" "GRUB2" \ "GRUB2_BIOS" "GRUB2" \
"GRUB2_EFI_x86_64" "GRUB2 64-bit UEFI" \
"GRUB2_EFI_i386" "GRUB2 32-bit UEFI" \
"GRUB_LEGACY" "GRUB LEGACY" \ "GRUB_LEGACY" "GRUB LEGACY" \
"LILO" "LILO" 2>${ANSWER} || CANCEL=1 "LILO" "LILO" 2>${ANSWER} || CANCEL=1
case $(cat ${ANSWER}) in case $(cat ${ANSWER}) in
"EXTLINUX") doextlinux ;; "EXTLINUX") doextlinux ;;
"GRUB2_BIOS") dogrub2_bios ;; "GRUB2_BIOS") dogrub2_bios ;;
"GRUB2_EFI_x86_64") dogrub2_efi_x86_64 ;;
"GRUB2_EFI_i386") dogrub2_efi_i386 ;;
"GRUB_LEGACY") dogrub ;; "GRUB_LEGACY") dogrub ;;
"LILO") dolilo ;; "LILO") dolilo ;;
esac esac