This shows you the differences between two versions of the page.
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:// | http:// | ||
+ | |||
+ | ==== Extract the ISO ==== | ||
+ | |||
+ | :!: Mount the latest UBCD ISO or CD. | ||
+ | |||
+ | Extract UBCD files to a temporary location: | ||
+ | |||
+ | < | ||
+ | mkdir ~/ | ||
+ | |||
+ | rsync -avr / | ||
+ | </ | ||
+ | |||
+ | ==== Partition the USB Flash Drive ==== | ||
+ | |||
+ | < | ||
+ | sudo su | ||
+ | </ | ||
+ | |||
+ | Determine which USB drive: | ||
+ | |||
+ | < | ||
+ | fdisk -l | ||
+ | </ | ||
+ | |||
+ | Blank the USB drive (optional): | ||
+ | |||
+ | < | ||
+ | dd if=/ | ||
+ | </ | ||
+ | |||
+ | Create a FAT32 partition and filesystem: | ||
+ | |||
+ | :!: Make the partition type ' | ||
+ | |||
+ | < | ||
+ | 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 / | ||
+ | |||
+ | rsync -avr / | ||
+ | </ | ||
+ | |||
+ | ==== Make the USB Flash Drive Bootable ==== | ||
+ | |||
+ | < | ||
+ | dd if=./ | ||
+ | |||
+ | chmod +x ./ | ||
+ | |||
+ | ./ | ||
+ | |||
+ | sync | ||
+ | </ |