User Tools

Site Tools


computing:ubcd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
computing:ubcd [2014/01/11 10:03]
gcooper created
computing:ubcd [2014/01/11 11:00] (current)
gcooper
Line 4: Line 4:
  
 http://kb.digium.com/articles/FAQ/How-to-run-Ultimate-Boot-CD-from-USB-stick-Linux http://kb.digium.com/articles/FAQ/How-to-run-Ultimate-Boot-CD-from-USB-stick-Linux
 +
 +==== Extract the ISO ====
 +
 +:!: Mount the latest UBCD ISO or CD.
 +
 +Extract UBCD files to a temporary location:
 +
 +<file>
 +mkdir ~/Desktop/UBCDextracted
 +
 +rsync -avr /media/<username>/UBCD528/* /home/<username>/Desktop/UBCDextracted/
 +</file>
 +
 +==== Partition the USB Flash Drive ====
 +
 +<file>
 +sudo su
 +</file>
 +
 +Determine which USB drive:
 +
 +<file>
 +fdisk -l
 +</file>
 +
 +Blank the USB drive (optional):
 +
 +<file>
 +dd if=/dev/zero of=/dev/sdX
 +</file>
 +
 +Create a FAT32 partition and filesystem:
 +
 +:!: Make the partition type 'c' (W95 FAT32 (LBA)) and 'active' (bootable).
 +
 +<file>
 +fdisk /dev/sdX
 +</file>
 +
 +==== Create the Filesystem ====
 +
 +<file>
 +mkfs.vfat -F 32 -n UBCD /dev/sdX1
 +</file>
 +
 +==== Copy the Files to the USB Flash Drive ====
 +
 +:!: Replug the USB flash drive to mount the filesystem.
 +
 +<file>
 +cd /home/<username>/Desktop/UBCDextracted/
 +
 +rsync -avr /home/<username>/Desktop/UBCDextracted/* /media/<username>/UBCD/
 +</file>
 +
 +==== Make the USB Flash Drive Bootable ====
 +
 +<file>
 +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
 +</file>
computing/ubcd.1389459802.txt.gz · Last modified: 2014/01/11 10:03 by gcooper