Comments on: New and Improved Mac OS Tutorial, Part 1 (The Basics) https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/ Your baremetal source for virtual news Wed, 04 May 2022 23:21:53 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: SS https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#comment-184 Wed, 04 May 2022 23:21:53 +0000 https://passthroughpo.st/?p=2161#comment-184 In reply to Joel.

SOLVED: Check if all files in your ‘firmware’ folder are present. I read somewhere else that ‘git clone’ command did not copy the OVMF_VARS-1024×768.fd file for someone and when I checked, it was the same case for me. Although, I did find it in the backup firmware folder, which the tutorial had us make initially. Copying that into the actual firmware folder resolved it for me

]]>
By: SS https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#comment-183 Wed, 04 May 2022 23:21:53 +0000 https://passthroughpo.st/?p=2161#comment-183 In reply to Joel.

SOLVED: Check if all files in your ‘firmware’ folder are present. I read somewhere else that ‘git clone’ command did not copy the OVMF_VARS-1024×768.fd file for someone and when I checked, it was the same case for me. Although, I did find it in the backup firmware folder, which the tutorial had us make initially. Copying that into the actual firmware folder resolved it for me

]]>
By: SS https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#comment-182 Wed, 04 May 2022 23:18:00 +0000 https://passthroughpo.st/?p=2161#comment-182 In reply to Nicholas Reed.

SOLVED: I generated a new XML using the “./make.sh –add” command and deleted the downloaded generic XML file they provided. This resolved it for me

]]>
By: eight_track https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#comment-178 Wed, 16 Mar 2022 08:58:40 +0000 https://passthroughpo.st/?p=2161#comment-178 In reply to Luke.

Try:
pip install click requests

]]>
By: Luke https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#comment-169 Sat, 31 Jul 2021 00:47:06 +0000 https://passthroughpo.st/?p=2161#comment-169 I am unable to download the request library: pip install click request. It seams to be gone?

]]>
By: Nicholas Reed https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#comment-164 Mon, 26 Apr 2021 21:19:01 +0000 https://passthroughpo.st/?p=2161#comment-164 When I try to run sudo virsh define OSX.xml it returns the error:
error: Failed to define domain from OSX.xml
error: XML error: Invalid PCI address 0000:02:02.0. slot must be <= 0

Please help

]]>
By: Joel https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#comment-163 Fri, 02 Apr 2021 12:10:47 +0000 https://passthroughpo.st/?p=2161#comment-163 In reply to Red Wing Boogy.

Got a solution?

]]>
By: cheesphht https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#comment-162 Tue, 30 Mar 2021 12:05:36 +0000 https://passthroughpo.st/?p=2161#comment-162 From here you can boot your new VM by running ./basic.sh.

Yeah, I’d love to but it doesn’t get to step 1.
It gives me this:
qemu-system-x86_64: -drive id=SystemDisk,if=none,file=MyDisk.qcow2: Could not op’: No such file or directory
./basic.sh: line 30: -device: command not found
Anyone know why this is giving me this error?

]]>
By: cheesphht https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#comment-161 Sun, 28 Mar 2021 17:20:10 +0000 https://passthroughpo.st/?p=2161#comment-161 In reply to Arr Kay.

ok, sounds like my problem — at least you answered, huh?
I hate dead sites.

]]>
By: Jason Nemeck https://passthroughpo.st/new-and-improved-mac-os-tutorial-part-1-the-basics/#comment-156 Mon, 11 Jan 2021 04:15:05 +0000 https://passthroughpo.st/?p=2161#comment-156 Having a problem with a number of your instructions. It seems that sometimes you skip words or something, I have read, re-read and banged my head against the desk a lot over certain steps here, but you’re unclear in a lot of places on some things. For instance, this whole section is REALLY important, and yet, there’s a lot here that isn’t really clearly spelled out:

Download the generic XML we provide here. Find and replace all instances of YOURPATH with the absolute path that corresponds to your VM’s firmware and image files. After you’ve edited the xml, run virsh define OSX.xml (use sudo if your URI is qemu:///system instead of qemu:///session) in the same working directory you saved your XML to.

Restart Libvirt by running systemctl restart libvirtd.service virtlogd.service and open up virt-manager. You should have a VM named OSX under the Qemu Connection in the main window.

If you’ve already extensively customized your qemu script, you can run ./make.sh –add. This script is included in the repo. Edit the XML before defining, using uuidgen to create a new UUID to avoid issues with apple ID. The xml we provide will do so automatically.

I have the VM working by loading from the terminal, but for the life of me, your directions here are not clear.
I have edited the xml file downloaded, put in the right path to the files and when I run sudo virsh define OSX.xml I get an error. It reads:
error: Failed to define domain from OSX.xml
error: (domain_definition):68: Specification mandates value for attribute data-pjax-transient

THIS IS YOUR XML file I am using. All I did to it was to put the correct path to the files in it as you say in the instructions! And yet you have an error in YOUR code. I am not an XML expert, nor do I know of one, nor do I know WHAT to do next.

Running the VM from the terminal line is inconvenient and more trouble than it’s worth as it still loads the clover boot and what it SHOULD do, maybe it will if I can ever get by this nonsense, is to load directly into the MacOS without even seeing clover any more.

Some help would be appreciated here.

And in fact, this same error pops up on a number of lines.
Looks to me like this file is pretty much worthless.
And that renders the ENTIRE DAY I have spent on this as wasted time. Because I CANNOT use this in this condition. And since I CANNOT proceed further, there’s no point in wasting more time unless you can explain HOW to make this file THAT YOU WROTE work.

]]>