multibootusb icon indicating copy to clipboard operation
multibootusb copied to clipboard

Hiren's BootCD not showing up in menu

Open hackerncoder opened this issue 5 years ago • 1 comments

Hello! I am having troubles with HBCD as it wont show up on the menu. It is named HBCD_PE_x64.iso in the /boot/isos folder I originally ran the makeUSB.sh script with -e and the /dev/sdb. DBAN_2.3.0_i586 and Ubuntu-19.10-desktop-amd64 both show up.

HackerNCoder

hackerncoder avatar Jan 18 '20 20:01 hackerncoder

It seems the problem is the hbcd.d/generic.cfg is incorrect, it is outdated. I have tried updating it and a menu entry now appears, however it isn't working, it is just a blank screen. My code:

for isofile in $isopath/HBCD_PE*.iso; do
  if [ -e "$isofile" ]; then
    regexp --set=isoname "$isopath/(.*)" "$isofile"
    ## Skip ISOs with custom files
    if regexp "15.2" "$isofile"; then continue; fi
    menuentry "$isoname (memdisk)" "$isofile" {
          iso_path="$2"
          loopback loop "$iso_path"
      bootoptions="iso raw vmalloc=1300M"
      linux16 $prefix/memdisk $bootoptions
      initrd16 $iso_path
    }
  fi
done

hackerncoder avatar Jan 21 '20 09:01 hackerncoder