In this post I’ll show you a really neat pen drive installation. A bootable pen drive with FreeDOS installed (no images used) and Grub4DOS to load any ISO image you want.
Start with formatting the USB-Stick using FAT32. The first thing to care about now is Grub4DOS.
You’ll need the latest version of Grub4DOS and the Installer:
http://download.gna.org/grub4dos/grub4dos-0.4.4.zip
http://download.gna.org/grubutil/grubinst-1.1-bin-w32-2008-01-01.zip
Now extract them and start grubinst_gui.exe as administrator.
Select Disk, click on Refresh and then select your pen drive.
Click on Refresh at Part List and then select Whole disk (MBR).
If you get an error message complaining about an invalid partition table, just put –skip-mbr-test in the Extra field.
Select Don’t search floppy and leave the rest as it is, then click on Install.
Now you should get this message:
Next up, copy the file grldr (NOT grldr.mbr) onto the pen drive and create a new file called menu.lst.
color green/black black/green white/black white/black timeout 30 default 0
This is the first part. It defines the color of the menu, the default menu selection and the time after which the default menu selection is executed.
Now we’ll add something to boot CD ISO images, in this case, Ultimate Boot CD. (You can add any Image you want, such as Linux live distributions or Windows DVDs , just create a menu entry for every iso)
http://www.ultimatebootcd.com/download.html
title Ultimate Boot CD map (hd0,0)/ubcd511.iso (hd32) map --hook chainloader (hd32) boot
You have to copy the ubcd511.iso in the root directory of your pen drive. You can also create a folder called “Images” and put it in there. Just make sure you set the appropriate path to the file.
Now let’s set up FreeDOS.
Download fdbasecd.iso from http://www.freedos.org/freedos/files/.
Extract or mount it and copy the folder ODIN from FREEDOS\SETUP onto the pen drive and copy COMMAND.COM from the ODIN folder into the root of the device.
The last step is to add the following to your menu.lst to boot FreeDOS:
title Boot FreeDOS root (hd0,0) chainloader /ODIN/kernel.sys boot
If you want you can also add the following lines at the end, they should be self explanatory.
title reboot reboot title halt halt
Congratulations, your done. Now you can try it. It should look like this:
Here are several links that helped me to work things out:
http://diddy.boot-land.net/grub4dos/files/boot.htm
http://www.themudcrab.com/acronis_grub4dos.php

By Ubcd iso | Belwin September 16, 2011 - 3:42 am
[...] Bootable USB-Stick with Grub4DOS, FreeDOS and ISO images (e.g. … [...]
By Sapphire HD 5850 OC Overclocking | Black-Pixel January 4, 2012 - 9:18 am
[...] You will need a way to boot into a DOS. I’ve already posted a tutorial on how to set up a bootable pen drive with FreeDOS. You can find it here. [...]
By ray M March 9, 2012 - 4:06 am
i tried multiple times to get this loader to work.
booting command-list
load segment: 0×0 system type: 0×0 sector count: 0×4
load rba: 0x9a boot type:0=no emulation
Isolinux 4.04 2011-04-18 etcd ………
initial menu has no Label entries!
boot:
any help appreciated… trying to make ubcd usb key with version 511
By Pixel March 9, 2012 - 9:41 am
So you don’t even get to the grub4dos menu? Or do you get an error when starting UBCD? Have you done anything like in this post? Are you sure your menu.lst ist correct?
By Lou March 24, 2012 - 8:47 am
You might want to mention upfront that grubinst_gui.exe is a Windows program. Stupid me, I saw all the Linux blurbs on your site and got partway through before I realized this won’t work for my linux box!
By josh May 14, 2012 - 3:11 pm
http://img580.imageshack.us/img580/8844/capturessq.png
I have this problem?
i have been trying to get UBCD5 on a usb via grub4dos for ages it’s not funny.
IF ANYONE knows of a working way or a fix for my problem please email me.
Thanks
By Pixel May 14, 2012 - 3:18 pm
Could you show me your menu.lst please?