Problem :
I am a long term user of Hiren’s Boot CD, but the CD does not support booting on UEFI/EFI/SecureBoot hardware, is there some kind of update/patch to apply to the cd image to be able to boot without BIOS? Can I make this myself? (By putting some files in the iso image?)
Edit: Running Hiren from USB on EFI counts too as an alternative.
To clarify before accepting an answer: I will test the solution on:
- A EFI computer (SecureBoot enabled)
- A EFI computer (SecureBoot disabled)
Edit 2:
There are many suggestion to use tools which make an ISO bootable with UEFI on a flash disk, however it’s not that easy as you can only do that with UEFI-enabled ISO’s. By UEFI enabled ISO’s I mean that the ISO files contain a BOOTEFI
directory with a EFI bootloader. Hiren does not have this so the tools will not work. This is why I am asking the question – is there any way to make ourselves / copy another bootloader into HIREN and make it work?
Solution :
Short answer: No; you cannot make Hiren’s Boot CD EFI compatible.
Even when Hiren’s uses Syslinux and it is true Syslinux 6.03 now supports UEFI (syslinux.efi) you will face at least 2 problems when upgrading your Hiren’s CD to Syslinux 6.03:
-
syslinux.efi is not an UEFI signed application then forget about the SecureBoot scenario.
-
Syslinux.efi (as the rest of EFI boot managers) can only boot kernels that were built with certain EFI parameters turned “ON” i.e.
CONFIG_EFI=y CONFIG_RELOCATABLE=y CONFIG_EFI_PARTITION=y CONFIG_EFI_VARS=y CONFIG_FB_EFI=y
Hiren’s kernel is not built with those flags “ON” and you (surely) do not have the exact sources/config for re-building the kernel while adding the above mentioned missing EFI related parameters.
Have you tried via USB with rufus?
Try Rufus USB. Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc. Handles UEFI as well as legacy booting
Important: Select “MBR partition scheme for BIOS or UEFI computer”
I could successfully manage that by doing 2 things:
- Disable UEFI boot
- Enable the “Launch CSM” option
Then, in the boot order list, I got a new option for USB boot, without “UEFI” written on it.
Put that one in the first place and your Hiren’s USB stick should now boot up!
Hirens Boot CD uses ISOlinux (part of Syslinux) to create it’s environment.
ISOLinux now supports UEFI.
Look in to their guides on how to make an image to change the the Files you need to UEFI-capable ones.
I used PXELinux (also part of Syslinux) to boot Hirens over PXE and had to basicly port some of hirens menu’s en files and switch out the BIOS ISOLinux files for the UEFI ones.