f3fix

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

Install

All systems
curl cmd.cat/f3fix.sh
Debian Debian
apt-get install f3
Ubuntu
apt-get install f3
image/svg+xml Kali Linux
apt-get install f3
Fedora
dnf install f3
Windows (WSL2)
sudo apt-get update sudo apt-get install f3
OS X
brew install f3
Raspbian
apt-get install f3

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

  • Fill a fake flash drive with a single partition that matches its real capacity:
    sudo f3fix /dev/device_name
  • Mark the partition as bootable:
    sudo f3fix --boot /dev/device_name
  • Specify the filesystem:
    sudo f3fix --fs-type=filesystem_type /dev/device_name

© tl;dr; authors and contributors