Code Monkey home page Code Monkey logo

Comments (13)

bacongravy avatar bacongravy commented on July 21, 2024 1

I haven't investigated Big Sur recently. I couldn't figure out how to download the installer app when the first beta came out, and I haven't revisited it. It sounds like the installer app is laid out differently. As long as it still contains a disk image of the OS to install, though, I suspect it would be possible to adapt macinbox to find it using a new heuristic.

I'll see if I can find a way to download the installer app and take a look.

from macinbox.

LcTrKiD avatar LcTrKiD commented on July 21, 2024

any idea @bacongravy ?

from macinbox.

LcTrKiD avatar LcTrKiD commented on July 21, 2024

I did the download using https://github.com/munki/macadmin-scripts/blob/main/installinstallmacos.py

from macinbox.

bacongravy avatar bacongravy commented on July 21, 2024

I started to look into this. It doesn't look promising.

The first problem, as you discovered, is that the InstallInfo.plist file is no longer present in Big Sur installer app. In fact, I can't find any file inside of the installer app that definitively indicates what version of the OS the installer will install.

If I hack the script to assume that it is installing version 11.0.1 of the OS, the installation proceeds up to this point:

Nov  7 12:00:34  installer[68314] <Warning>: Unsupported install environment due to error:Error Domain=com.apple.osinstall Code=-31 "Not running from RecoveryOS environment." UserInfo={NSLocalizedDescription=Not running from RecoveryOS environment.}

The key detail appears to be: Not running from RecoveryOS environment

I'm not sure what I can do to work around this. It appears that macinbox simply may not be able to support installing Big Sur.

from macinbox.

andreiborisov avatar andreiborisov commented on July 21, 2024

Ugh, that's disappointing... I wish Apple would be more friendly for the dev and automation community.

from macinbox.

andreiborisov avatar andreiborisov commented on July 21, 2024

Can we somehow try to install it from the recovery partition? It appears Parallels doing something similar when you create macOS VM with their GUI.

from macinbox.

andreiborisov avatar andreiborisov commented on July 21, 2024

Obviously, it won't replace macinbox, but I've published a manually created base box with Big Sur (for Parallels provider) and committed to updating it roughly within a week of new macOS releases. Feel free to use it and report any issues or suggestions here.

from macinbox.

bacongravy avatar bacongravy commented on July 21, 2024

@andreiborisov Thanks for the link.

I'll try playing around with running macinbox from a Big Sur recovery partition, but I'm not optimistic that it'll work, and even if it does, it's still pretty inconvenient to have to boot into the recovery partition to use the tool.

Another approach would be to use packer to boot the Big Sur installer in a VM and try to use VNC scripting to walk through the installer. I've seen other projects attempt that, but I don't think I'm going to try that myself.

I don't think there's anything to take from how Parallels works - it doesn't actually install the OS, it just converts the macOS Installer app into a bootable CD image. It doesn't automate installation or creation of the user account or the enabling of ssh or the installation of the ssh key.

from macinbox.

LcTrKiD avatar LcTrKiD commented on July 21, 2024

I'm using this project right now and it use a very clever solution to install the os from the recovery assistant using voiceover and boot commands to open the terminal...
https://github.com/trodemaster/packer-macOS-11

from macinbox.

branylagaffe avatar branylagaffe commented on July 21, 2024

As of BigSur 11.2, there is now a Info.plist with relevant info about the installer
<key>DTPlatformName</key> <string>macosx</string> <key>DTPlatformVersion</key> <string>11.2</string> <key>DTSDKBuild</key> <string>20D74</string> <key>DTSDKName</key>

But the key problem remains

from macinbox.

nycnewman avatar nycnewman commented on July 21, 2024

Are there any hints about how to resolve this? Is Macinbox broken after Catalina for good?

from macinbox.

frankosterfeld avatar frankosterfeld commented on July 21, 2024

For the record, one runs into the same issues with Monterey (I guess that was to be expected).

from macinbox.

nycnewman avatar nycnewman commented on July 21, 2024

Right now I use Packer to build a vagrant box. Not clear if the techniques used by packer work via Vagrant (start a VM and run installer from ISO)

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.