Install CrunchBang Linux to Flash Drive using the CD
The following tutorial covers the process of creating a CrunchBang Linux USB Flash Drive by typing a few commands while running from the CrunchBang Live CD. In addition, the casper persistence feature will be utilized to allow a user to save and restore changes automatically. CrunchBang Linux is based on Ubuntu, featuring a lightweight Openbox window manager.
CrunchBang Desktop Screenshot

Distribution Home Page: CrunchBang
Minimum Flash Drive Capacity: 2GB
Persistent Feature: Yes
CrunchBang Persistent USB Flash Drive Creation Essentials
- CrunchBang CD
- Working internet connection
- 2GB or larger USB Flash Drive
Creating a CrunchBang Persistent Flash Drive from the Live CD
- Download the CrunchBang ISO and burn it to a CD
- Reboot your PC from the CrunchBang Live CD
- Insert your USB flash drive
- Open "terminal emulator" and type sudo su
- Now type fdisk -l to list available drives/partitions (note which device is your flash drive Example: /dev/sdb). Throughout this tutorial, replace all instances of x with your flash drive letter. For example, if your flash drive is sdb, replace x with b.
- Type fdisk /dev/sdx
- 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 pfor primary partition
- type 1 to make this the first partition
- hit enter to use the default 1st cylinder
- hit enter again to use the default last cylinder
- type a to make this partition active
- type 1 to select partition 1
- type t to change the partition filesystem
- type 6 to select the fat16 file system
- type w to write the new partition table
- Remove and reinsert your flash drive
- Type umount /dev/sdx1
- Type mkfs.vfat -F 32 -n CrunchBang /dev/sdx1
- Type apt-get install syslinux
- Type syslinux -f /dev/sdx1
- Remove and reinsert your flash drive again
- Type cd /live/image
- Type cp -rfv .disk dists install isolinux live pool md5sum.txt /media/CrunchBang
- Type cd /media/CrunchBang
- Type wget pendrivelinux.com/downloads/crunchbang/syslinux.cfg
- Type dd if=/dev/zero of=casper-rw bs=1M count=1024
- replacing 1024 with the (size in MB) you wish to use for saving changes persistently
- Type mkfs.ext3 -F casper-rw
- Reboot your computer and set your BIOS boot priority or Boot Menu to boot from the USB device. Save your changes and proceed to boot from your CrunchBang USB device