====== DMG Files ======
DMG files are Apple's equivalent of ISO's. Wikipedia explains at [[https://en.wikipedia.org/wiki/Apple_Disk_Image]]
===== Burn DMG to USB Drive =====
If you have a Mac, //Disk Utilities// will do this for you. For Windows and Linux, you need some additional software. I have **not** verified the Windows tool, DMG Editor, but an article I read says it is ok. The following is taken from [[https://www.androidphonesoft.com/resources/burn-dmg-to-usb-drive.html]]
From Linux, however, you can do the following. You must be the root user.
- Install dmg2imgapt install dmg2img
- Convert dmg file to isodmg2img filename.dmg
- Determine your usb drive and unmount if necessarylsblk
- Copy the .img file created to your usb drive (assumes sdh from previous step)dd if=./filename.img of=/dev/sdh bs=4M
- Your machine will go into lala land, with no visible indication anything is happening. Just be patient. When done, be sure all data is written with sync
- Remove USB Drive from computer after you get command line back
If the DMG was bootable, you now have a bootable USB.
===== Links =====
- https://www.androidphonesoft.com/resources/burn-dmg-to-usb-drive.html
- https://en.wikipedia.org/wiki/Apple_Disk_Image
- https://www.lifewire.com/dmg-file-2620719