Hi Socratis, Before with macOs Sierra 10.12.3 this method and was working perfectly. Infortunatelly I deleted the Install macOS Sierra.app (10.12.3 version) now with 10.12.6 is not working anymore...
The problem is identified:
IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0
on
https://www.virtualbox.org/ticket/16644...
NOTE: I renamed Install macOS Sierra.app to Install macOS Sierra 10.12.6.app
My method with 10.12.3 and I tryed to use with 10.12.6 was:
Code: Select all
hdiutil attach "/Volumes/ADATAHD/SoftwareDownloads/MAC/Install macOS Sierra 10.12.6.app/Contents/SharedSupport/InstallESD.dmg" -nobrowse -noverify -mountpoint /Volumes/esd
hdiutil create -o "macOS Sierra 10.12.6 Installer.cdr" -size 7.5g -layout SPUD -fs HFS+J
hdiutil attach "macOS Sierra 10.12.6 Installer.cdr.dmg" -nobrowse -noverify -mountpoint /Volumes/iso
asr restore -source /Volumes/esd/BaseSystem.dmg -target /Volumes/iso -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -rp /Volumes/esd/Packages /Volumes/OS\ X\ Base\ System/System/Installation
cp -rp /Volumes/esd/BaseSystem.* /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/esd
hdiutil detach /Volumes/OS\ X\ Base\ System
mv macOS\ Sierra\ 10.12.6\ Installer.cdr.dmg /Volumes/ADATAHD/SoftwareDownloads/MAC/macOS\ Sierra\ 10.12.6\ Installer.iso
The next sentence is not used by me because I discover that using cmp commands the files are the same.
Code: Select all
hdiutil convert OSXInstaller.cdr.dmg -format UDTO -o OSXInstaller.iso
cmp OSXInstaller.iso OSXInstaller.cdr.dmg
I want to know if its possible
introducing new sentences to fix the problem:
IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0
I was reading your script named InstallerApp2ISO.sh.
and
https://github.com/jonanh/osx-vm-templa ... are_vdi.sh
But my level is not enough to discover how to fix it.
Please help me.