How to burn an iso, img or a dmg image using Terminal to a USB stick on mac
Visit my blog entry - http://goo.gl/XyfdY
Instructions:
1.Download the .iso file. This also can be an .img file or a .dmg file
2.Rename the .iso file to .dmg.
3.Right-click on the .dmg file and select Get Info. Write down the full path name as mentioned in the dialog box. We will need that for step 9.
4.Start a Terminal window. The Terminal application is located in the folder /Applications/Utilities/ of your Macintosh HD volume.
5.In the Terminal window, type:
diskutil list
and press the Enter key. Now a list of your storage devices is displayed in the Terminal window, underneath what you typed earlier.
6.Put the USB stick in the USB port of your Mac.
7.In the Terminal window, type again:
diskutil list
and press the Enter key. Now you see the same list, but with an extra storage device. The location of that device has the format /dev/diskN, where N is a number. In my case it was /dev/disk1. Write that down.
8.In Terminal, type
diskutil unmountDisk /dev/diskN
and press the Enter key. Use the N from step 7. This will unmount the USB stick (it will disappear from your desktop).
9.In Terminal, type
sudo dd if=/path/to/file.dmg of=/dev/diskN bs=1m
and press the Enter key, where /path/to/file.dmg is the full path from step 3, and /dev/diskN from step 7. You will be asked to enter a password. This is why you must be logged in as an administrator, a non-administrator does not have to privileges to perform this operation. This operation takes quite a while (seconds in my case). Be patient and let it do its thing.
10.In Terminal, type
diskutil eject /dev/diskN
and press the Enter key. Again N is the number we established in step 7.
11. you are done
recorded with screenflow
Audio recorded with Zoom H1
Edited with Final Cut Pro X and Compressor
---------------------------
Don't forget to follow me on twitter: @z4x0n
Thanks for watching :)
----------------------------
Closed Caption:
download the iso file
Laura dmg file and put it on your
desktop rename the iso file to a dmg
file
you could also rename the fire name to a
shorter name just for is a fuse
after the right click on it and select
get info then I'd on the full path name
as mentioned in the dialog box if it is
with capital letter so you need to write
down a capital letter to after that go
ahead and start the terminal app
in terminal right this cute little list
don't worry guys I'm going to put all
the instructions in the description
below so now we got a list of the
storage devices displayed in the
terminal window and now we are going to
put the USB stick in the USB port and
once again we're going to write this
cute little list
now we have the same list but with an
extra storage device
it's the location of the USB stick it
should be / they're / desk and the
number in my case it's one
write it down because we're going to
need it later
in the terminal right this kid
the amount desk that they should be
capital than / they're / disk 1 or the
number that you have them percenter
this would amount to the USB stick
and it will disappear from your desktop
and now we will start with the bed
the process we have you have to write
down in the terminal pseudo DD f equals
2 / path / to / the fire name . dmg of
equals 2 / they're / desk one in my case
be as equals to 1 M which means it's
going to burn with one megabyte files
then press enter now the / path / to /
file
dmg is the full path from the first step
when we placed on the desktop and we got
the file name and / the / disk 1
is the file address of the USB stick
now you'll be asked to enter the
password of the administrator
you cannot do it if you're not a
demonstrator
anyway this operation should take a
while depending on the file size so be a
little patient
what i'm doing here is not necessary i'm
thinking of the disputer let's just to
get the file path
once you are done in terminal type is
cute the eject / the / disk and the
final number then press Enter
not the USB is dejected you can go ahead
and quit terminal
what I'm doing now just that i am taking
the USB stick and putting it in again
just to check if it's really burned or
not
so as you can see i have the US beer and
the files are burned successfully so
thank you guys for watching the
subscribe rate comment and see you in
the next video
Video Length: 07:25
Uploaded By: ReDandDarkFire
View Count: 107,803