User Tools

Site Tools


computing:ubcd

Ultimate Boot CD

Create Bootable USB with Linux

Extract the ISO

:!: Mount the latest UBCD ISO or CD.

Extract UBCD files to a temporary location:

mkdir ~/Desktop/UBCDextracted

rsync -avr /media/<username>/UBCD528/* /home/<username>/Desktop/UBCDextracted/

Partition the USB Flash Drive

sudo su

Determine which USB drive:

fdisk -l

Blank the USB drive (optional):

dd if=/dev/zero of=/dev/sdX

Create a FAT32 partition and filesystem:

:!: Make the partition type 'c' (W95 FAT32 (LBA)) and 'active' (bootable).

fdisk /dev/sdX

Create the Filesystem

mkfs.vfat -F 32 -n UBCD /dev/sdX1

Copy the Files to the USB Flash Drive

:!: Replug the USB flash drive to mount the filesystem.

cd /home/<username>/Desktop/UBCDextracted/

rsync -avr /home/<username>/Desktop/UBCDextracted/* /media/<username>/UBCD/

Make the USB Flash Drive Bootable

dd if=./ubcd/tools/linux/ubcd2usb/mbr.bin of=/dev/sdX

chmod +x ./ubcd/tools/linux/ubcd2usb/syslinux

./ubcd/tools/linux/ubcd2usb/syslinux --install --directory /boot/syslinux /dev/sdX1

sync
computing/ubcd.txt · Last modified: 2014/01/11 11:00 by gcooper