f3fix

Edit the partition table of a fake flash drive. See also: f3probe, f3write, f3read. More information: http://oss.digirati.com.br/f3/.

sudo f3fix /dev/device_name

sudo f3fix --boot /dev/device_name

sudo f3fix --fs-type=filesystem_type /dev/device_name