Netgate SG-1000 microFirewall

Author Topic: Create a bootable USB flash disk on MacOs  (Read 146 times)

0 Members and 1 Guest are viewing this topic.

Offline mricecool

  • Newbie
  • *
  • Posts: 17
  • Karma: +1/-0
    • View Profile
Create a bootable USB flash disk on MacOs
« on: January 24, 2018, 03:16:24 pm »
Couldn't find a good how-to make a bootable usb disk on macOS, so I made this for anyone else looking.

1. Download the memstick version
2. run "$ diskutil list"
3. insert your flash media
4. run "$ diskutil list" again, notice the new device that has appered
5. run "$ diskutil unmountDisk /dev/diskN", were "N" is the device number
7. extract your downloeded copy, so that you get the ".img" file
8. convert your downloaded copy of pfSense to iso "$ hdiutil convert pfSense-CE-memstick-2.4.2-RELEASE-amd64.img -format UDRW -o pfSense-CE-memstick-2.4.2-RELEASE-amd64.iso"
9. Remove the ".dmg" file extension of the outputtet file.
10. write the "iso" file to flash drive "$ sudo dd if=pfSense-CE-memstick-2.4.2-RELEASE-amd64.iso of=/dev/rdisk2 bs=1m". Notice the "r" in "rdisk". This will speed things up.
11. eject the flash drive, "$ diskutil eject /dev/disk2"
12. Done!