Links:
Commands:
1. cp command (linux): dd if=kali.iso of=/dev/sdb bs=512k
2. pv command (linux): pv -p -t -b -e -r -b kali.iso > /dev/sdb (Shows progress - install with "apt-get install pv")
What is Kali?
What is a live USB?
Assumptions:
1. Enough space on USB device?
2. USB device is bootable?
3. Host allows boot from USB device?
4. Have access to boot config in host BIOS?
Steps:
1. Insert USB
2. Have USB recognized as device (Note: Virtual box will take more effort)
3. Use dmesg to verify USB device label.
4. Optional: Use gparted to remove existing partitions from USB
5. Copy kali.iso to USB
6. Use gparted to create new partition in unused space (give partition the label "persistence")
7. Create persistence.conf file in root of persistence partition
A "custom persistent mount" has the format: DIR [OPTION]
A custom persistent mount creates a mirror of DIR called the SOURCE directory
DIR must be an absolute path
cannot contain white spaces or the special . and .. path components
cannot be /live (or any of its sub-directories)
options are comma separated
bind-mount is default
union-mount is an option
"source=PATH" stores the persistence changes into PATH on the persistence media
on conflict, last option wins
source directory created automatically
source directory bootstrapped by copying the contents of the DIR into its source (except union, link)
All persistence volumes mounted in /live/persistence/<device name>
8. Enter persistence as a boot parameter when booting
Demos:
1. boot live
2. isolinux menus and append options
3. changes to persistence volume with union
4. changes to persistence volume with bind
5. /live/persistence mount
6. How to do this in windows?