I have only managed to compile it in a Linux box. I have modified also the menu system by Murali Krishnan Ganapathy. You will find my modifications marked with REBLU in the source code of the menu subfolder.

first of all, thanks to all of you that have put work into ubcd, and reblu and nwdsk for ubcd2usb. i'm having a problem though. first i tried on a system w/ a pentium d processor, w/ windows xp media center edition, and makebootfat.exe failed every time i tried.

so i tried a second system. it had an athlon xp processor w/ windows xp sp2. makebootfat.exe worked this time, but the process was then halted and said that ubcd.css was missing... i was using a freshly downloaded and extracted iso of ubcd, and then i tried again w/ the iso burned to a cd, but with the same problem. what could i be doing wrong?

I've been trying to build ubcd on a 1G usb disk using the process described below. The key boots fine and i can enter the menu, however most of the dos applications seems to be either hanging (Caldera DR-DOS) or crashing with "Panic: MCB chain corrupted" (Freedos Kernel version 1.1.35w (build 2035w-UNSTABLE, Jan 06 2006). Has anyone seen this before, or is there somebody who can pinpoint the problem ?

reblu wrote:
[...]
1.- In order to improve the compatibility of the drive with the most number of BIOS, we will format the drive in USB-ZIP compatibility mode, we will make it bootable and we will load syslinux in it (WARNING: THIS WILL REMOVE ALL THE CONTENTS OF THE USB DRIVE)
1.1 Unzip the Makebootfat package to a folder. Unzip Syslinux to another folder and Copy ldlinux.sys, mbr.bin and ldlinux.bss from the Syslinux folder into the makebootfat folder
1.2 Open a DOS window, go to that folder and type
makebootfat -o usb -Z -Y -b ldlinux.bss -m mbr.bin -c ldlinux.sys

2.- Copy all the contents of the \images subfolder of the UBCD into the root of the USB drive

3.- Copy the rest of folders to the USB drive directly, except the boot folder. So your USB drive will have all the subfolders of the UBCD, except for the folders "boot" and "images". Your USB drive root folder will contain all the images.

4.- Remove grub.iso and offline.iso from the root of the USB drive.

5.- Copy the contents of my menu package in the root folder of the USB drive

6.- copy the new images of bcdl, grub and offline to the root of the USB drive.

7.- Rename the freedos image from FDUBCD.IMG to freedos.img and copy it as well to the root of the USB drive.

8.- Copy chain.c32 to the root of the USB drive from the com32/modules subfolder of the syslinux package

I hope somebody finds this useful.
[Edit: Link to Syslinux updated to 3.09]

I have only managed to compile it in a Linux box. I have modified also the menu system by Murali Krishnan Ganapathy. You will find my modifications marked with REBLU in the source code of the menu subfolder.

Hello,

can somebody explain me what's the way to use it?
Not a big problem to edit source code and add menu, but I don't know what's the way to compile.

thx for all you've done

EDIT:
sorry, it was not so hard finnaly...
any if somebody else has the same question:
just need to copy extracted source in syslinux/menu dir, then make ..

I followed this HOWTO first ( english version )
I managed to boot the gentoo install cd and the gentoo live cd from my 1Go usb key
then, I thinked about this wonderfull UBCD. I use to guive my copies to friends so i thinked it was a good idea to have also those tools on my usb key.
fortunatelly, you use the same tool to boot, so, it was not so hard, just "decrypt" the ubcd2usb.cmd and do equivalent linux commands

Almost all tools are working

perhaps later i'll explain it better, but it was quite simple after reading this (allways) excellent gentoo doc.

next step : add my gentoos to the menu and build my own gentoo live system

VCSkier wrote:
so i tried a second system. it had an athlon xp processor w/ windows xp sp2. makebootfat.exe worked this time, but the process was then halted and said that ubcd.css was missing... i was using a freshly downloaded and extracted iso of ubcd, and then i tried again w/ the iso burned to a cd, but with the same problem. what could i be doing wrong?

i had the same problem. maybe at some point "ubcd.css" was located on the ultimate boot disk, but its not on mine, or yours. What I did was edit the ubcd2usb.cmd file to not check for ubcd.css. So i deleted this line:

i have tried the script to make my usb stick working with UBCD. Its working very nice. I thank you guys for your work.

Only one question is it posible an iso image from Acronis True Image Server 9.1 to intigrate? What i have to do? I allready tried some things like repack the iso image to igz image with gunzip. I bring them in the custom.msg and in
the syslinux.cfg but that thing says could not find the kernel image acronis..

Hello everyone, thanks loads for your work on this.
After downloading the batch to do the magic for the usb, first of all the .cmd didnt work on w98 so I renamed it to .bat and it loaded fine, however when I got to the makebootfat part it said it only worked on windows2000/xp etc.
Is there any workaround to do this on windows 98? I've tried looking for a w98 version of makebootfat but I cannot find one.
My winxp computer is the one that i need to fix, so I only have access to a w98 computer with no burner...

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:

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

(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.

Nice work guys, the 3 of you rock!! This is exactly what I've been trying to do. Can't wait until I've got the time to give it a shot.

Would be good as well if we could make some sort of a wrapper so that the iso could be run directly off the USB flash drive tho.. the main reason being that I've also added quite a few other apps like ERD2005 and Partition Magic, Ghost etc to the UBCD and I'm not sure they will run (mainly erd2k5) with the changes you've suggested.

This is definitely a good direction for this to take, as that CD is my most commonly used tool and with it all on flash drive it's a hell of a lot more portable and I've just about always got my flash drive on me.

Hmm just tried your method, but non of the freedos apps run, just says loading feedos and sits there forever.
onyl apps that seem to work are the linux image's
ie none of the hdd tools, or speedtest etc work.

any thing I can look at? I copied the FDUBCD.imd to freedos.img to usb ( which I assume is being used for all the dos apps? ).

cheers, stevo

one thing that is a little confusing is step 7 - download and extract the 2 files, I'm ok with the menu one as you say to copy the contents to the usb, and just rename the fdubcd.img to freedos.img, but what about the extracted files from it? doesn't need extracting?...

btw I used the ubcd 3.4 image, maybe should go back to an earlier version?

oh and "9. Remove grub.iso and offline.iso from the root of the USB stick. "
at that point there was no grub.iso in the root of the usb stick.