Jump to content

Recommended Posts

Posted

I want to know how to make a bootable DVD for Sierra. I know USB is better but still want to create a DVD aswell. I’ve tried just burning the file from App Store and I’ve also tried finding the Install EDG file and I’ve tried burning DMG file to which no success it’s not appearing in my drive which restart my machine and press alt.

 

What am I doing wrong or why not appearing. I make a snow leopard with an old Mac and that worked but think it different how you do with the old OS.

 

I would prefer not terminal but just need to make these back up dvd for Mavericks, El Capitan, Sierra and High Sierra.

Posted
how would that factor in this code?

It wouldn't. :)

 

What part of this code will i need to change?

None of it. An ISO will be created on your desktop which you can then burn to a blank disc in your external DVD writer.

Posted

I have removed my opital drive and played an extra SSD. I have used my orginal harddrive just for the operating system and 2 ssd has all my user folders eg. desktop, docs etc. So how can i get the code to work so generates.

 

This is the code its generating really need some help if someone can help me i be really really fover grateful

 

hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J

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

mv /tmp/Sierra.iso.cdr ~/Volumes/Data Drive Mac/Moved User/rebeccataylor/Sierra.iso

 

 

Last login: Sat Mar 10 20:17:31 on ttys000

Rebeccas-MacBook-Pro:~ rebeccataylor$ hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

/dev/disk3 GUID_partition_scheme

/dev/disk3s1 EFI

/dev/disk3s2 Apple_HFS /Volumes/install_app

Rebeccas-MacBook-Pro:~ rebeccataylor$ hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J

hdiutil: create failed - File exists

Rebeccas-MacBook-Pro:~ rebeccataylor$ hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build

hdiutil: attach failed - Resource temporarily unavailable

Rebeccas-MacBook-Pro:~ rebeccataylor$ asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase

Validating target...

"/Volumes/install_build" is not a volume

Could not validate target - No such file or directory

Rebeccas-MacBook-Pro:~ rebeccataylor$ rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages

rm: /Volumes/OS X Base System/System/Installation/Packages: No such file or directory

Rebeccas-MacBook-Pro:~ rebeccataylor$ cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/

cp: /Volumes/OS X Base System/System/Installation: No such file or directory

cp: /Volumes/install_app/Packages: unable to copy extended attributes to /Volumes/OS X Base System/System/Installation: No such file or directory

cp: /Volumes/OS X Base System/System/Installation/BaseSystemResources.pkg: No such file or directory

cp: /Volumes/OS X Base System/System/Installation/EmbeddedOSFirmware.pkg: No such file or directory

cp: /Volumes/OS X Base System/System/Installation/Essentials.pkg: No such file or directory

cp: /Volumes/OS X Base System/System/Installation/FirmwareUpdate.pkg: No such file or directory

cp: /Volumes/OS X Base System/System/Installation/OSInstall.mpkg: No such file or directory

cp: /Volumes/OS X Base System/System/Installation/OSInstall.pkg: No such file or directory

cp: utimes: /Volumes/OS X Base System/System/Installation: No such file or directory

cp: chown: /Volumes/OS X Base System/System/Installation: No such file or directory

cp: chmod: /Volumes/OS X Base System/System/Installation: No such file or directory

cp: chflags: /Volumes/OS X Base System/System/Installation: No such file or directory

cp: /Volumes/install_app/Packages: unable to copy ACL to /Volumes/OS X Base System/System/Installation: No such file or directory

Rebeccas-MacBook-Pro:~ rebeccataylor$ cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist

cp: /Volumes/OS X Base System/BaseSystem.chunklist: No such file or directory

Rebeccas-MacBook-Pro:~ rebeccataylor$ cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg

cp: /Volumes/OS X Base System/BaseSystem.dmg: No such file or directory

Rebeccas-MacBook-Pro:~ rebeccataylor$ hdiutil detach /Volumes/install_app

"disk3" unmounted.

"disk3" ejected.

Rebeccas-MacBook-Pro:~ rebeccataylor$ hdiutil detach /Volumes/OS\ X\ Base\ System/

hdiutil: detach failed - No such file or directory

Rebeccas-MacBook-Pro:~ rebeccataylor$ hdiutil convert /tmp/Sierra.cdr.dmg -format UDTO -o /tmp/Sierra.iso

hdiutil: convert failed - Resource temporarily unavailable

Rebeccas-MacBook-Pro:~ rebeccataylor$ mv /tmp/Sierra.iso.cdr ~/Volumes/Data Drive Mac/Moved User/rebeccataylor/Sierra.iso

usage: mv [-f | -i | -n] [-v] source target

mv [-f | -i | -n] [-v] source ... directory

Rebeccas-MacBook-Pro:~ rebeccataylor$

Rebeccas-MacBook-Pro:~ rebeccataylor$

Rebeccas-MacBook-Pro:~ rebeccataylor$

Posted

Tried it on my other halfs computer still not working this is the code its coming up with on her machine which doesnt have two hdd as is set up from default.

 

Last login: Sat Mar 10 20:43:49 on ttys000

Amys-MacBook-Pro:~ Amy$ hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

hdiutil: attach failed - Resource busy

Amys-MacBook-Pro:~ Amy$ hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J

hdiutil: create failed - File exists

Amys-MacBook-Pro:~ Amy$ hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build

/dev/disk3 Apple_partition_scheme

/dev/disk3s1 Apple_partition_map

/dev/disk3s2 Apple_HFS /Volumes/install_build

Amys-MacBook-Pro:~ Amy$ asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase

Validating target...done

Validating source...

Could not recognize "/Volumes/install_app/BaseSystem.dmg" as an image file

done

Could not get source volume name

Amys-MacBook-Pro:~ Amy$ rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages

rm: /Volumes/OS X Base System/System/Installation/Packages: No such file or directory

Amys-MacBook-Pro:~ Amy$ cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/

cp: directory /Volumes/OS X Base System/System/Installation does not exist

Amys-MacBook-Pro:~ Amy$ cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist

cp: /Volumes/install_app/BaseSystem.chunklist: No such file or directory

Amys-MacBook-Pro:~ Amy$ cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg

cp: /Volumes/install_app/BaseSystem.dmg: No such file or directory

Amys-MacBook-Pro:~ Amy$ hdiutil detach /Volumes/install_app

hdiutil: detach failed - No such file or directory

Amys-MacBook-Pro:~ Amy$ hdiutil detach /Volumes/OS\ X\ Base\ System/

hdiutil: detach failed - No such file or directory

Amys-MacBook-Pro:~ Amy$ hdiutil convert /tmp/Sierra.cdr.dmg -format UDTO -o /tmp/Sierra.iso

hdiutil: convert failed - Resource temporarily unavailable

Amys-MacBook-Pro:~ Amy$ mv /tmp/Sierra.iso.cdr ~/Desktop/Sierra.iso

mv: rename /tmp/Sierra.iso.cdr to /Users/Amy/Desktop/Sierra.iso: No such file or directory

Amys-MacBook-Pro:~ Amy$

Posted
Yeah if you can help then. I’ve need to do it for all OS so finding the fault will be a big help.

I have managed to successfully create an ISO for macOS Sierra and boot it in a VM with the following script (also attached). :)

 

#!/bin/bash

if [ "$EUID" -ne 0 ]
 then echo "Please run as root"
 exit
fi

hdiutil create -o /tmp/Sierra.cdr -size 5200m -layout SPUD -fs HFS+J

hdiutil attach /tmp/Sierra.cdr.dmg -noverify -mountpoint /Volumes/install_build

sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction

mv /tmp/Sierra.cdr.dmg ~/Desktop/InstallSystem.dmg

hdiutil detach /Volumes/Install\ macOS\ Sierra

hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/macOS\ Sierra.iso

mv ~/Desktop/macOS\ Sierra.iso.cdr ~/Desktop/macOS\ Sierra.iso

sudo rm ~/Desktop/InstallSystem.dmg

 

You will need to run the script through Terminal as root e.g.

 

sudo ~/Desktop/Create\ macOS\ Sierra\ ISO.sh

 

There isn't any need to change the paths since the ISO will be created on your desktop.

 

CvgOwK.png

Create macOS Sierra ISO.zip

Posted

Hi

You could always try DiskMakerX DiskMaker X to create bootable usb sticks. I've had mixed success with the software, I created a bootable OSX 10.10 USB stick and I did have a bootable OSX 10.11 USB stick until it stopped working, apple updates I think. I haven't tried to create OSX 10.12 or OSX 10.13 bootable USB stick as yet.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...