So got advised to use this
https://gist.github.com/julianxhokaxhiu/6ed6853f3223d0dd5fdffc4799b3a877
But it’s not working I’m getting error. Can anyone help me figure out how do or what to change. I have two ssd one has my operating system and app and my other which replaced my opitical drive has my user profile so all my files go on that.
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$
[doublepost=1520715800][/doublepost]I then tried it on my other half Mac which set up by factory default but this came up. Can anyone shed some light on what I’m doing wrong.
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$
[doublepost=1520718344][/doublepost]Would a solution be me using the dmg that I created from the App Store once it was downloaded. Then use power iso to make it into iso and then burn the iso to the disk. Would that not work?