Code Monkey home page Code Monkey logo

Comments (9)

bacongravy avatar bacongravy commented on July 21, 2024

@frankosterfeld Thanks for reporting the issue. When I've seen this kind of error in the past it was because the OS install hadn't actually worked properly, so the scratch_mounpoint was empty. Creating the missing directories (using mkdir_p) would make the step succeed, but I wouldn't expect it to produce a working box. Are you saying that the resulting vagrant box was bootable after you made the aforementioned change?

I haven't tested with a 10.15.4 installer yet, so it is possible that something has changed in what gets installed. I'll take a look.

from macinbox.

frankosterfeld avatar frankosterfeld commented on July 21, 2024

Yep, scratch_mountpoint is indeed (almost) empty:

total 0
-rw-r--r-- 1 root wheel 0 31 Mar 10:23 .macinbox

I'm calling

sudo bundle exec macinbox --no-fullscreen --memory 4096 --disk 256 --name test --password test --installer /Applications/Install\ macOS\ Catalina.app

from macinbox.

frankosterfeld avatar frankosterfeld commented on July 21, 2024

installer seems to be indeed silently failing, see the output log:

/usr/sbin/installer -verboseR -dumplog -pkg "/Applications/Install macOS Catalina.app/Contents/SharedSupport/InstallInfo.plist" -target ~/temp/foo

installer.log
InstallInfo.plist.zip

from macinbox.

bacongravy avatar bacongravy commented on July 21, 2024

Thanks for digging deeper, @frankosterfeld. This looks suspect:

Mar 31 10:55:42 installer[60670] : Couldn't mount the payload dmg ((null)): Error Domain=com.apple.osinstall Code=-34 "An error occurred while loading the installer resources." UserInfo={NSLocalizedDescription=An error occurred while loading the installer resources.}

My first thought is that maybe your installer app is corrupted somehow. Or it could be that something changed in 10.15.4. I will try to reproduce.

from macinbox.

frankosterfeld avatar frankosterfeld commented on July 21, 2024

I deleted and redownloaded the installer app (using "GET" in the app store), I still get the same error.

from macinbox.

frankosterfeld avatar frankosterfeld commented on July 21, 2024

I can mount the InstallESD.dmg just fine when doing it manually via open.

I wonder if ": Installer Info install requested but we're not dmg booted" is relevant, as it's the first actual "".

from macinbox.

frankosterfeld avatar frankosterfeld commented on July 21, 2024

D'oh, I think the error above is bogus and a result of me not passing a valid disk image to --target. the actual error is mundane out of disk space error. I'll provide a patch to improve the error handling/output... Sorry for the noise.

from macinbox.

frankosterfeld avatar frankosterfeld commented on July 21, 2024

#51 together with --verbose should do the trick here.

from macinbox.

bacongravy avatar bacongravy commented on July 21, 2024

@frankosterfeld I'm glad you got this figured out, and thank you for the patch!

from macinbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.