rtrouton / create_os_x_vm_install_dmg Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I am running 10.8.5. I am trying to create DMGs and ISOs of OS X 10.11.1_15B42.
I can run your script ok. It outputs a DMG file and a ISO file, as requested. I can mount both files. When I try to run "Install OS X 10.11" from either mounted image, I get the following error message:
To download and restore OS X, your computer's eligibility will be verified with Apple.
Then:
Could not find installation information for this machine.
Contact AppleCare.
Is creating working (mountable, installable and bootable) El Capitan images (esp. ISOs) just not possible on Mountain Lion?
P.S. This is the 7th attempt to create an El Capitan iso, and none of the isos created fully work.
Awesome script. Though the automatic updater causes an infinite loop of fetching the thunderbolt 1.2 update and rebooting, since said update downloads + "installs" + reboots, but somehow isn't really installed and seen again as available update.
I'll try to work around it by virtually unplugging the network cable and waiting an hour.
When the script is run in the same directory as the support directory it returns the following error:
-- /Users/my_home/support/First Boot Package Install.pkg not found! This is needed for the OS to install properly, exiting..
-- The script is expecting the following:
-- A. That a first boot installer package is stored in /Users/my_home/support.
-- B. That the first boot installer package is named as follows: First Boot Package Install.pkg
I met the 2nd condition (B) but the first (A) is confusing as moving the support directory to my_home folder allows the script to run without error, however I followed the documented pre-requisite below:
Pre-requisites:
- This script and the associated support directory. This script and the support directory must be both stored in the same directory in order for the script to work properly.
sudo "$install_esd/Contents/Resources/createinstallmedia" --volume /Volumes/"$random_disk_image_name" --applicationpath "$install_esd" --nointeraction
...causes more than a thousand createinstallmedia
processes which eventually absolutely peg my machine. It doesn't seem like intended behavior.
Edit: Since it behaves the same when I run the command manually, it's likely not your bug. Any ideas though? Is my installer broke somehow?
I'm trying to create a DMG file. I've done it before, but now it gives the following error.
chmod +x shfile
./shfile
.....
created: /Users/ahmetaligul/Library/Keyboard Layouts/rw.osmanlıcaKlavye.dmg
Mounting disk image...
Mount directory: /Volumes/Applicationinstaller
Device name: /dev/disk2
Copying background file 'installer_background.png'...
Making link to Applications dir...
/Volumes/Applicationinstaller
Running AppleScript to make Finder stuff pretty: /usr/bin/osascript "/var/folders/pw/w8jsyzgs3b583zknqrc08rc80000gn/T/createdmg.tmp.XXXXXXXXXX.8qEW5kks" "Applicationinstaller"
/var/folders/pw/w8jsyzgs3b583zknqrc08rc80000gn/T/createdmg.tmp.XXXXXXXXXX.8qEW5kks:953:1009: execution error: Finder got an error: Can’t set item "x.app" of disk "Applicationinstaller" to {275, 575}. (-10006)
Failed running AppleScript
"disk2" ejected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.