Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SignedAdam

macrumors newbie
Sep 30, 2016
6
2
London
Can we have all the methods above updated for macOS Sierra,

I would like to put macOS Sierra on a dvd disk, and for anyone asking why, dvds cant be corrupted unless you mark them, which wont happen if you take care of them, where as with a usb stick, the data can be deleted, and corrupted, or even formatted, usb ports can also brake, some computers only have two, (wheres the mpuse and keyboard going to go)
 

dpastern

macrumors member
Mar 16, 2010
83
0
Brisbane, Australia
This code worked for me.
It was done with the terminal utility.
It seems there was code that was included in the O/S to dissuade the creation of optical discs though.
The reason being that during the installation,toward the end of the boot process it freezes.
Here's the code anyway.Maybe someone else can tweak it to make it work.
On the last line,it starts with "sudo",replace "YOURNAME" with the username for the account you are logged into at the time.

hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/El\ Capitan

hdiutil resize -size 9g /tmp/El\ Capitan.sparseimage

hdiutil attach /tmp/El\ Capitan.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build

rm /Volumes/install_build/System/Installation/Packages

cp -rp /Volumes/install_app/Packages /Volumes/install_build/System/Installation/

cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/install_build

cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/install_build

hdiutil detach /Volumes/install_app

hdiutil detach /Volumes/install_build

hdiutil resize -size `hdiutil resize -limits /tmp/El\ Capitan.sparseimage | tail -n 1 | awk '{ print $1 }'`b /tmp/El\ Capitan.sparseimage

hdiutil convert /tmp/El\ Capitan.sparseimage -format UDTO -o /tmp/El\ Capitan

rm /tmp/El\ Capitan.sparseimage

mv /tmp/El\ Capitan.cdr ~/Desktop/El\ Capitan.iso

sudo drutil burn /Users/YOURNAME/Desktop/El\ Capitan.iso

wow I haven't logged in here for years!

I have to say that I'm very disappointed in Apple's hatred of optical discs and making life so difficult for its customers. Terrible. Anyway, I tried the above code, all worked AOK to create the iso, but cannot burn the ISO to disc (both from command line and finder) - tried using 2 now defunct TDK DVD-R+ DL discs...just thought to do a getinfo on the iso image and it's 8.2 GB on disc and that's why it's failing. And yes, I followed the instructions to the "T". Oh well, I guess it's onto using a USB stick...

edit: I know the DL discs are 8.5 GB, but I have a strong feeling that it's the size of the ISO image that's *****...gonna go do a test of hardware now during reboot to make sure the optical disc is AOK...
 
Last edited:

bedouin

macrumors member
Mar 3, 2011
95
7
I know flash drives are cheap, but I only keep a few around at a time, and often want to use them for other things. That's why I prefer a DVD installer, at least as a backup option.
 

fonefreakz

macrumors newbie
Mar 20, 2018
1
0
Hi,

I tried this method.

When I try to burn it to the dual layer dvd, I get the following error:

Media does not have enough free space.

The ISO file size came out at 8.59GB on disk

Is there a way to burn this file onto an 8GB dual layer DVD?

Thanks

Dazza



I modified colt2's a bit to make the size a bit bigger to accommodate larger installers in future.

So you can just copy and paste these into terminal to make the iso:

hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

hdiutil create -o /tmp/ElCapitan.cdr -size 8g -layout SPUD -fs HFS+J

hdiutil attach /tmp/ElCapitan.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/ElCapitan.cdr.dmg -format UDTO -o /tmp/ElCapitan.iso

mv /tmp/ElCapitan.iso.cdr ~/Desktop/ElCapitan.iso

You can then use this to burn it to a dual layer dvd:

sudo drutil burn /Users/YOURNAME/Desktop/El\ Capitan.iso

where you replace "YOURNAME" with the username for the account you are logged into at the time.

and then boot to startup manager with option key to select the dvd
 

oldhifi

macrumors 65816
Jan 12, 2013
1,494
748
USA
I downloaded El Captain on a external drive, and using it as a boot disk on my 2009 iMac..
 

Hugh

macrumors 6502a
Feb 9, 2003
840
5
Erie, PA
Okay First off I know this is old Thread but I followed the last message with the last script in it and it's still too large to fit on a DVD. I noticed most of the people are talking in the thread for installing on a VM, how about a real machine. The other scripts I tried they locked up at almost final booting process???

Is it possible to make a bootable DVD install of El Capitan? So for I'm not finding much help with this. :/

Thanks! :)

-Hugh
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.