Skip to content

Commit

Permalink
Added support for Hiren's BootCD PE x64 efi #18
Browse files Browse the repository at this point in the history
  • Loading branch information
Mexit committed Sep 7, 2024
1 parent d03b5d3 commit 6ce24ee
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/hbcd/Winpeshl.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[LaunchApps]
mountiso.exe
26 changes: 26 additions & 0 deletions config/hbcd/hbcd_wimboot.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Hiren's BootCD PE
# https://www.hirensbootcd.org

iso_pattern="HBCD_PE_x64*.iso"

for isofile in $iso_dir/$iso_pattern; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$iso_dir/(.*)" "$isofile"

if [ "${grub_platform}" == "efi" ]; then
menuentry "$isoname" "$isofile" --class=windows {
terminal_output console
echo Loading boot.wim... This may take some time
iso_path="$2"
save_env iso_path
LOOPBACK "$iso_path"
linux /MultiOS-USB/tools/wimboot-*/wimboot.x86_64 quiet
initrd newc:boot.wim:(loop)/sources/boot.wim \
newc:mountIso.exe:/MultiOS-USB/tools/mountiso/mountiso64.exe \
newc:grubenv:($dev,1)/grub/grubenv \
newc:Winpeshl.ini:/MultiOS-USB/config/hbcd/Winpeshl.ini
echo Loading boot.wim complete, booting...
}
fi
fi
done
1 change: 1 addition & 0 deletions docs/Supported_OS.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Below is just a list of tested and working systems. The actual number of support
| [GParted Live](https://gparted.org/livecd.php) | [gparted-live-1.6.0-1-amd64.iso](https://downloads.sourceforge.net/gparted/gparted-live-1.6.0-1-amd64.iso) | no | [no](../config/gparted) | yes | Debian |
| [Grml](https://www.grml.org) | [grml64-full_2024.02.iso](https://download.grml.org/grml64-full_2024.02.iso) | no | yes | yes | Debian |
| | [grml64-small_2024.02.iso](https://download.grml.org/grml64-small_2024.02.iso) | no | yes | yes | Debian |
| [Hiren's BootCD PE](https://www.hirensbootcd.org/) | [HBCD_PE_x64.iso](https://www.hirensbootcd.org/files/HBCD_PE_x64.iso) | yes | [no](../config/hbcd) | no | Microsoft |
| [Kaspersky Rescue Disk](https://support.kaspersky.com/krd18) | [krd.iso](https://rescuedisk.s.kaspersky-labs.com/updatable/2018/krd.iso) | no | [no](../config/kaspersky) | no | - |
| [KDE neon](https://neon.kde.org) | [neon-user-20240229-0716.iso](https://files.kde.org/neon/images/user/20240229-0716/neon-user-20240229-0716.iso) | no | [no](../config/KDE_neon) | yes | Canonical |
| [Kubuntu](https://kubuntu.org) | [kubuntu-24.04-desktop-amd64.iso](https://cdimage.ubuntu.com/kubuntu/releases/24.04/release/kubuntu-24.04-desktop-amd64.iso) | no | yes | yes | Canonical |
Expand Down

0 comments on commit 6ce24ee

Please sign in to comment.