Skip to content

Instantly share code, notes, and snippets.

@er2
Created October 16, 2021 20:21
Show Gist options
  • Save er2/a1c6aafb237028ce39037d05fe245360 to your computer and use it in GitHub Desktop.
Save er2/a1c6aafb237028ce39037d05fe245360 to your computer and use it in GitHub Desktop.
how to use u3-tool with fish shell
# determine necessary partition size
set ISOSIZE (wc -c image.iso)
# resize partition
sudo u3-tool -p $ISOSIZE /dev/sg3
# load
sudo u3-tool -l image.iso /dev/sg3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment