Skip to content

Instantly share code, notes, and snippets.

@hanbzu
Created December 26, 2013 17:19
Show Gist options
  • Save hanbzu/8136259 to your computer and use it in GitHub Desktop.
Save hanbzu/8136259 to your computer and use it in GitHub Desktop.
Linux/Ubuntu: USB startup disk through the command line
# The Ubuntu USB startup creator often crashes.
# This is an alternate way of doing the same process through the command line
# First plug in the USB pendrive. It will mount automatically
# Then check where it is (which device)
df
# Let's say we see it's in /dev/sdb1
# Then we have to use /dev/sdb and NOT /dev/sdb1
# Unmount it
sudo umount /dev/sdb
# And create the startup disk
sudo dd if=lubuntu-13.10-desktop-i386.iso of=/dev/sdb bs=1M
# Cleanup
sync
eject /dev/sdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment