Zen works USB boot

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

How to make a usb boot disk for zen imaging.

You need:

A)  HP Drive Key Boot Utility (cp006049.exe) from HP.

B)  syslinux form http://syslinux.zytor.com/wiki/index.php/Download

C)  ZenWorks Imaging files. I got mine from a boot CD we made at work.

How To:

1) Make sure the USB is formated Fat32, NOT Fat16

2) Run HP Key Boot Utility. This will make the USB bootable. It will also put a bunch of files on the USB. Delete them ALL

3) Copy the boot folder from the cd to the root of the USB

4) open a command prompt
change to the syslinux-x.xx/win32 folder (where x.xx is the syslinux version)
run syslinux     For example syslinux g:

5) copy syslinux-x.xx/com32/menu/vesamenu.c32 to the root of the pen drive

6) make a file in the root of the USB called syslinux.cfg. Put this in it...

DEFAULT vesamenu.c32
MENU TITLE SMEGA BOOT USB - RAPTOR EDITION
PROMPT 0
MENU BACKGROUND back.jpg
menu color hotkey 0 #ff00ff00 #ee000000 std
menu color hotsel 0 #ffffffff #85000000 std
ALLOWOPTIONS 0

label nonet
menu label Sata hd - No network
kernel /boot/i386/loader/linux
append initrd=/boot/i386/loader/initrd ramdisk_size=65536 vga=0x0314 splash=silent mode=5 install=hd:/dev/sdb1 USBBOOT=YES showopts PROXYADDR=10.95.70.250 TFTPIP=10.95.70.250  mode=5 netsetup=-dhcp,all

label nonet1
menu label Ide hd - No network
kernel /boot/i386/loader/linux
append initrd=/boot/i386/loader/initrd ramdisk_size=65536 vga=0x0314 splash=silent mode=5 install=hd:/dev/sda1 USBBOOT=YES showopts PROXYADDR=10.95.70.250 TFTPIP=10.95.70.250  mode=5 netsetup=-dhcp,all

label net
menu label ^Sata hd - network
kernel /boot/i386/loader/linux
append initrd=/boot/i386/loader/initrd ramdisk_size=65536 vga=0x0314 splash=silent mode=5 install=hd:/dev/sdb1 USBBOOT=YES showopts PROXYADDR=10.95.70.250 TFTPIP=10.95.70.250  mode=5

label net1
menu label ^Ide hd - network
kernel /boot/i386/loader/linux
append initrd=/boot/i386/loader/initrd ramdisk_size=65536 vga=0x0314 splash=silent mode=5 install=hd:/dev/sda1 USBBOOT=YES showopts PROXYADDR=10.95.70.250 TFTPIP=10.95.70.250  mode=5

7) Change the PROXYADDR and the TFTPIP address to fit your network.
Change the MENU TITLE to whatever youd like. The reason we need this menu is because of the way linux mounts USB devices and SATA drives. From this menu you will need to choose IDE or SATA when imaging a machine.
The MENU BACKGROUND jpg is just there for show. You dont need a background.
The ALLOWOPTIONS 0 takes away the option to exit and go to the bash prompt. There are many more options for the menu, they can be found by googling vesamenu.c32 .

8) copy the settings.txt from the cd to the root of the USB.

Thats it your done. It should be noted that step 4 where you run syslinux is supposed to be all you have to do to make the usb bootable and not need to run the HP utility. I was not able to consistantly get syslinux to make a bootable USB without first running HP. Additionaly, if the USB became corrupt, the HP utility was the fastest way to "rebuild" it. Windows wouldnt let me format it sometimes.

9) UPDATE... Tired it for the first time with a disk larger then 2GB. When I went to run syslinux it gave me an error about the drive aperaring to not be Fat. So I ran the HP on it again and still no luck. I then just formated it with XP FAT32. Coppied the files over and syslinuxed it, was good to go.