Created
September 26, 2015 21:23
-
-
Save Miliox/8808ebbc74ad1396f956 to your computer and use it in GitHub Desktop.
Create LiveBoot USB using CLI on MacOSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # source: https://blog.tinned-software.net/create-bootable-usb-stick-from-iso-in-mac-os-x/ | |
| $ hdiutil convert -format UDRW -o livecd.img LiveCD.iso | |
| $ diskutil list | |
| $ diskutil partitionDisk /dev/disk<n> 1 "Free Space" "unused" "100%" | |
| $ diskutil unmount disk<n>s1 | |
| $ sudo dd if=antivirus_livecd.img.dmg of=/dev/disk<n> bs=1m | |
| $ diskutil eject /dev/disk<n> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment