Hiren’s BootCD PE x64 (v1.0.1)
Configuration currently works for UEFI only. It appears the wim file is missing bootmgr.exe for the BIOS booting systems
Be aware that your target computer will need at least 4GB of ram to deploy this image. The boot.wim file is 1.3GB in size. So you need 1.3GB of RAM just for the disk image, and then additional RAM to run the OS once its booted
- First we’ll create the required directories:
mkdir -p /tftpboot/os/Hiren101
- Now we’ll mount the WinPE iso over the loop directory. Then we’ll copy the contents of the DVD to the directory we built above.
mount -o loop /{full path where you have the iso stored}/HBCD_PE_x64.iso /mnt/loop
cp /mnt/loop/BOOTMGR /tftpboot/os/Hiren101
cp /mnt/loop/boot/bcd /tftpboot/os/Hiren101
cp /mnt/loop/boot/boot.sdi /tftpboot/os/Hiren101
cp /mnt/loop/sources/boot.wim /tftpboot/os/Hiren101
umount /mnt/loop
- Download and install the latest wimboot kernel and extract it from the zip file.
10-Aug-21: There has been changes to the Hiren's wim file since this tutorial was created. To get Hiren's to properly boot you need to use winboot version **2.7.3** or later found here:
https://github.com/ipxe/wimboot/blob/master/wimboot
The issue was discussed in this post: https://forums.fogproject.org/post/144293
cd /tmp
wget http://git.ipxe.org/releases/wimboot/wimboot-latest.zip
unzip wimboot-latest.zip
- Copy the wimboot file from the archive directory to root of the os directory (we’ll need this for every windows boot media, so we’ll place it in a common spot).
cp ./wimboot-2.6.0-signed/wimboot /tftpboot/os
- The last bit of magic we need to do is setup a new FOG iPXE boot menu entry for this OS.
- In the fog WebGUI go to FOG Configuration->iPXE New Menu Entry
Set the following fields
Menu Item: os.Hiren101
Description: Hirens BootCD PE x64 (v1.0.1)
Parameters:
set tftp-path tftp://${fog-ip}/os
set pe-path ${tftp-path}/Hiren101
kernel ${tftp-path}/wimboot gui
imgfetch --name BCD ${pe-path}/bcd BCD
imgfetch --name boot.sdi ${pe-path}/boot.sdi boot.sdi
imgfetch --name bootmgr ${pe-path}/BOOTMGR bootmgr
imgfetch --name boot.wim ${pe-path}/boot.wim boot.wim
boot || goto MENU
@mikr said that this parameter block worked with Hiren BootCD 1.0.2 in uefi mode ref: https://forums.fogproject.org/post/146996 Well done!
set tftp-path tftp://${fog-ip}
set http-path http://${fog-ip}/images/tools/hbcd102
kernel ${tftp-path}/win/wimboot gui
imgfetch --name bootmgr.exe ${http-path}/bootmgr.exe bootmgr.exe
imgfetch --name bootx64.efi ${http-path}/efi/boot/bootx64.efi bootx64.efi
imgfetch --name BCD ${http-path}/boot/bcd BCD
imgfetch --name boot.sdi ${http-path}/boot/boot.sdi boot.sdi
imgfetch --name boot.wim ${http-path}/sources/boot.wim boot.wim
boot || goto MENU
- That’s it, just pxe boot your target system and pick ** BootCD PE x64 (v1.0.1)** from the FOG iPXE boot menu.
References: None