Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding experimental support for OSX Mavericks via "Install OS X Mavericks.app" #848

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

trinitronx
Copy link
Contributor

Just like #770, this one is semi-working... it produces an InstallESD.dmg output for OSX Mavericks, but VMWare Fusion refuses to boot from the disk...

There must be something that changed between Mountain Lion and Mavericks, but it's not immediately apparent to me, as I don't think I fully understand how the UEFI boot process determines whether a boot disk is bootable...

I'm getting a very similar problem to what I was seeing in VirtualBox for #770

screenshot 2013-11-08 15 19 27

@timsutton : Do you have any insights here?

@timsutton
Copy link
Contributor

Since I've still yet to ever get VirtualBox to boot a 10.7+ VM (and they don't list it as officially supported), I've not spent time trying to deal with VirtualBox, and only use VMware.

But as far as Mavericks is concerned, Apple changed the layout in terms of where the installation packages are located relative to the dmg that contains the actual OS being booted for the installer. So, that may be part of your issue here.

Since Packer was released, I consolidated my OS X build script and template into its own repo and have been maintaining it here:

https://github.com/timsutton/osx-vm-templates

So, you could check that to see what's done to make a bootable installation image for 10.9. The TL;DR is that you copy the Packages folder into the BaseSystem.dmg and replace the symlink, making a new single dmg.

I haven't merged changes back into VeeWee's 'OSX' template since earlier this year, but if anyone would like to, please feel free to. There aren't any template-specific changes that should be required to continue supporting VeeWee here, most of the changes have been in in the prepare_iso script and the postinstall scripts.

@mpapis
Copy link
Collaborator

mpapis commented Oct 1, 2014

looks like progress, could you rebase it for merging?

@@ -275,7 +302,7 @@ if [ -n "$DEFAULT_ISO_DIR" ]; then
msg_status "Setting ISO file in definition "$DEFINITION_FILE".."
ISO_FILE=$(basename "$OUTPUT_DMG")
# Explicitly use -e in order to use double quotes around sed command
sed -i -e "s/%OSX_ISO%/${ISO_FILE}/" "$DEFINITION_FILE"
sed -i '' -e "s/%OSX_ISO%/${ISO_FILE}/" "$DEFINITION_FILE"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change it to sed -i'' -e ... - it is more portable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants