After quite a struggle, I finally figured out how to integrate Dell Diagnostics into UBCD version 5. Enough work went into this that I felt I really ought to share the wealth. There are two methods I came up with:
1. Launched via Launched via the UBCD FreeDOS image (fdubcd.igz)
2. Launched via Dell's own DOS image (from Win98)
Method #1 works, but takes so much longer to boot than method #2. Also, who knows how the diagnostic utility will be affected by all that extra stuff that fdubcd.igz loads (UBCD devs, chime in if I'm speaking nonsense). For these reasons, I spent fairly little time with this method. I'll post it in a future thread, if desired.
All of this was tested with UBCD v5.0b6. I used Sun VirtualBox to boot and test my UBCD ISOs.
- Launched via Dell's own DOS image
This is my preferred method, as it boots as fast as the regular Delldiag CD itself! Software used:
* 7-Zip (for extracting ISOs and archive files, and creating compressed files)
* WinImage (for extracting/injecting files within floppy images) - This is shareware, which sucks, but I looked and I could not find a suitable free utility.
You'll need the UBCD's contents extracted to your hard drive somewhere. I'll assume this directory is called "myubcd".
Download the diagnostics utility from Dell - [url]support.dell.com[/url]. It seems that you can't pick a specific version of Delldiag... you need to pick a specific model of Dell PC, and grab the utility meant for that machine. As other threads have mentioned, you want to download the "hard disk version".
The actual downloaded file will be a self-extracting EXE. I don't like to run random EXEs if I can avoid it, so I just used 7-Zip (my favorite free archive utility, available at www.7-zip.org
) to indirectly extract the file's contents. Once you've extracted it to a new directory, you can delete the downloaded EXE - you won't need it anymore.
Create a new directory called "delldiag" under the myubcd\ directory. I will assume from here on that you're using Delldiag version A1102 (from the Pentium 3 and early Pentium 4 era), and it's extracted into a directory called "A1102", under \myubcd\delldiag\.
Since I had for quite a while been using the "handmade" Delldiag ISOs available from Bay-Wolf (http://www.bay-wolf.com/downloads.htm
), this was my starting point.
Grab the ISO image of Delldiag A1102 from Bay-Wolf. Extract the .img file located in the [BOOT] subdirectory. This is the MS-DOS image that will be used to boot the utility. Rename it to dell1102.img. This will be necessary later on, because MS-DOS only supports filenames up to 8 characters, plus a three-character extension.
Next, you need WinImage to extract autoexec.bat from the floppy. Change its contents to read as follows:
@copy a:\command.com D:\>nul
REM [CD-ROM Drive]
MSCDEX.EXE /D:MSCD000 /M:20 /L:R
echo Loading Dell Diagnostics...
This will cause the utility to run automatically once you select it in the UBCD menu. Use WinImage's "Inject" feature to put the edited file back into the floppy image dell1102.img. This will overwrite the original. Now, save the image and put it in \myubcd\delldiag\.
Now. modify \myubcd\ubcd\custom\custom.cfg with a new entry that reads as such:
MENU LABEL Dell Diagnostics A1102
All the customization is done! Now, all you need to do is re-create the ISO with your modifications, using the excellent ubcd2iso utility. There is plenty of information elsewhere on these forums to help you make the ISO using this program.