Univention Bugzilla – Bug 33978
Support for UEFI
Last modified: 2014-06-12 09:20:10 CEST
UCC should support UEFI out of the box, e.g. the rollout should create a EFI system partition and Grub needs to be modified to using Grub's EFI support. It should be possible to create a unified partition scheme which works with both EFI and BIOS. UEFI rollouts using PXE need to be evaluated.
* BIOS-MBR (Current situation) Partition table: MBR GRUB as bootloader stored in MBR and unpartitioned area behind MBR Booted by BIOS via MBR * BIOS-GPT Partition table: GPT Special partition "BIOS boot partition" GRUB as bootloader stored in MBR and "BIOS boot partition" Booted by BIOS via MBR * UEFI-GPT Parition table: GPT Special partition "EFI System partition" FAT32 GRUB as bootloader stored in "EFI System partition" Booted by UEFI It should be possible to combine BIOS-GPT and UEFI-GPT by having both a BIOS boot partition and and EFI System partition. But this will probably lead to problems with different firmwares. For simplicity it might be best to change from BIOS-MBR to BIOS-GPT and have an image configuration to select between BIOS-GPT and UEFI-GPT.
(In reply to Janek Walkenhorst from comment #1) > * BIOS-MBR (Current situation) > * BIOS-GPT > For simplicity it might be best to change from BIOS-MBR to BIOS-GPT UCC images are already using BIOS-GPT.
UEFI PXE boot works by changing the univentionDhcpBootFilename to point to an EFI image. The image can be created for example from a boot CD image like so: grub-mkimage --format=x86_64-efi --memdisk mini.iso --output=/var/lib/univention-client-boot/grubx64.efi $(find /usr/lib/grub/x86_64-efi/ -type f -name \*.mod -printf '%f\n'|cut -d. -f1)
Hardware support for UEFI/PXE is currently in early stages (of three types if UEFI-capable systems only one supported PXE boot and only after an update of the UEFI firmware. For now we'll ship a UEFI image configuration which can be used to build an UEFI image. At a later stage an official UEFI image can be provided.
The package ucc-pxe-boot now contains the files /var/lib/univention-client-boot/ldlinux.e32 /var/lib/univention-client-boot/ldlinux.e64 /var/lib/univention-client-boot/syslinux.efi32 /var/lib/univention-client-boot/syslinux.efi64 to enable UEFI-PXE booting by selecting the syslinux.efi64 (or syslinux.efi32) as the "boot_filename" (policies/dhcp_boot). The package ucc-image-toolkit now contains the file /usr/share/doc/ucc-image-toolkit/example/ucc-desktop-efi.cfg as an example configuration for UEFI partitioning. The required changes are having an EFI system partition: partition2_name: boot partition2_size: 500 partition2_fs: esp partition2_mountpoint: /boot/efi partition2_image_mount: true partition2_copy_files: false and having the corresponding GRUB modules available: grub-efi-amd64-bin grub-efi-ia32-bin . The package univention-ucc-initramfs' file initramfs-tools/scripts/ucc now detects "esp" partitions and correctly formats them. Also GRUB is installed for the correct UEFI-architecture if an ESP is detected.
FAIL - Changelog OK (local boot on "UEFI system" does not work, probably a hardware issue)
(In reply to Felix Botner from comment #6) > FAIL - Changelog Added.
OK
UCC 2.0 has been released: http://docs.univention.de/release-notes-ucc-2.0.html If this error occurs again, please use "Clone This Bug".