Used YUMI to create my own bootable USB flash drive.
This is the syslinux.cfg and works ok.
# Menu Entry Created by Lance http://www.pendrivelinux.com for YUMI - (Your USB Multiboot Installer) default vesamenu.c32 prompt 0 timeout 300 menu title Your Universal MultiBoot Installer menu background yumi.png MENU TABMSG http://www.pendrivelinux.com MENU WIDTH 72 MENU MARGIN 10 MENU VSHIFT 3 MENU HSHIFT 6 MENU ROWS 15 MENU TABMSGROW 20 MENU TIMEOUTROW 22 menu color title 1;36;44 #66A0FF #00000000 none menu color hotsel 30;47 #C00000 #DDDDDDDD menu color sel 30;47 #000000 #FFFFFFFF menu color border 30;44 #D00000 #00000000 std menu color scrollbar 30;44 #DDDDDDDD #00000000 none label Boot from first Hard Drive menu label Continue to Boot from ^First HD (default) KERNEL chain.c32 APPEND hd1 MENU DEFAULT label Directly Bootable ISOs menu label Directly Bootable ISOs -> MENU INDENT 1 KERNEL /multiboot/grub.exe APPEND --config-file=/multiboot/menu/menu.lst label System Tools menu label System Tools -> MENU INDENT 1 kernel vesamenu.c32 APPEND /multiboot/menu/system.cfg
When I go to system.cfg I got this:
# Menu Entry Created by Lance http://www.pendrivelinux.com for YUMI - (Your USB Multiboot Installer) default vesamenu.c32 prompt 0 menu title System Tools menu background yumi.png MENU TABMSG http://www.pendrivelinux.com MENU WIDTH 72 MENU MARGIN 10 MENU VSHIFT 3 MENU HSHIFT 6 MENU ROWS 15 MENU TABMSGROW 20 MENU TIMEOUTROW 22 menu color title 1;36;44 #66A0FF #00000000 none menu color hotsel 30;47 #C00000 #DDDDDDDD menu color sel 30;47 #000000 #FFFFFFFF menu color border 30;44 #D00000 #00000000 std menu color scrollbar 30;44 #DDDDDDDD #00000000 none label <-- Back to Main Menu kernel vesamenu.c32 append /multiboot/syslinux.cfg MENU SEPARATOR label System Rescue CD menu label System Rescue CD MENU INDENT 1 kernel vesamenu.c32 APPEND /multiboot/menu/sysrescuecd.cfg label Parted Magic (Partition Tools) menu label Parted Magic (Partition Tools) MENU INDENT 1 kernel vesamenu.c32 APPEND /multiboot/menu/partedmagic.cfg
Again, It's all working ok.
Now, on my USB, I have a folder containing Hiren's Boot CD. Its located in /multiboot/HBCD
The menu from Hirens is located in /multiboot/HBCD/isolinux and its called hiren.cfg
This is the hiren.cfg file
INCLUDE header.cfg #------------------------------------------------- label 0 menu label ^Boot From Hard Drive localboot 0x80 TEXT HELP Boot first hard drive. ENDTEXT menu separator #------------------------------------------------- label hbcd menu label HBCD Programs Dos Boot ^Menu ... # kernel /isolinux/memdisk # append initrd=/HBCD/Dos/dos.gz kernel /bootprog/grub.exe append --config-file="find --set-root /HBCD/Dos/dos.gz; map --mem /HBCD/Dos/dos.gz (fd0); map --hook; chainloader (fd0)+1; rootnoverify (fd0); map --floppies=1 " TEXT HELP Norton Ghost, Acronis, Paragon, Rescue, and all the other HBCD Dos Boot utilities... ENDTEXT #------------------------------------------------- menu separator #------------------------------------------------- INCLUDE miniwin.cfg menu separator # ------------------------------------------------- INCLUDE hd.cfg # ------------------------------------------------- INCLUDE antivirus.cfg #------------------------------------------------- INCLUDE linux.cfg # ------------------------------------------------- INCLUDE hw.cfg #------------------------------------------------- INCLUDE password.cfg menu separator #------------------------------------------------- LABEL Plop MENU LABEL Pl^op Boot Manager LINUX /bootdisk/plpbt.bin TEXT HELP Boot from HD, CD, USB even if BIOS cannot. ENDTEXT menu separator menu separator #------------------------------------------------- label grbdos menu label ^Alternative Boot Method (Grub4DOS) ... BOOT /HBCD/grldr TEXT HELP Use this option if any of the above fails to boot. ENDTEXT
All the INCLUDE files are on the same location that hiren.cfg.
Now I go to system.cfg and will add the Hiren's to the menu. I've added this on system.cfg.
label Hiren menu label Hiren MENU INDENT 1 kernel vesamenu.c32 APPEND /multiboot/HBCD/isolinux/hiren.cfg
But it is not working. When I go to the menu and press enter in the Hiren entry nothing happens.
What am I doing wrong?
Thanks,
kodiak