dmg to iso
2016-10-16 20:49
197 查看
hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/ElCapitanfile.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/ElCapitanfile.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist
cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg
hdiutil detach /Volumes/install_app
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil convert /tmp/ElCapitanfile.cdr.dmg -format UDTO -o /tmp/ElCapitan.iso
mv /tmp/ElCapitan.iso.cdr ~/Desktop/ElCapitan.iso
hdiutil create -o /tmp/ElCapitanfile.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/ElCapitanfile.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist
cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg
hdiutil detach /Volumes/install_app
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil convert /tmp/ElCapitanfile.cdr.dmg -format UDTO -o /tmp/ElCapitan.iso
mv /tmp/ElCapitan.iso.cdr ~/Desktop/ElCapitan.iso
相关文章推荐
- .dmg to .iso
- How To Convert DMG To ISO on Mac OSX, Windows and Linux
- 在linux上,dmg转换成iso或img文件
- Howto Setup yum repositories to update or install package from ISO CDROM Image
- livecd-iso-to-disk的overlay设置
- Mac OS X 10.4.7 DMG 文件如何转化成ISO文件
- 乱码转中文输出(ISO-8859-1 to UTF-8)
- 错误:error: ISO C++ does not permit 'wxScrolledWindow::sm_eventTable' to be defined as 'MyClass::sm_eventTable'
- m -j32 iso_img("4.4.12Error: kernelrelease not valid - run make prepare to update it" exceeds 64)
- Howto Setup yum repositories to update or install package from ISO CDROM Image
- DMG 转 ISO
- ISO TO USB
- Getting to know ISO 15926
- ultraiso软碟通dmg转iso图文教程
- Mac OS X 10.4.7 DMG 文件如何转化成ISO文件
- How to use vSphere Image Builder to create a custom ISO
- Mac OS X 10.4.7 DMG 文件如何转化成ISO文件
- 【C/C++】warning: ISO C++ forbids converting a string constant to 'char*'
- Unable to obtain LocalDateTime from TemporalAccessor: {},ISO resolved to 2018-04-30 of type java.tim
- Mac OS X 10.4.7 DMG 文件如何转化成ISO文件