Creating a bootable USB from an ISO

Hello everyone,


I'm very new to the world of OSx. My wife just got her second Macbook Pro and gave me her old one. I'm running Mac OS X 10.6.7. I've created bootable USB drives on my window's computers over and over again but after reading at least 30 forums I can't figure it out on mac.


I've downloaded my .iso (it's a copy of Kali Linux, from Offensive Security) and it's titled kali.iso on my desktop.


I've been trying to use the hdiutil command line below that always give me an error output:


hdiutil convert /Users/myusername/Desktop/kali.iso -format UDRW -o /Users/myusername/Desktop/kali


Error:


hdiutil: convert failed - not recognized


After I get the .iso converted to a .dmg I'm confident I can mount it to my usb and boot, but I can't get this to convert. Any ideas?

Mac OS X (10.6.7)

Posted on Mar 24, 2014 5:24 PM

Reply
7 replies

Mar 25, 2014 4:59 AM in response to m_davis337

I have found that the tools for doing this on Mac is really not working or non-existing. Disk Utility is supposed to be able to do this, but last time I tried, it didn't even want to recognise my image file, and even if it would recognise anything I threw at it, I would just get an error anyway because the USB stick were already in use. If I ejected the USB stick, it wouldn't find the stick.


(The trick is to manually unmount the file system that is in use with the USB stick before attempting the operation, but I don't remember the Terminal command line for this, there are articles about this around on the Internet.)


There isn't an abundance of tools from what I have found on Mac either.


Last time I needed a boot USB, I ended up using Windows, after hours of failing to either find a proper tool, or making Disk Utility work. (You will find Disk Utility in your Applications/Utilities folder.)


If anyone else here has a tip of a good USB boot image making tool, I would be greatful as well.

Nov 25, 2016 4:54 AM in response to VikingOSX

VikingOSX wrote:


Why not fire up dd(1) and sip coffee? See this article with example. If it complains use the raw disk device instead — /dev/rdisk with the drive number.


<Link Edited by Host>


GNU dd uses the bs=1m syntax. Other dd will like bs=1M.


So does the dd command actually convert the .iso to a .dmg and mount it to the USB? I noticed that in the bottom of his post he says mac's won't boot from these unless they have OSX. Is there a work around to get this working for linux?




Or will it work if I burn the .iso to a dvd and try and boot from the dvd?

Mar 25, 2014 6:04 PM in response to m_davis337

That Linux .iso that you have is the installer, but needs to be placed on bootable hardware. The dd syntax that I pointed you to is essentially a disk duplication — it simply copies the contents of the .iso (without conversion) onto the USB stick. If the Kali Linux .iso is also a LiveCD, you can boot to it from your Mac and run it from the USB stick. Holding down the option key on boot will show all boot devices.


If you want to access this Linux variant regularly from your MBP, and you have 4GB or more memory, then download a free copy of VirtualBox and read the installation instructions for Linux. VirtualBox will boot that .iso and let you install Kali Linux into a guest container that you can boot from a single key-click. I would advise against installing Kali Linux into your Mac — partitioned alongside OS X.

Mar 26, 2014 4:20 AM in response to VikingOSX

VikingOSX wrote:


That Linux .iso that you have is the installer, but needs to be placed on bootable hardware. The dd syntax that I pointed you to is essentially a disk duplication — it simply copies the contents of the .iso (without conversion) onto the USB stick. If the Kali Linux .iso is also a LiveCD, you can boot to it from your Mac and run it from the USB stick. Holding down the option key on boot will show all boot devices.


If you want to access this Linux variant regularly from your MBP, and you have 4GB or more memory, then download a free copy of VirtualBox and read the installation instructions for Linux. VirtualBox will boot that .iso and let you install Kali Linux into a guest container that you can boot from a single key-click. I would advise against installing Kali Linux into your Mac — partitioned alongside OS X.



I'm currently using VirtualBox to boot, but the objective is to replace OS X with Kali on my MBP. Thanks for the help, I'll try writing the iso to a dvd and booting since the flash copy won't work. The usb works on my other windows / linux computers but MBP won't recognize the bootable media. I'll try the

Nov 24, 2016 5:48 PM in response to btreuoinbuwerbgre

Hey great reply - I have been using 'dd' for all my iso related activities for ages on mac, linux and windows (well i use the term 'windows' loosely as I quit using anything microsoft years ago but a little netbook i bought recently had something called 8.1 on it arrgghh ) anyway thats another headache altogether.


My question is very related to booting a macbook pro with a say 'kali-linux.iso'. I used to do it with Refit/Refind boot manager and it worked perfectly.


The problem started when apple in all their wisdom released a new version of their OS. So it was the one before the current version, so the version before OS Sierra, whatever that was called. Now they have made it even more difficult to install another OS from USB or Flash media.


Do you know the way to get around this by any chance?


I remember reading a great tutorial on how to do just that, which was disabling smart boot or something but of course I lost that link ... Thanks in advance

LJ

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Creating a bootable USB from an ISO

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.