The process below was done on a Fedora 14 platform using syslinux-4.02-3.fc14.x86_64 and unetbootin-0-8.494bzr.fc14.x86_64.
Used the methods below to create three different flash drives; 1GB JefFlash Blader Dos only, 4GB Kingston that has OpenDos and Balder Dos, and a Super Talent USB 3.0 Express Duo 16GB with Live Fedora. Drives were tested in two systems; one AMD processor Gigabyte mother board and the other an ICore 7 EVGA motherboard.
Warning: the first steps below wipe out any previous data on the flash drive so you may need to skip them if your just adding to or creating additional flash drive partitions.
Plug in flash drive and follow these steps. - Type dmesg and see which device the stick is /dev/sd?, in our case it is /dev/sdc - Type fdisk /dev/sdc * Type p to show the existing partition and d to delete it * Type p again to show any remaining partitions (if partitions exist, repeat the previous step) * Type n to make a new partition * Type p for primary partition o Type 1 to make this the first partition o Hit enter to use the default 1st cylinder o Type +4G to set the partition size (Maybe a Max size for Bios support, not clear though) o Type a to make this partition active o Type 1 to select partition 1 o Type t to change the partition filesystem o Type 6 to select the fat16 file system * Type n to make another new partition (Optional) * Type p for primary partition (Optional) o Type 2 to make this the second partition o Hit enter to use the default cylinder o Type +8G to set the partition size o Type 2 to select partition 2 o Type t to change the partition filesystem o Type 83 to select the Linux file system * Type n to make a new partition (Optional) o Type 3 to make this the third partition o Hit enter to use the default 1st cylinder o Hit enter again to use the default last cylinder o Type t to change the partition filesystem o Type 86 to select the NTFS file system * Type p to show partition Disk /dev/sdc: 15.7 GB, 15728640000 bytes 64 heads, 32 sectors/track, 15000 cylinders, total 30720000 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x6f20736b Device Boot Start End Blocks Id System /dev/sdc1 * 2048 8390655 4194304 6 FAT16 /dev/sdc2 8390656 25167871 8388608 83 Linux /dev/sdc3 25167872 30719999 2776064 86 NTFS volume set * Type w to write the new partition table - Type umount /dev/sdc1 to unmount the partition - Type mkdosfs -F 32 -n <LabelText> /dev/sdc1 - Type mkfs.xfs -f -L <LabelText> /dev/sdc2 (Optional) - Type mkfs.ntfs -f -L <LabelText> /dev/sdc3 (Optional) - Type unetbootin; install live image, Free Dos, Dos, or some other software To get the Balder Dos to run: - Create directory Dos and copy the balder10.img file into the directory. - Edit the syslinux.cfg file, copy a menu section and modify to look like: label ubnentry14 menu label Dos kernel /isolinux/data/memdisk append initrd=/Dos/balder10.img - Second method of using Balder Dos, on another flash drive: unetbootin select the file balder10.img select the partioned and formated flash drive
The unetbootin program runs on Linux, Windows and Mac OS. An MBR record is installed along with syslinux a chaining boot loader that runs on an MS-DOS FAT filesystem.
No menu editing is needed with the second method of installing and using Balder Dos. To boot the flash drives you most likely will need to configure the Bios settings to boot from the flash drive. Every time we remove the flash drive and bring up the system we have to go back through the Bios settings to put the flash drive in the boot sequence.
When you select it from the boot up menu you will end up in a command prompt. The C: drive will be the boot partition of the flash stick.
Pretty much the same methods are used for Windows platforms to do the partitioning process. For Windows XP and older you would use fdisk and for Windows Vista and Windows 7 you would use parted. So the process is very similar for Linux and Windows. Having never used a Mac platform we can not comment on how to do this process for that platform.
yum install unetbootin; Red Hat or Fedora Linux