The following tutorial covers the process of installing CrunchBang Linux to a USB Flash Drive via 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.
source:
http://www.pendrivelinux.com/Creating a CrunchBang Persistent Flash Drive from the Live CD
- Download the CrunchBang 8.10.01 ISO and burn it to a CD ( I used 9.04 Jaunty Jackalope)
- 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. The following step 6 I did with Gparted
- 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 p for 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 ( I kept the usb drive on fat16 because I read somewhere Fat32 could lead to problems )
https://help.ubuntu.com/community/RenameUSBDrive
I use this:
sudo mlabel -i bracket_device_bracket ::bracket_label_bracket
got this error
If you get a message like this: Total number of sectors (7831520) not a multiple of sectors per track (63)!
You can easily ignore the check by running this command:
echo mtools_skip_check=1 >> ~/.mtoolsrcThis instruction supposes your pc can boot from an USB stick. My bios made that impossible. In the next story howto boot a boot USB with a boot cdrom and how to make a boot cdrom like that
No comments:
Post a Comment