Skip to content

Instantly share code, notes, and snippets.

@marcioj
Last active December 24, 2016 12:46
Show Gist options
  • Save marcioj/cb71c744fbdccf28b3f6910bfcd64ea4 to your computer and use it in GitHub Desktop.
Save marcioj/cb71c744fbdccf28b3f6910bfcd64ea4 to your computer and use it in GitHub Desktop.
Bootable flashcard
# here we use /dev/sdc1 but it can be different
# make sure the flascard is umounted
umount /dev/sdc
# format flashcard
sudo mkfs.vfat -n 'marcio-pendrive' -I /dev/sdc
# create iso
mkisofs -l -o /home/marcio/arch.iso /home/marcio/dotfiles-master/arch
# create bootable flashcard
sudo dd bs=4M if=/home/marcio/arch.iso of=/dev/sdc status=progress && sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment