Create bootable Linux Debian USB drive in Apple OS X

Creating a bootable Linux Debian USB stick from Apple OS X is fairly easy 🙂

  1. Download the latest stable Linux Debian ISO from cdimage.debian.org;
  2. Insert your USB drive;
  3. Start the Terminal app;
  4. enter sudo diskutil list to determine the mount point of your USB drive (for example disk3);
  5. enter sudo diskutil eraseDisk FAT32 USB /dev/disk3; (WARNING: THIS WILL REMOVE ALL DATA FROM YOUR USB DRIVE!)
  6. enter sudo diskutil unmountDisk /dev/disk3;
  7. enter cd Downloads;
  8. enter sudo dd if=./debian-9.1.0-amd64-DVD-1.iso of=/dev/disk3 bs=1m;
  9. enter diskutil eject /dev/disk3
About Normen 19 Articles
Normen is a freelance senior network security engineer specialised in Check Point Technologies solutions. If you like his articles you can buy him an espresso here

6 Comments

  1. better raw write (pls note rdisk3 instead of disk3)
    sudo dd if=./debian-9.1.0-amd64-DVD-1.iso of=/dev/rdisk3 bs=1m
    than
    sudo dd if=./debian-9.1.0-amd64-DVD-1.iso of=/dev/disk3 bs=1m

  2. Step 9 should be disk3 instead of disk1
    I’m stuck at step 8 where it says dd: /dev/disk2: Resource busy

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.