Giter Site home page Giter Site logo

Comments (5)

sck avatar sck commented on May 11, 2024 2

I've now been able to rebuilt OpenCoreBoot with a new config.plist:

For libguestfs/loop mounting I added these packages to my Dockerfile:

RUN sudo pacman -S --noconfirm linux cpio
RUN sudo pacman -S --noconfirm unzip

OpenCore is missing some files for the image to be rebuilt, so I reinstalled it under /home/arch/OSX-KVM/OpenCore-Catalina

F="OpenCore-0.5.9-DEBUG.zip"

test -f $F || (
  wget https://github.com/acidanthera/OpenCorePkg/releases/download/0.5.9/$F
  unzip -o $F
)

Now the image can be rebuilt without errors:

sudo rm -f OpenCore.qcow2; sudo ./opencore-image-ng.sh  --cfg config.plist --img OpenCore.qcow2

For enabling to boot automatically I removed -device ide-hd,bus=sata.3,drive=InstallMedia and -drive id=InstallMedia,if=none,file=$BASESYSTEM,format=raw from the qemu parameters and used this patch for config.plist:

                        <key>HideAuxiliary</key>
                        <false/>
                        <key>PickerAttributes</key>
-                       <integer>1</integer>
+                       <integer>0</integer>
                        <key>PickerAudioAssist</key>
                        <false/>
                        <key>PickerMode</key>
-                       <string>External</string>
+                       <string>Builtin</string>
                        <key>PollAppleHotKeys</key>
                        <true/>
                        <key>ShowPicker</key>
-                       <true/>
+                       <false/>
                        <key>TakeoffDelay</key>
                        <integer>0</integer>
                        <key>Timeout</key>
                        <key>Timeout</key>
-                       <integer>0</integer>
+                       <integer>5</integer>
                </dict>
                <key>Debug</key>
                <dict>

This will then boot from the first hdd which is where my macos installation resides.

from docker-osx.

sck avatar sck commented on May 11, 2024 1

Feel free to use what I documented! I have a slightly different setup atm, so not easy to generate a pull request...

from docker-osx.

sickcodes avatar sickcodes commented on May 11, 2024

You can try loop mounting the qcow image or just hexedit it and turn that value on.

from docker-osx.

sickcodes avatar sickcodes commented on May 11, 2024

You’re awesome dude, pull request or can I include this in the code for you?

from docker-osx.

daraul avatar daraul commented on May 11, 2024

Any way we can see the code, @sck? Even if it's not in a PR, it would still be useful.

from docker-osx.

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.