Create a bootable USB flash disk on MacOs?..
-
Hello,
Couldn't find a good how-to make a bootable usb disk on macOS, so I made this for anyone else looking.
- Download the memstick version
- run "$ diskutil list"
- insert your flash media
- run "$ diskutil list" again, notice the new device that has appered
- run "$ diskutil unmountDisk /dev/diskN", were "N" is the device number
- extract your downloeded copy, so that you get the ".img" file
- 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"
- Remove the ".dmg" file extension of the outputtet file.
- 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.
- eject the flash drive, "$ diskutil eject /dev/disk2"
- Done!
thanks
jackyjoy -
Balena Etcher works great.
https://www.balena.io/etcher/