There are multiple utilities to create a Linux Live USB in Windows. However, most of them are not available in Mac OS X. Let's see how to create a Linux Live USB in Mac OS X without using any third-party apps, just with the terminal and the dd command.
Unblock any international website, browse anonymously, and movies and Mp3 with complete safety with CyberGhost, just for $2.75 per month:
the Linux Distribution ISO 5v1z6g
The guide will work for most Linux distributions.
For the example, we will use an Ubuntu 14.04.03 ISO, which is the latest LTS (Long Term ) version of Ubuntu, and will be ed until 2019.
Open the terminal 1a31t
After the ISO has ed, we need to open the Mac OS Terminal. The fastest way to do so is pressing Command + Space to open the Spotlight Search and type "terminal".
Inside the terminal, we need to navigate to the folder we ed the ISO. The default directory is our s folder, and we can navigate there with:
cd s/
For more information about how to navigate the terminal, check out our guide:
Basic Linux Commands for Linux Terminal Beginners
Since both Linux and Mac OS X are based on Unix, navigating the terminal is similar for both.
Convert the ISO to IMG 3y6t1e
To create a Linux Live USB in Mac OS X, we first need to convert the ISO file to an IMG. We will do so with the hdiutil application, substituting <ubuntu> for the full ISO file name.
hdiutil convert -format UDRW -o <ubuntu>.img <ubuntu>.iso
On a modern Mac with an SSD, this process will take less than a second. In the example, it took 925ms.
Prepare the USB flash drive 1h566
For most Linux distributions, a 4GB USB thumb drive will be enough. We connect the thumb drive to our Mac and run the diskutil command to see the device node assigned to our flash drive.
diskutil list
In the example, it is /dev/disk2.
Next thing, we need to unmount the drive. We make sure it doesn't contain any useful files, because they will be deleted, and then run:
diskutil unmountDisk /dev/disk<number>
Create the Linux Live USB in Mac OS X 1m635l
Finally, we are ready to set the procedure in motion. We type:
sudo dd if=<ubuntu>.img.dmg of=/dev/rdisk<number> bs=1m
We might have converted the ISO to IMG, but Mac OS X added a .DMG extension, so we have to include this too.
Also, using /dev/rdisk instead of /dev/disk may be faster, but both will work.
After the sudo command, we need to enter our . Nothing will show on the terminal as we are typing; we just enter the and press Enter.
If we use a fast USB 3.0 drive on a USB 3.0 capable Mac, the procedure will be lightning fast. The 1006MB ISO was transferred to the USB in less than 5,2 seconds, averaging 194MB/sec.
Finally, we eject the USB thumb drive with:
diskutil eject /dev/disk<number>
That was it. We now have a Linux Live USB, to install Linux on a Windows PC, or on our Mac.
Did you have any trouble creating a Linux Live USB in Mac OS X? 5b2r6y
If anything on the guide didn't work as described, and you weren't able to create a Linux Live USB in Mac OS X, leave us a comment.
PCsteps 4x1e3d
Do you want to PCsteps, so we can post high quality articles throughout the week?
You can like our Newegg.
If you prefer your purchases from China, we are d with the largest international e-shops: