Username Always stay logged in
Password:

 

Pages: [1]
  Print  
Author Topic: ISO to USB  (Read 2654 times)
martinc
Global Moderator
Pro Designer
*****

Karma: +1/-0
Offline Offline

Posts: 148



View Profile
« on: February 23, 2013, 05:45:58 PM »

Code:
ISO="ubuntu-12.04.2-desktop-amd64.iso"
IMG="ubuntu-12.04.2-desktop-amd64.img"
DISK=/dev/disk1

hdiutil convert -format UDRW -o "${IMG}" "${ISO}"

diskutil list

diskutil unmountDisk "${DISK}"

#ridsk instead of disk can be faster
dd if="${IMG}" of=/dev/rdisk1 bs=1m

diskutil eject "${DISK}"
Logged

I have as much authority as the Pope, I just don't have as many people who believe it. --George Carlin
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Greenday Theme Designed By [S.W.T]