Make Bootable Usb From Dmg Ubuntu

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.

Dec 20, 2019 How to Make a USB Bootable. This wikiHow teaches you how to turn a USB flash drive into a location from which a computer can install or start an operating system. This is useful when attempting to install an operating system (e.g. Feb 14, 2018 If you're one of the those Windows users who just wants to dabble in the open-source platform, then it could be handy to have a bootable Ubuntu USB so that you can run the OS without committing to a full install. This guide will show you how to create a bootable Ubuntu USB in Windows. Aug 02, 2016 Make A Bootable Mac DMG USB With TransMac! Thanks For Watching! As Always if you liked this video, don't forget to Subscribe! Get Cheap Games at G2A Link Bel.

Make

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:

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.

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.

Learn how to create a bootable Windows 10 USB on Ubuntu and Linux Mint using a free application called ‘WoeUSB’.

While I don’t use Windows 10 often I do know that, every now and then, I might have need to. And should I need to create a bootable Windows 10 USB I’d like do it from my Ubuntu desktop.

Now, the method I show you in this post is just one of several ways to perform this particular task. So while I think it’s the easy way to create a bootable Windows 10 USB (one that actually boots) it’s not the only way.

How to Create Bootable Windows 10 USB on Ubuntu

WoeUSB is the (oddly named) app we are going use to make a bootable Windows 10 USB stick on the Ubuntu desktop. It’s a fork of an earlier tool called WinUSB.

This tool is free, open-source software. It is available as both a GUI app and CLI client. In this tutorial we only focus on the GUI steps.

WoeUSB lets you make a bootable USB for most modern Windows releases, including Windows Vista, Windows 7, Window 8, and Windows 10. The tool supports all languages and all versions of Windows, including pro, home, N, 32-bit, etc. It will work with both ‘legacy’ and ‘UEFI’ bootmodes, too.

For advanced usage you can dive in to the WoeUSB CLI which has all sorts of flags and switches. Most of you will be fine using the GUI client though.

To create a bootable Windows 10 USB on Ubuntu you will need:

  • WoeUSB app
  • USB flash drive (4GB minimum)
  • Windows 10 .iso file

Microsoft lets you download Windows 10 disc images from their website so if you don’t have one, you can go grab one. Be aware that you will need a valid Windows license to activate and use the OS, but you don’t need one to create an install USB or install it.

1. Install WoeUSB on Ubuntu

WoeUSB is available to download from its Github page as source code. Ubuntu users can download installer that pulls it all the required dependencies is also available, but an actual installer for the app is not available there.

The easiest way to install WoeUSB on Ubuntu is by downloading one of these installers from the Webup8 PPA:

Installers for Ubuntu 16.04 LTS 32-bit are also available.

2. Run WoeUSB

Once WoeUSB is installed you can launch the app from the applications menu on your desktop.

The app is very easy to use.

First, select a valid Windows 10 ISO image using the file selector, and then select the correct USB drive you want to install it to from the ‘Target device’ section.

If you don’t see your USB device listed in the ‘Target device’ section make sure it’s attached and then click the ‘refresh’ button to update the list of attached devices.

3. Create Windows 10 Bootable USB

Once you’re ready to roll you can go ahead and hit install.

But before you do this please, please double-check that you’ve selected the correct drive first. The install process will reformat and wipe the contents of the selected USB drive. You will lose any data stored on it.

Other than that, the tool will do the rest. Just let it run its course. Once done you can close the app, eject the USB and use it to install Windows 10 on a different device.

Make Bootable Usb From Dmg Ubuntu Computer

Everything should work as normal — though I’m told the app may spit an error out but that the actual USB will still boot/install fine — but if it doesn’t you can file bugs on the WoeUSB Github page.