royalgraphx / LegacyOSXKVM

Run Legacy Mac OS X (10-10.12) on QEMU
BSD 3-Clause "New" or "Revised" License
42 stars 2 forks source link

Trouble mounting opencore-SLeopard.qcow2 after converting #3

Open mabam opened 10 months ago

mabam commented 10 months ago

First off: Many thanks for your hard work on this and for sharing it here.

After downloading opencore-SLeopard.qcow2 and running qemu-img convert ./opencore-SLeopard.qcow2 ./opencore-SLeopard.img, the resulting file doesn’t mount. For opencore-MLion.qcow2 this works flawlessly.

Is there anything wrong with the image?

royalgraphx commented 10 months ago

i really appreciate it, thank you for checking it out !

Currently the project has lots of local changes, mainly in preparation for a huge overhaul, as I want to begin updating and creating proper guides for how these Opencore images are created, and how to make them from scratch to avoid any corruption issues, as well as incorporating it into my other guide and writeup for modern macOS virtual machines.

One of the main reasons for this, is because this repository currently is more or less in the state of being half baked, as I only personally tested a few out of the many actually supported OS X versions.

As far as I'm aware, the snow leopard qcow2 is indeed a little finicky, it's mainly because of how older versions of Mac OS handle filesystems and whatnot, I'm honestly not too entirely sure, because even in my initial testing, following the standard workflow for creating a macOS VM, i could not get the Snow Leopard installer ever to mount, until I converted it over several times, and thus include that copy here, it's really strange.

I'll be taking a look into it sometime soon, but at the moment the goal is to first complete the remaining stuff over in DarwinKVM, and then focus my efforts on properly preserving older OS X. Because if you think about it, if you have a supported GPU you can practically run Snow Leopard incredibly well on modern hardware without worrying about specific host hardware. Yet this isn't possible OOB on LegacyOSXKVM, at least not yet but soon!

For now, I would recomend keeping the opencore image as a qcow2, there isn't really any reason why you would need to modify it, unless you want to repair Opencore, then you can use something else like DiskProvision on my github account to maybe mount these LegacyOSXKVM disks and take out whats inside and move it onto a blank fresh image, but I have personally not tried and can say that it will work, let me know!