How-to: Backtrack 4 USB Persistent Changes
Here is my dirty way to make BT4 running on USB disk instead of run from DVD.
- Boot Live DVD Backtrack 4
- Split your pendrive into 2 partitions, the 1st is for your BT4 files, and the 2nd is for your changes. I have 4 GB pendrive, so i made 2 partitions with 1500MB for BT4 files (with FAT32 FS) and the rest of disk space went to another partition with Ext3 FS. You can use fdisk of cfdisk to make those things.
- Format it using mkfs:
- mkfs.vfat -F 32 -n BT4 /dev/sdb1
- mkfs.ext3 -b 4096 -L casper-rw /dev/sdb2
- Mount them:
- mkdir /mnt/BT4
- mount /dev/sdb1 /mnt/BT4
- Copy all BT4 files from mounted DVD to our new mounted partition (/mnt/BT4)
- rsync -avh /media/cdrom/ /mnt/BT4/
- Instal GRUB boot loader
- grub-install –no-floppy –root-directory=/mnt/BT4 /dev/sdb
- Edit the menu.lst file
- nano /mnt/BT4/boot/grub/menu.lst
- umount /mnt/BT4
- reboot
Start Persistent Live CD <———- find this line
bla bla bla quiet vga=0×317 <———- add vga=0×317 like this
That’s it. Can’t wait for the official release ^^
reference: Offensive-Security



@Phlip
hello Phlip, i just discovered your comment here..
From what i know, the grub installation step must be done from Backtrack 4 Live DVD or another Ubuntu based distro live CD. Have you did that? thank you..
grub-install –no-floppy –root-directory=/mnt/BT4 /dev/sdb
root@YodaTop:/media/iso# grub-install –no-floppy –root-directory=/mnt/BT4 /dev/sdb
More than one install_devices?
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, –help print this message and exit
-v, –version print the version information and exit
–modules=MODULES pre-load specified modules MODULES
–root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
–grub-setup=FILE use FILE as grub-setup
–grub-mkimage=FILE use FILE as grub-mkimage
–grub-mkdevicemap=FILE use FILE as grub-mkdevicemap
–grub-probe=FILE use FILE as grub-probe
–no-floppy do not probe any floppy drive
–recheck probe a device map even if it already exists
–force install even if problems are detected
–disk-module=MODULE disk module to use
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specified by
–root-directory, and uses grub-setup to install grub into the boot
sector.
Report bugs to .