First off, kudos to reblu and everyone at UBCD. This has got to be the most useful repair tool since, well, UBCD on CD...
I started trying to get this working a while back and found the instructions in this thread. "Looks complicated" I thought, so I kept looking and found the instructions at PenDriveLinux. "Great!" I thought, "easy to follow". It even booted the first time. But where was the UBCD stuff? All I could do was run INSERT.
OK, I thought I'd try the instructions here, and it worked! Except, no INSERT... Sigh.
So I combined the two sets of instructions, and now have a USB UBCD that runs the UBCD images and INSERT. I never got the windiag, g4u or rip to work, but those weren't big deals to me.
Here are the steps I followed (in Windows). Hopefully they will help someone:
1. Format the USB stick as Fat16 using the
HP USB tool
2. Download the
“full version with INSERT of UBCD“, open and extract the ISO to a directory named UBCD.
3. Copy everything except the \boot, \isolinux, and \images directories from the UBCD directory to the USB stick.
4. Download and extract syslinux (I used
syslinux 3.31) to a syslinux directory on the pc
5. From a command prompt, CD to the syslinux\win32 directory and type syslinux.exe F: (replace F: with the drive letter of your USB stick - I think it needs to be upper-case)
6. Copy the following files from the UBCD\isolinux directory to the root of the stick:
logo.16
memdisk
miniroot.gz
vmlinuz
7. Download and extract the following to folders on the PC:
For offline pwd recovery and grub, you will need the igz equivalents of the iso and to allow booting from the CD ROM you will need the the bootable CD Wizard image
8. Copy all the contents of the UBCD\images subfolder into the root of the USB stick
9. Remove grub.iso and offline.iso from the root of the USB stick.
10. Copy the contents of the UBUSB menu package into the root folder of the USB stick
11. Copy the new bcdl.igz, grub.igz and offline.igz files to the root of the USB stick.
12. Rename FDUBCD.IMG to freedos.img and copy it to the root of the USB stick.
13. Copy syslinux\com32\modules\chain.c32 to the root of the USB stick
14. Edit the syslinux.cfg in the root of the USB stick and replace
Code:
LABEL insert
KERNEL vmlinuz
APPEND
with:
Code:
LABEL insert
KERNEL vmlinuz
APPEND ramdisk_size=100000 init=/etc/init lang=en apm=power-off vga=791 initrd=miniroot.gz nomce quiet BOOT_IMAGE=insert
(the APPEND is on line 487 in my copy of syslinux.cfg)
Note that the APPEND line is one, single line.
And there you have it. Really, these are reblu's instructions with a couple of minor tweaks. I just used the HP USB Formatting tool and syslinux because they had worked well for me in the past and were less confusing for me. Most likely the makebootfat approach will work just fine as well.