Closed erkannt closed 3 years ago
Hello there 👋 Thanks for submitting your first issue to the Quickemu project 🐛 We'll try and take a look at your issue soon ⏲
In the meantime you might want to join the Wimpys World Discord 🗣 where we have a large community of Linux 🐧 enthusiasts and passionate open source developers 🧑💻
You might also be interested in following Wimpys World Twitch 📡 channel where Wimpy streams let's code video, including this project, several times a week. A back catalog of past live stream and other Linux related content is available on Wimpys World YouTube 📺 channel.
I had a very similar issue so ended up (successfully) installing Catalina instead, thinking I'd update to Big Sur from there. The update image seems to be successfully downloaded but the disk space on the Catalina install seems too small, the MacOS updater reports that an extra 2GB (or more) is required.
This is my first experience with MacOS or Qemu though fairly comfortable with Linux (using Ubuntu Mate 20.04 for this experiment) so tried to find something similar to gedit to expand the Qemu harddisk, ither from the Disk Utility, using the MacOS Utilities virtual disk or I'd be happy to spin up a virtual systemRescueCD or other live "CD", but nothing worked so far.
So my question is: is it possible to extend the virtual standard disk created by quickemu somehow? Any pointer would be greatly appreciated!
A shot in the dark, make sure to have executed echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs
and try again.
I had a very similar issue so ended up (successfully) installing Catalina instead, thinking I'd update to Big Sur from there. The update image seems to be successfully downloaded but the disk space on the Catalina install seems too small, the MacOS updater reports that an extra 2GB (or more) is required.
This is my first experience with MacOS or Qemu though fairly comfortable with Linux (using Ubuntu Mate 20.04 for this experiment) so tried to find something similar to gedit to expand the Qemu harddisk, ither from the Disk Utility, using the MacOS Utilities virtual disk or I'd be happy to spin up a virtual systemRescueCD or other live "CD", but nothing worked so far.
So my question is: is it possible to extend the virtual standard disk created by quickemu somehow? Any pointer would be greatly appreciated!
This is a separate topic that does not seem to belong to this thread. However executing qemu-img resize image.qcow2 +SIZE
adjusting the image.qcow2 to your path and setting the size to something like +50GB or whatever size you want should do the trick.
After that, start up the VM and run Disk Utilities and expand the OS disk with the new free space.
Thanks for the reply and suggestions. I was thinking debating whether I should "hijack" this topic or start a new one, but my goal is to install Big Sur, and I had the same/similar issue as described in the opener, so my attempted work around was to install Catalina and then use MacOs' native upgrade process - which also failed due to lack of disk size.
I have started the expansion as you described (based on https://fatmin.com/2016/12/20/how-to-resize-a-qcow2-image-and-filesystem-with-virt-resize/), and the first step seemed to work, so I have now presumably large enough virtual disk but the partition is not expanded to the disk. I tried to use the suggested command, virt-resize -expand /dev/sda1 disk.qcow2 disk.orig.qcow2
which starts to process the expansion but fails with the following error:
virt-resize: error: libguestfs error: /usr/bin/supermin exited with error status 1.
so was trying to an alternate way. In Linux I tend to use gparted* from a live CD but I don't know the Macos equivalent tool or process.
*sorry for the typo above, not "gedit" but "gparted".
Happy to be deleted to stay on-topic...
A shot in the dark, make sure to have executed
echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs
and try again.
I did that, made no difference, sadly. I also set the disk size to 128GB, to avoid any space issues. I've also tried installing Catalina. That install fails after the first reboot during install. "macOs could not be installed on your computer" and suggests running hardware diagnostics.
Any other ideas or tricks would be greatly appreciated.
re: resizing IIRC resizing isn't really possible as Disk Util won't let you grow the main volume past the recovery volume that it hides form you.
re: resizing IIRC resizing isn't really possible as Disk Util won't let you grow the main volume past the recovery volume that it hides form you.
From what I've done on my native macOS machines, using disk utility to grow and shrink even the system disks works just fine (boot camp for example needs this) perhaps see https://support.apple.com/guide/disk-utility/resize-a-disk-image-dskuc033a48f/mac for suggestions and searching the web a bit might help you figure it out.
I did that, made no difference, sadly. I also set the disk size to 128GB, to avoid any space issues. I've also tried installing Catalina. That install fails after the first reboot during install. "macOs could not be installed on your computer" and suggests running hardware diagnostics.
When I first (actually, about 3 times) tried on an earlier version of Mate (18.04) I was unable to just apt get quickemu
it, so started a long weekend build up the dependencies (and their own dependencies) as per list in the prerequisits section. And updating (re-compiling) qemu actually totally locked up my computer and the forced power down made it completely scuppered. So I ended up installing Mate 20.04 from scratch, thinking this must be the most compatible install. I had some teething problem even with this, but in the end somehow worked - not sure what I did, but thus am a little apprehensive tweaking it for a while.
re: resizing IIRC resizing isn't really possible as Disk Util won't let you grow the main volume past the recovery volume that it hides form you.
Looks like I'll have to redo it with a larger initial disk size, then, once I figure out how to/where to set it in the bash script. But that is for another weekend...
Looks like I'll have to redo it with a larger initial disk size, then, once I figure out how to/where to set it in the bash script.
Expected behaviour
Able to install mac os by booting from the
Base Install
.Actual behaviour
Could not verify trust (5) using MobileSoftwareUpdate policy. Will try basic X509
and a path mismatch aboutAppleDiagnostics.dmg
are most suspicious looking logsFailed to extract bytes
I've attached screenshots of the installer logs.
Any ideas for things to try, logs to generate etc. would be much appreciated. I'm starting to loose my mind.
Steps to reproduce the behaviour
quickget macos big-sur; quickemu --vm big-sur.conf
and the same for big-sur respectivelyReinstall macOS Big Sur
Quickemu output
Run
quickemu
orquickget
and paste the output here.Linux Distribution & Kernel