Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Hiren's BootCD not showing up in menu #266

Open
hackerncoder opened this issue Jan 18, 2020 · 1 comment
Open

Hiren's BootCD not showing up in menu #266

hackerncoder opened this issue Jan 18, 2020 · 1 comment

Comments

@hackerncoder
Copy link

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
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant