Making A Bootable Osx Usb From Dmg On Linux

Stick

This guide covers the verbatim copying of a DMG image to a USB thumb drive using only Linux (no need to find a Mac). If the DMG was intended to be bootable then the resulting USB will be bootable.

Linux Create Bootable Usb Stick

Creating a bootable USB stick is very simple, especially if you’re going to use the USB stick with a generic Windows or Linux PC. We’re going to cover the process in the next few steps. Apple hardware considerations. There are a few additional considerations when booting the USB stick on Apple hardware. Apr 03, 2016  In the following instruction, we show specifically how to make a Mac OS X bootable installation USB from El Capitan.DMG, Yosemite.DMG, Maverick.DMG or any OS.

Convert to ISO

Linux doesn’t much care for DMG files. Sure, it’ll play nice with them. But we don’t just want to play nice. We want to copy a DMG image to a USB drive and keep it as verbatim as computationally possible. In order to do this, we’re first going to convert the image to a format that’s a little more universal: ISO.

We’re going to use dmg2img to convert the DMG to an ISO image. If you already have dmg2img, great. If not, install it using your distribution’s native package management system.

On Ubuntu, you’d do it like this:

Once you have dmg2img installed, begin converting the DMG file:

Dmg

After a few minutes, you should have a second file called image.img. This file can be used like an ISO. All we have to do is change the extension. Use mv to do this:

Make sure you specified “image.img” and not “image.dmg”! Working with three different file extensions can get kind of confusing.

Ok, so we should now have a file called “image.iso” which is just “image.img” with a different extension.

Now we want to write “image.iso” to our USB drive. I used “lsblk” to figure out how the system was identifying my drive. The lsblk command lists all disks connected to the system. It’s usually pretty easy to figure out which disk is which based on their size. Just be sure you’re sure. This process is going to overwrite the target disk with the contents of our DMG image file. Any preexisting files on the target disk will be lost. As usual, make sure you have a proper backup.

Linux

Make sure the target drive isn’t mounted. Unmount the drive with your distribution’s GUI.

Or you could just unmount it from the terminal:

Most systems seem to mount external drives in /media. Sometimes the drive might be mounted in /mnt or elsewhere.

Write the ISO image to the USB drive like this:

Replace “X” with the appropriate letter. For example “/dev/sdb”. Be sure to use the drive directly and not a partition within the drive. For example, don’t use “/dev/sdb1”.

This will probably take a little while to complete. I’m using a Kingston DataTraveler DTSE9 and it took about 24 minutes 30 seconds to write 4.9GB.

Your new USB stick should now be bootable, assuming that was the intended purpose of the DMG.

HomeWindow softwaresMake Bootable Installation USB from Mac OS X.DMG on Windows PC

In the following instruction, we show specifically how to make a Mac OS X bootable installation USB from El Capitan.DMG, Yosemite.DMG, Maverick.DMG or any OS X older versions on Windows PC.

This is cool for Windows users who want to install Mac OS X on their PC, but useful for Mac users when their Mac is not working and needs to be re-installed new and fresh Mac Operating System.

Basically, you need two things: A MacOS X.DMG (or.ISO) and TransMac software.

  • At for Bootable MacOS images, you can download any versions from our existing shares here: https://applehint.com/t/download-all-macos-x-10-4-10-14-original/376
  • TransMac v11 full version:
    Acute Systems TransMac v11.zip (download)
    3.90 MB

    Please leave a comment if the download link does not work. Otherwise, you can download the trial version of TransMac here.

Making A Bootable Osx Usb From Dmg On Linux Download

How to create Mac OS X bootable USB on Windows?

  • You need to prepare an USB (8Gb or bigger).
  • Run TransMac by Run as administrator
  • Right-mouse the USB drive, choose Restore with Disk Image
  • From the warning dialog box, just click on Yes
  • Browse for the DMG file, then Click on OK button
  • The whole process then takes a few minutes to finish

Cheers!

Comments are closed.