STUDY/CentOS on Mac

udiutil, How to convert iso to dmg file on Mac

The Simpler 2017. 2. 22. 11:09

hdiutil convert -format UDRW -o [.DMG file you will make] [.ISO file you have]



1. Where is the directory that is in ISO file, will be in DMG file

/Users/baek/Documents/CentOS7/


2. What is iso file's name?

CentOS-7-x86_64-Minimal-1611.iso 


3. What do you want to name new dmg file's name?

CentOS-7_dmg


4. Open Terminal and Go hdiutil!


hdiutil convert -format UDRW -o /Users/baek/Documents/CentOS7/CentOS-7_dmg /Users/baek/Documents/CentOS7Minimal/CentOS-7-x86_64-Minimal-1611.iso 


hdiutil convert -format UDRW -o [생성된 img 파일이 저장될 경로 + 파일 이름] [다운받은 iso 파일의 경로]