The great advantage to this approach is that quickemu is a wrapper for QEMU. Which means you'll be using a type 1 hypervisor... Way better than VirtualBox in terms of performance
@@hiru92 I used QEMU on a potato PC running Linux; I ran another VM that was another spin of the distro I was using, and an older version of Windows, I didn't notice it being ridiculously slow.
@@hiru92QEMU is absolutely fast, you just have to configure it properly. On the other hand, VMware is so much limited than QEMU, you can't do anything on it. The level of customization is honestly comparable to VirtualBox. And the worst part is that, unlike those two other hypervisors, it's proprietary and paid program (you have a free version but come on).
There's also OSX-KVM project which set's up a qemu-kvm with MacOS. Also works with the latest MacOS. And there's some info on the case when Apple sued some company and failed.
I just found that project too. The nice thing is you can use virsh to install the VM, so all the libvirt tools should work with it. I love quickemu too, but not having libvirt is awkward.
OSX-KVM is goat, I am running OS X here, however only chromium works, firefox or safari won't work because of no acceleration, kinda based, I can test homebrew, for real. And the best thing is that you can just virt-manager. EASY I love it.
As a previous comment said, OSX-KVM works with Sonoma. The only change between Ventura and Sonoma is the CPU name in the qemu config file. So you may run the virtual machine on any qemu tool (qemu, quickemu, probably virtmanager after creating the xml config file). You just need to install Sonoma using the image downloaded by OSX-KVM and the correct cpu in the config file. And voilà !
i need some help with with this, it worked once but now it doesnt appear the macos anymore. It asks me to connect to spice: localhost and TLS port. Anyone that can help? Thanks
This is literally what i was searching for yesterday, and it cannot believe that this video came up recommended today. I am glad that i am subscribed to your channel
Regarding the GPU acceleration, maybe you can consider making separate video on how to setup it. Because of recent decision to add kernel level anti-cheat in League of Legends, it will be impossible to play it in Linux, and playing it in MacOS VM (since anti-cheat is not required on it) with GPU acceleration might be the best option for people who don't want to install Windows.
Thank you so much for this video, as I can confirm Quickgui now supports Sonoma! Can't say if updating from Ventura to Sonoma works, but they now have "sonoma" as a version option. It downloaded the image for me, no hunting for an ISO required. Took a couple hours to get it fully installed following the steps documented in this video. Also, thanks for going the extra mile to show all the various additional configuration afterwards, and the pros and cons of this method. Very informational, and I will be continuing to learn QEMU and macOS after this. Just getting macOS Sonoma installed in a VirtualBox VM has taken so many hours of my time! Got so many kernel panics. Have gotten Catalina running in VirtualBox in the past, but it's not supported as of 2022. So yeah, Quickgui is so much easier, and great to dip my toes into QEMU for the first time.
Good video. I did this last year and it was quite fun. Took about a week to get a good working setup with GPU passthrough and not using spice (switch monitor to second input as that is where the video output from the second GPU is hooked into). Then it really worked smoothly and was really pleasant OS to use. I think it was Catalina.
I might keep this tool in mind for when I have more space again on my SSDs or I have eventually to replace Windows 10 with 11 or 12 at which point I'll hopefully be able to pass through my GPU as needed. Thanks Nick.
Very nice! I wish I had seen this video before, I initially installed qemu-kvm and Catalina in January 2020 on Linux Mint and struggled a lot because I couldn't get my graphics card to passthrough and then last year I changed to Debian 12 and magically everything worked perfectly. Now I can work with Linux and Mac, Linux and Windows or Windows and Mac on a different monitor at the same time with the same keyboard and mouse. I even upgrate to Monterey with no issues.
@@bennypr0fane I didn't need to, because I upgraded my GPU to an AMD PRO W7600 and it has 4 DP connections and I just connect another monitor and fixed each VM to a different monitor. I run benchmarks, it's probably like 10% difference in performance, for me is good enough I use this method for setup Qemu with Virt Manager th-cam.com/video/Kq849CpGd88/w-d-xo.htmlsi=zR6ZHgNwMOrr-MmX And this to setup Macos th-cam.com/video/dMLNP6FfhkI/w-d-xo.htmlsi=arYntUWAfRDgWG37
As soon as "they" decide on one. But I think you're right. What amazes me is why MS just doesnt port a Windows UI to Linux. Yeah, I can see issues but a familiar UI would go a long way.
I've been messing with QEMU lately on my EndeavourOS system since my Windows install go to where it boots really slowly. Can't wait to build a new system where I can virtualize my Windows-based gaming PC.
The thing is, one day Apple will stop releasing x86 versions of macOS all together and there likely won't be any real way to run future versions of their OS. The amount of proprietary features macOS requires as part of Apple Silicon, the insane security around their platform, and the fact trying emulating very high end ARM64 chips on x86, makes macOS on non-Apple hardware futile to say the very least.
If you change the CPU core count, Threads, and ram allocation before installing the OS it will greatly improve install times. Took me about 20 minutes to perform the install, if you close out your VM and no longer have the install option delete the disk.qcow file to reset the VM and restart the install process.
I edited the .conf file before starting the VM, added 8 cores (have 20 cores on my CPU) and 16GB RAM. Installation took about 30mins. It's not as fast as a real Mac obviously, but I need it for occasional use supporting my father who has a Mac and is totally useless at using it (thanks PC World for telling him it's the best he could get when all he needed was a basic PC running Windows). So at least now I can talk him through his issues (and there are a lot!). Told him to return it, but he's stubborn and wants to learn it.
Oooo, I needed a video like this. Currently have a Windows VM for all windows related things. Never really had the chance to mess around with MacOS (plus… wanna try out IOS development eventually). Thanks! Love your videos. Saving this for later!!
Advice regarding quickgui: If you're on Arch and don't want to spend all eternity building it, you can yay -S quickgui-bin for a prebuilt version. Also, installing aria2 made the download faster (or possibly placebo, I don't know).
I repeatedly had exit status failure messages building quickgui in Manjaro (arch), regarding Flutter SDK corruption or missing permissions. Quickgui-bin allowed me to try the app. Unfortunately there were a lot of problems such as USB redirection errors and hard freezes requiring power cycling. Quickgui does not appear ready for deployment in Manjaro / arch. I suspect this is why Nick did not include quickgui in his arch build instructions at 2:40. Unfortunately, quickemu is largely crippled without it. TLDR, use a different distro - not arch - for quickgui / quickemu.
I believe the image is downloaded from Apple servers, and then converted to the appropriate ISO format. The command line quickget (that is part of this quickemu package) has a option where you can actually get it to output the download source.
As one who boycotts abusive companies, just like anything Microsoft I also have no want, nor any need to do this, but I had to watch to see just how Great Linux and it's developer community is for making stuff like this possible and being pro-consumer, even when it comes to running the competitions code within i!🐧🐧🐧
Very comprehensive. There are a couple of graphic programs that I'm interested in that are not available on Linux but are on MAC so I might give this a try. Thank you.
Windows in a VM would be a much better option for that. A properly set-up Windows VM will give you about 90% of native speed, whereas MacOS will give you about 1% if you are lucky. X-Code maybe makes sense, but you would be far better off just getting a cheap Mac Mini.
Chasing that MACOS life is what lead me back to getting into Linux in the first place. I did have a nice hacktinsoh for like two years until Just got a really cheap M1 Mac MIni. I love this macmini, but I still run Fedora on my Laptop and other desktop. If I didn't have an iphone (along with ALL of my friends and family) I'd get a lot less value out of macos myself. I find most of my use is Fedora daily and I'll remote into my mac when I need it.
Just wondering, why macOS Montery instead of a newer version? Is there some kind of benefit to using Montery? Edit: It looks like Ventura is used in the video, why not use that? ANOTHER edit: Tried it myself with Ventura, it failed to boot with a cryptic error message I couldn't understand. Tried Montery, it was able to boot. If it stops for you with an error message that's something like "[EB|#LOG:EXITBS:START]", try using Montery instead of Ventura.
13:03 : You have "Limitations" animation where it should be "What you can do" Great video! Thanks for the info; that's exactly what I need! I need to test a Mac-only software that doesn't require fancy system resources. I'll give it a shot.
As far as I remember, there's used to be a project named "Darling" to run macOS apps natively on Linux just like how Wine does but it still has issues.
darling is nowhere near the level of wine at the moment, so that's not a viable alternative. you can run some terminal apps and apparently even some very basic demo GUI apps, but nothing that's actually useful
Its still being actively developed by a small team, definitely not to the scale or maturity of wine though. Currently it can do CLI stuff pretty well, one compelling use case would be using darling to compile apps using the xcode toolchain (which you can't outside MacOS usually), this might be pretty useful when developing or in a CI/CD pipeline.
Interesting question, some years ago people people theorized that apple end OSX server to avoid people to use virtualization as a legal loop hole even in their original hardware
would love to try to get this running in like a basic headless linux environment and essentially have a macbook on a thinkpad i use qemu daily and hadn't even considered it until you mentioned the cli setup there
Looking at all the options in the quickgui, I'm excited to use this app to test multiple OS configurations for my web apps without having too much hassle to set things up. So much better than VirtualBox, and way easier than attempting a Hackintosh! Such a great guide, thanks for sharing!
I always wanted to run MacOS because I had always been a Windows and Linux user. MacOS was intriguing for me because of the design and overall better OS than whatever Windows is upto (maybe because it is unix based). But I never bought a mac, because it is a closed machine and I don't like closed software. Would be great to try out MacOS. Thank you for posting the video
I’ve always found that notion to be valid but to make decisions around it is a bit extreme. I’ve always been a Windows, Mac and Linux user for work, tinkering and down time. I’d be lying if I said the closed nature of Apple had any bearing at all. If there was anything half as nice as a Macbook on the market, I’d give it a go with Linux. But then I’d find it in my bag toasting with 1% battery so it’s just never gonna happen. I’m not gonna waste my time setting everything up and then forgetting how I did it come time to do it fresh a few years later. Linux is nice but tinkering is a hobby I’ve still got actual work to do, and Windows being the actual alternative is also closed source.
@@Freshbott2 It is a fair point. I agree with it. Sometimes you have to fight with linux and setup things that should be setup on the installation. In my Arch installation, I had to setup power saving, hibernation and touchpad for my laptop, from scratch! Now, that is great for a hobby but it gets old pretty fast when you have to do actual work. However, switching to BSD was one of my better decisions as it limited the headaches and made things easier.
You can also buy cheap Dell or HP desktop PC which are very easy to use as a Hackintosh rigs if you want to play with "real" Mac. Done that couple times.
Depends on how much you value your time and how much money you have. Unless you're really unable to buy a Mac mini, I would probably just bite the bullet.
@@calebvanwinkle1703 I can find them for a very affordable price, but I could also invest that money into a better computer to run this more smoothly. I'll need a new rig either way. That's where I'm not sure which approach is better
I miss my Apple system for 3 apps: - Logic Pro X - IA Writer - Final Cut Pro Everything else I prefer my Linux system by far. Unfortunately these Apps are not as usable as I'd need in a VM.
Virtualbox is definitely working, I got MacOS catalina(?) on Vbox a while back (at the time of the pandemic) but it was slow as hell. There are things to do like setting BIOS strings and enabling EFI, etc. but it's possible.
Great video, Nick. A little unrelated, but I just wondered: What are you using to sync your Nextcloud to your local PC? I used the official Nextcloud client, but regardless of the packaging format, it tends to be buggy. I'd rather not risk any data with syncing issues...
Man, Apple have made running their OS outside their hardware a real pain up the bum. I see why they did it like this. There's no real reason for them to support anything they don't make with MacOS officially not running on it. Still a pain for developers and the likes who'd like to support Apple their browser and their ecosystem, but don't have the budget to have a Mac laying around for just that. Honestly, those M chips equipped Macs are really cool. It's incredible how much power Apple have squeezed out of those chips while running at very low wattage and very manageable temps. Their lack of gaming support is a crying shame. There's a little token support, but few things would show off the power of those chips better than running brand spanking new AAA games on them. The hardware can do it easily. Metal as a graphics API supports everything that is needed to make it happen. The will just isn't there.
Have you tried Whiskey? It's a modified build of game porting toolkit and it can run steam games. Works great for rocket league (win64 version) at 1080p 60 fps on base M1. I do wish apple supported vulkan tho
It's really needed for React-Native Mobile development, You can't build for iOS on any other OS It's a real obvious annoyance from apple to force people to use their devices
I remember seeing emulating OSx under Linux beating native OSx performance-wise. Sadly, we can't do it anymore. Nonetheless, I wouldn't mind running Garageband and iMovie. Those two apps are so easy to use in a pinch.
Years ago I noticed Mac, Windows 11, and Linux distros like Pop OS have very similar desktop layouts as it is. It's just a matter of whether you want a closed source operating system, like Mac and (to a lesser extent) Windows, or an open source operating system like Linux.
Has anyone tried doing this to run an Xcode dev environment? Whats the performance like trying to run ios or watchos simulators? Also, is GPU passthrough available to speed up graphics? Edit just saw that Xcode does run, still wondering what the experience is like?
You can get GPU passthrough with Qemu (at least for Windows), I think the problem would be driver support, as Apple has stopped using dedicated GPUs on their Mac's since 2020.
I repeatedly had exit status failure messages building quickgui in Manjaro (arch), regarding Flutter SDK corruption or missing permissions. Quickgui-bin allowed me to try the app. Unfortunately there were a lot of problems such as USB redirection errors and hard freezes requiring power cycling. Quickgui does not appear ready for deployment in Manjaro / arch. I suspect this is why Nick did not include quickgui in his arch build instructions at 2:40. Unfortunately, quickemu is largely crippled without it. [Note, this same message is posted in response to another YT comment regarding quickgui-bin.]
I believe some of the flutter packages in the AUR may be defective or have broken dependencies. I wasted most of a day on this. Don’t quote me to be any kind of expert. I am just reporting the compilation error messages I saw.
Well, the only thing i like about Mac OS is the old Text-To-Speech voices. Zarvox (from the legacy voices of mac speech) is my favorite one. I might give that one a shot!
Sadly, lack of 3D acceleration is part of the course when it comes to VMs. It's why I hate it when someone recommends Virtualbox as a way to get an ancient abandoned 3D game working on a modern PC. I would sooner make my own source port than to do that.
The real question is not "How" to run macOS on Linux but "Why" would you want to run macOS ... But I'm glad we have the freedom to do it ! Even if I cannot fathom why someone would want to do something so weird
I used to be a massive Apple fan until I realised they just milk their customers. I've been on Linux for a while, currently running Linux Mint Debian Edition with a macOS basic skin because I've never liked the Windows style desktop. The do find the macOS UI with dock to be better and more approachable and efficient. That's the great thing about Linux DE"s : your can theme them in seconds. All these people paying thousands to Apple just to use macOS and they could get that look for free on Linux plus WAY better hardware support and longevity.
Nice! This is just what I need, I have an Apple Time Machine NAS filled with data I can’t access natively from Linux. This should allow me to migrate it to Linux friendly storage.
Main problem here is not having hardware GPU acceleration, macOS relies too much on GPU accel that makes almost everything laggy as hell and glitchy here and there.
With all this effort, you still only have an old Intel version of the MacOS running slowly compared to performance on Apple Silicon. Wouldn't it be easier, albeit a little pricey, to run MacOS in the cloud? Cloud hosts for MacOS start at $1 per hour or $25 per month for a basic system.
Ehhhh apart from handling PDFs, no, not really. It’s super limiting in terms of how you can use that system, and most sisters come with a full office suite that Apple doesn’t have (iWork is super basic). Most Linux distros will also come with a full image editing program, that Apple doesn’t have. Better window management on Linux, more flexibility, less privacy invasive stuff… IMO macOS is far behind any mainstream distro in terms of capabilities.
@@TheLinuxEXP iWork is basic but does what most people need. Don't forget in MacOS you can easily install Microsoft Office which is the gold standard in office software. Photos app in Mac is more powerful than you think. As is preview. I'll have to give the edge to Linux when it comes to windows management, and certainly privacy. That said, pick a mainstream distro and I'll do a video comparison of both fresh out of the box and lets see if I'm right. I still think right out of the box MacOS is far better for most people.
@@dragonballjiujitsu So we've gone from "FAR more capable out of the box than any Linux distro." to "basic but does what most people need." in one post. This is the same level of cope as when linux users try to defend Gimp as a viable photoshop alternative:) I can see that if you're already in the apple ecosystem setting up connectivity between apple devices and a mac is much more pain free than on linux(Is it even possible on linux?). Otherwise it doesn't seem to offer anything that linux doesn't. It's kind of an odd hill to die on TBH. Once you've setup a mac with say, office and adobe CC there really are a ton of things it can do that linux... can't. But then that's not an OOTB install anymore.
I think both have their merits. I use Fedora and macOS on my Apple Silicon Mac and I couldn't be happier. I get the best of both, and I can run games via a modified wine setup on macOS. To their credit, apple does have better widevine DRM support.
finally i can test safari i never liked apple stuff so limited but i like to try it and see how bad acctully is also will be nice if we could create IOS
I going to try this, I prefer vmware because their vms run much better than other solution, and even have a descent hardware acceleration, but they application is a pain to reconfigure for macos and something simple don't run on Linux
Honestly, the lack of accelerated graphics is a deal-breaker for me. Any modern OS sucks with only a basic framebuffer to work with. And Apple knew that when they set up macOS to work under VMware Workstation. And this same setup is what most macOS VMs try to replicate. Attempts have been made to create proper graphics driver kexts for macOS VMs, but none have reached a usable state and have bitrotted to oblivion. And despite all the knowledge and understanding people have that allows Hackintoshes to exist in their current form, everybody just gave up on it with the switch to ARM. Apple's modern chipsets are not some total mystery, Asahi exists. As a person who was raised with the relentless, obsessive persistence of Nintendo hacking, where every other day the universe gets flipped upside-down and people find yet another "impossible" hack, I don't get it. Why do you people just let Apple's BS be? Why them? Nobody else ever gets this much slack.
The only reason I would need this is to be able to run the latest version of Xcode in order to be able to test real apple devices like an iPhone, pad, or a real android phone to test apps.
For me running a VM on my Linux Mint sadly became a mission impossible task no matter what. I tried Virtualbox and installed it, then I downloaded 3 pcs MacOS (Lion, Snow Leopard, High Sierra) none worked even though I followed everything they said. Then I installed the KVM QEMU Virtu, and I was able to run two setups; one kept running over and over again, and the other one simply stuck at a grey screen with a MacOS rainbow circling thingy on it. Now this Quick-Gui is doing something that it shouldn`t, first, it said something about a path that is missing and to reinstall it, I did reinstalled it like three times and nothing. Now, there was an update in the system for QEMU and I proceeded with it, now I started Quick-Gui and it showed a white screen for like 30 min already. My computer is pretty old, but I think it is reasonable with its Intel i5 (3210M) Intel HD 4000 8GB hyper-x Hynix RAM and the 500GB HDD. So, I mean people can run on their older much weaker machines, but I can`t, how is that possible?
A few seconds after clicking "MacOS Base System", it crashes and shows the three options again. Then, after selecting MacOS Base System again, I get a MACH Reboot error.
Ayo bro. what's up? how is life. Bro I had some questions.: I've got a setup question regarding my QEMU virtual machine setup. So, here's the deal: I'm running two operating systems within my VM - Fedora and Windows 11 - and my host OS is openSUSE Tumbleweed. Now, I've got two different GPUs available, an RX 7800XT and an RTX 3060. My plan is to dedicate the RTX 3060 specifically to the QEMU VM. My question is, can I utilize the RTX 3060 simultaneously on both OSs within the VM? like I will use fedora, windows at the same time on the qemu. And do I need to install any proprietary drivers for the NVIDIA GPU to ensure I get full performance from it within the VM OSs?
if you're passing through the device, you will need its drivers in the vm (windows/fedora) but don't need it for the host (suse). you can pass through the device to only one vm at a time (not both).
4:20 DO NOT login to any Apple services inside the VM. You will get logged out from ALL your Apple devices and your account will be LOCKED until you recover your account and change password.
Quickemu works with AMD CPUs, but I’ve had a mixed experience with more recent versions of macOS. In the end, I generally either install Catalina or Monterey, which are several versions old.
What's the difference between spice and VNC? Did mas switch Remote Desktop clients from VNC? I know on my older Mac I can remote into it from VNCfrom my desktop.
Head to squarespace.com/thelinuxexperiment to save 10% off your first purchase of a website or domain using code thelinuxexperiment
One small tip. Up your RAM and cores before begin to install. It's a little more faster. Thanks a lot for the video.
The great advantage to this approach is that quickemu is a wrapper for QEMU. Which means you'll be using a type 1 hypervisor... Way better than VirtualBox in terms of performance
Absolutely!
both are slow, specially qemu , vmware is way better
@@hiru92 I used QEMU on a potato PC running Linux; I ran another VM that was another spin of the distro I was using, and an older version of Windows, I didn't notice it being ridiculously slow.
@@hiru92QEMU is absolutely fast, you just have to configure it properly. On the other hand, VMware is so much limited than QEMU, you can't do anything on it. The level of customization is honestly comparable to VirtualBox. And the worst part is that, unlike those two other hypervisors, it's proprietary and paid program (you have a free version but come on).
@@hiru92 qemu is faster than vmware catch yourself on m8
There's also OSX-KVM project which set's up a qemu-kvm with MacOS. Also works with the latest MacOS. And there's some info on the case when Apple sued some company and failed.
I just found that project too. The nice thing is you can use virsh to install the VM, so all the libvirt tools should work with it. I love quickemu too, but not having libvirt is awkward.
I used it in fedora 39 and it work in terminal, but not in virtmanager, it gives me a rare error, did it happened to you or its just my luck XDdddd
OSX-KVM is goat, I am running OS X here, however only chromium works, firefox or safari won't work because of no acceleration, kinda based, I can test homebrew, for real. And the best thing is that you can just virt-manager. EASY I love it.
I tried osx-kvm and never worked for me, but I like the initiative, more projects= more possibility
Didn't work for me sadly.
As a previous comment said, OSX-KVM works with Sonoma. The only change between Ventura and Sonoma is the CPU name in the qemu config file. So you may run the virtual machine on any qemu tool (qemu, quickemu, probably virtmanager after creating the xml config file). You just need to install Sonoma using the image downloaded by OSX-KVM and the correct cpu in the config file. And voilà !
i need some help with with this, it worked once but now it doesnt appear the macos anymore. It asks me to connect to spice: localhost and TLS port. Anyone that can help? Thanks
Theres no macos sonoma as an option to download. How did you do it?
Thanks i'll now be able to run mac inside my fedora virtualbox 💀.
Only if you have "nested virtual machines" ticked.
virtualbox is to slow. lol
@@---we8bx you missed the joke man
This is literally what i was searching for yesterday, and it cannot believe that this video came up recommended today. I am glad that i am subscribed to your channel
Regarding the GPU acceleration, maybe you can consider making separate video on how to setup it. Because of recent decision to add kernel level anti-cheat in League of Legends, it will be impossible to play it in Linux, and playing it in MacOS VM (since anti-cheat is not required on it) with GPU acceleration might be the best option for people who don't want to install Windows.
Bro pls get a life
13:01 The title says "Limitations"
Ah crap
Informative video I've been waiting. Thanks! 😊
Thank you so much for this video, as I can confirm Quickgui now supports Sonoma! Can't say if updating from Ventura to Sonoma works, but they now have "sonoma" as a version option. It downloaded the image for me, no hunting for an ISO required. Took a couple hours to get it fully installed following the steps documented in this video.
Also, thanks for going the extra mile to show all the various additional configuration afterwards, and the pros and cons of this method. Very informational, and I will be continuing to learn QEMU and macOS after this.
Just getting macOS Sonoma installed in a VirtualBox VM has taken so many hours of my time! Got so many kernel panics. Have gotten Catalina running in VirtualBox in the past, but it's not supported as of 2022. So yeah, Quickgui is so much easier, and great to dip my toes into QEMU for the first time.
Good video. I did this last year and it was quite fun. Took about a week to get a good working setup with GPU passthrough and not using spice (switch monitor to second input as that is where the video output from the second GPU is hooked into). Then it really worked smoothly and was really pleasant OS to use. I think it was Catalina.
How did you get the GPU passthrough to work ? Did hooking up a second monitor automatically take the GPU input as default ?
how did you do the passthrough ?
how?
Loved how you conveniently hid the Apple logo at boot. Clever 😅
I might keep this tool in mind for when I have more space again on my SSDs or I have eventually to replace Windows 10 with 11 or 12 at which point I'll hopefully be able to pass through my GPU as needed.
Thanks Nick.
I wouldn't recommend it really, it would be so slow to do basic tasks even if you setup GPU passthrough it will be a slugish experience at best
Very nice! I wish I had seen this video before, I initially installed qemu-kvm and Catalina in January 2020 on Linux Mint and struggled a lot because I couldn't get my graphics card to passthrough and then last year I changed to Debian 12 and magically everything worked perfectly. Now I can work with Linux and Mac, Linux and Windows or Windows and Mac on a different monitor at the same time with the same keyboard and mouse. I even upgrate to Monterey with no issues.
How did you passthrough your GPU?
@@bennypr0fane I didn't need to, because I upgraded my GPU to an AMD PRO W7600 and it has 4 DP connections and I just connect another monitor and fixed each VM to a different monitor. I run benchmarks, it's probably like 10% difference in performance, for me is good enough
I use this method for setup Qemu with Virt Manager th-cam.com/video/Kq849CpGd88/w-d-xo.htmlsi=zR6ZHgNwMOrr-MmX
And this to setup Macos th-cam.com/video/dMLNP6FfhkI/w-d-xo.htmlsi=arYntUWAfRDgWG37
that's one of the reasons why I love this channel, I really *love* tricks like that
linux is the future of desktops
2024 is the year of the linux desktop! For sure this time!
no 2025 will be since windows 10 looses support.@@no_name4796
@@no_name4796 every year is the year of the linux desktop
As soon as "they" decide on one. But I think you're right. What amazes me is why MS just doesnt port a Windows UI to Linux. Yeah, I can see issues but a familiar UI would go a long way.
@@no_name4796 2025*, since then Win10 support drops and a lot of machines won't be able to update
I wish I had this video a year ago when I had my IOS dev class in college, I had to showup at the computer lab like a loser.
I've been messing with QEMU lately on my EndeavourOS system since my Windows install go to where it boots really slowly. Can't wait to build a new system where I can virtualize my Windows-based gaming PC.
The thing is, one day Apple will stop releasing x86 versions of macOS all together and there likely won't be any real way to run future versions of their OS. The amount of proprietary features macOS requires as part of Apple Silicon, the insane security around their platform, and the fact trying emulating very high end ARM64 chips on x86, makes macOS on non-Apple hardware futile to say the very least.
If you change the CPU core count, Threads, and ram allocation before installing the OS it will greatly improve install times. Took me about 20 minutes to perform the install, if you close out your VM and no longer have the install option delete the disk.qcow file to reset the VM and restart the install process.
I do have a MacOS VM that I got running under virtualbox that I have not booted up in awhile. Thanks for an interesting video.
It could be funny to do this on a Mac running Asahi Linux
I edited the .conf file before starting the VM, added 8 cores (have 20 cores on my CPU) and 16GB RAM. Installation took about 30mins. It's not as fast as a real Mac obviously, but I need it for occasional use supporting my father who has a Mac and is totally useless at using it (thanks PC World for telling him it's the best he could get when all he needed was a basic PC running Windows). So at least now I can talk him through his issues (and there are a lot!). Told him to return it, but he's stubborn and wants to learn it.
5:38 I see you rolled your way
into the semis.
Oooo, I needed a video like this. Currently have a Windows VM for all windows related things. Never really had the chance to mess around with MacOS (plus… wanna try out IOS development eventually).
Thanks! Love your videos. Saving this for later!!
Advice regarding quickgui: If you're on Arch and don't want to spend all eternity building it, you can yay -S quickgui-bin for a prebuilt version.
Also, installing aria2 made the download faster (or possibly placebo, I don't know).
I repeatedly had exit status failure messages building quickgui in Manjaro (arch), regarding Flutter SDK corruption or missing permissions. Quickgui-bin allowed me to try the app. Unfortunately there were a lot of problems such as USB redirection errors and hard freezes requiring power cycling.
Quickgui does not appear ready for deployment in Manjaro / arch. I suspect this is why Nick did not include quickgui in his arch build instructions at 2:40. Unfortunately, quickemu is largely crippled without it.
TLDR, use a different distro - not arch - for quickgui / quickemu.
Where does this MacOS image come from? Some guy just uploaded it to QEMU servers?
I think this is an important question, for security reasons.
I believe the image is downloaded from Apple servers, and then converted to the appropriate ISO format.
The command line quickget (that is part of this quickemu package) has a option where you can actually get it to output the download source.
It is downloaded from the apple server, it shows in the cli
As one who boycotts abusive companies, just like anything Microsoft I also have no want, nor any need to do this, but I had to watch to see just how Great Linux and it's developer community is for making stuff like this possible and being pro-consumer, even when it comes to running the competitions code within i!🐧🐧🐧
Very comprehensive. There are a couple of graphic programs that I'm interested in that are not available on Linux but are on MAC so I might give this a try. Thank you.
I think the biggest reason I would run Mac os on Linux is if I use Adobe and their design programs
Windows in a VM would be a much better option for that. A properly set-up Windows VM will give you about 90% of native speed, whereas MacOS will give you about 1% if you are lucky. X-Code maybe makes sense, but you would be far better off just getting a cheap Mac Mini.
Thanks for introducing us to such a good virtual box alternative
The window size weirdness looks like a dpi scaling bug. If your DE has dpi scaling, try setting it to 100%.
I'm always fascinated by MacOS but as soon as I spend a couple of hours in it, I'm back to Linux and wondering why I bothered.
Chasing that MACOS life is what lead me back to getting into Linux in the first place. I did have a nice hacktinsoh for like two years until Just got a really cheap M1 Mac MIni. I love this macmini, but I still run Fedora on my Laptop and other desktop. If I didn't have an iphone (along with ALL of my friends and family) I'd get a lot less value out of macos myself.
I find most of my use is Fedora daily and I'll remote into my mac when I need it.
This is so great. I Wish I so this video few month ago, but still is good to know. Thank you for your job )
Just wondering, why macOS Montery instead of a newer version? Is there some kind of benefit to using Montery?
Edit: It looks like Ventura is used in the video, why not use that?
ANOTHER edit: Tried it myself with Ventura, it failed to boot with a cryptic error message I couldn't understand. Tried Montery, it was able to boot. If it stops for you with an error message that's something like "[EB|#LOG:EXITBS:START]", try using Montery instead of Ventura.
13:03 : You have "Limitations" animation where it should be "What you can do"
Great video! Thanks for the info; that's exactly what I need! I need to test a Mac-only software that doesn't require fancy system resources. I'll give it a shot.
As far as I remember, there's used to be a project named "Darling" to run macOS apps natively on Linux just like how Wine does but it still has issues.
darling is nowhere near the level of wine at the moment, so that's not a viable alternative. you can run some terminal apps and apparently even some very basic demo GUI apps, but nothing that's actually useful
Its still being actively developed by a small team, definitely not to the scale or maturity of wine though. Currently it can do CLI stuff pretty well, one compelling use case would be using darling to compile apps using the xcode toolchain (which you can't outside MacOS usually), this might be pretty useful when developing or in a CI/CD pipeline.
@@user-mv9iy5ph1f does that actually work? Compiling apps I mean. That's something that would be pretty useful for me
@@user-mv9iy5ph1f so currently darling can work with building ios app via CLI? Cause I'm looking a way for building ios app
What if you install Linux on mac hardware and then run macOS within a VM... wonder if the terms account for that
Interesting question, some years ago people people theorized that apple end OSX server to avoid people to use virtualization as a legal loop hole even in their original hardware
would love to try to get this running in like a basic headless linux environment and essentially have a macbook on a thinkpad
i use qemu daily and hadn't even considered it until you mentioned the cli setup there
Looking at all the options in the quickgui, I'm excited to use this app to test multiple OS configurations for my web apps without having too much hassle to set things up. So much better than VirtualBox, and way easier than attempting a Hackintosh! Such a great guide, thanks for sharing!
Is there a Linux mint install guide for dummies to get quickgui working?
I always wanted to run MacOS because I had always been a Windows and Linux user. MacOS was intriguing for me because of the design and overall better OS than whatever Windows is upto (maybe because it is unix based). But I never bought a mac, because it is a closed machine and I don't like closed software. Would be great to try out MacOS. Thank you for posting the video
I’ve always found that notion to be valid but to make decisions around it is a bit extreme. I’ve always been a Windows, Mac and Linux user for work, tinkering and down time. I’d be lying if I said the closed nature of Apple had any bearing at all. If there was anything half as nice as a Macbook on the market, I’d give it a go with Linux. But then I’d find it in my bag toasting with 1% battery so it’s just never gonna happen. I’m not gonna waste my time setting everything up and then forgetting how I did it come time to do it fresh a few years later. Linux is nice but tinkering is a hobby I’ve still got actual work to do, and Windows being the actual alternative is also closed source.
@@Freshbott2 It is a fair point. I agree with it. Sometimes you have to fight with linux and setup things that should be setup on the installation. In my Arch installation, I had to setup power saving, hibernation and touchpad for my laptop, from scratch!
Now, that is great for a hobby but it gets old pretty fast when you have to do actual work. However, switching to BSD was one of my better decisions as it limited the headaches and made things easier.
You can also buy cheap Dell or HP desktop PC which are very easy to use as a Hackintosh rigs if you want to play with "real" Mac. Done that couple times.
its better to make a triple boot (MacOS, windoze,and Linux)
I did it on my dell Optiplex 3080 micro and made a 15minutes install guide too.
Is it worth it for iOS development (Swift/Objective-C)? Or do I just bite the bullet and buy a Mac Mini or something else? What does everyone think?
Depends on how much you value your time and how much money you have. Unless you're really unable to buy a Mac mini, I would probably just bite the bullet.
@@calebvanwinkle1703 I can find them for a very affordable price, but I could also invest that money into a better computer to run this more smoothly. I'll need a new rig either way. That's where I'm not sure which approach is better
I miss my Apple system for 3 apps:
- Logic Pro X
- IA Writer
- Final Cut Pro
Everything else I prefer my Linux system by far.
Unfortunately these Apps are not as usable as I'd need in a VM.
I should try this in my 2012 Mac mini.
Simple, he says!! 😊
For Linux users it kinda is
What is the download size of the virtual machine?
I have a capped internet.
Around 11gb for the Ventura installer and 600mb for recovery
@@_denzy_6310 thanks a lot.
Virtualbox is definitely working, I got MacOS catalina(?) on Vbox a while back (at the time of the pandemic) but it was slow as hell.
There are things to do like setting BIOS strings and enabling EFI, etc. but it's possible.
as a mac user i learnt something new today. sudo trimforce enable. thank you 🙂
Can you review "Darling" (wine but for macos apps on linux)
Sadly doesn't allow graphical apps, and offers very limited support for now, iirc. Very interesting project, tho
Great video, Nick.
A little unrelated, but I just wondered: What are you using to sync your Nextcloud to your local PC? I used the official Nextcloud client, but regardless of the packaging format, it tends to be buggy. I'd rather not risk any data with syncing issues...
Man, Apple have made running their OS outside their hardware a real pain up the bum. I see why they did it like this. There's no real reason for them to support anything they don't make with MacOS officially not running on it. Still a pain for developers and the likes who'd like to support Apple their browser and their ecosystem, but don't have the budget to have a Mac laying around for just that.
Honestly, those M chips equipped Macs are really cool. It's incredible how much power Apple have squeezed out of those chips while running at very low wattage and very manageable temps. Their lack of gaming support is a crying shame. There's a little token support, but few things would show off the power of those chips better than running brand spanking new AAA games on them. The hardware can do it easily. Metal as a graphics API supports everything that is needed to make it happen. The will just isn't there.
Have you tried Whiskey? It's a modified build of game porting toolkit and it can run steam games. Works great for rocket league (win64 version) at 1080p 60 fps on base M1. I do wish apple supported vulkan tho
@@grantschilb8019 I have not, but that sounds like something that has great potential.
You need macOS to get your 2FA keys out of iCloud
It's really needed for React-Native Mobile development, You can't build for iOS on any other OS
It's a real obvious annoyance from apple to force people to use their devices
I remember seeing emulating OSx under Linux beating native OSx performance-wise. Sadly, we can't do it anymore. Nonetheless, I wouldn't mind running Garageband and iMovie. Those two apps are so easy to use in a pinch.
Years ago I noticed Mac, Windows 11, and Linux distros like Pop OS have very similar desktop layouts as it is. It's just a matter of whether you want a closed source operating system, like Mac and (to a lesser extent) Windows, or an open source operating system like Linux.
The main reason I’d want to run mac os in Linux isn’t about cost. It’s about having some options on hardware form factor.
Thank you for the discovery of this tool.
Has anyone tried doing this to run an Xcode dev environment? Whats the performance like trying to run ios or watchos simulators? Also, is GPU passthrough available to speed up graphics?
Edit just saw that Xcode does run, still wondering what the experience is like?
i too, need to know how if want deploy flutter source code for deploy iOS Apps
You can get GPU passthrough with Qemu (at least for Windows), I think the problem would be driver support, as Apple has stopped using dedicated GPUs on their Mac's since 2020.
great! very useful, only thing is that cpu_cores didn't work for me, I typed cpu="8"
I repeatedly had exit status failure messages building quickgui in Manjaro (arch), regarding Flutter SDK corruption or missing permissions. Quickgui-bin allowed me to try the app. Unfortunately there were a lot of problems such as USB redirection errors and hard freezes requiring power cycling.
Quickgui does not appear ready for deployment in Manjaro / arch. I suspect this is why Nick did not include quickgui in his arch build instructions at 2:40. Unfortunately, quickemu is largely crippled without it.
[Note, this same message is posted in response to another YT comment regarding quickgui-bin.]
I believe some of the flutter packages in the AUR may be defective or have broken dependencies. I wasted most of a day on this. Don’t quote me to be any kind of expert. I am just reporting the compilation error messages I saw.
Okay, but can this be used on Asahi Linux?
Last I heard, which was admittedly a while ago, they did not foresee supporting virtualization in the near future.
I'm having an endless reboot
Well, the only thing i like about Mac OS is the old Text-To-Speech voices. Zarvox (from the legacy voices of mac speech) is my favorite one. I might give that one a shot!
Sadly, lack of 3D acceleration is part of the course when it comes to VMs. It's why I hate it when someone recommends Virtualbox as a way to get an ancient abandoned 3D game working on a modern PC. I would sooner make my own source port than to do that.
Next guide: How to escape Apple’s lawyers after you had installed Linux on your Mac.
Anyone can install Linux on a Mac, either via Asahi or a VM.
So if you install Linux on a Mac and then install MacOs like this it's legal as it's running on Apple hardware? 🤔
Awesome! Will try for iOS development. With some kind of bridge I could code in Linux but build and run in MacOS 🤔
Hey.... Someone who's able to provide an actual use case other than "because I can". I couldn't think of one, but I forgot about this one.
Is there a way to code in Linux/swift and have a iPhone simulator?
The real question is not "How" to run macOS on Linux but "Why" would you want to run macOS ... But I'm glad we have the freedom to do it ! Even if I cannot fathom why someone would want to do something so weird
I run bluebubbles server in a mac vm solely for 0 added power consumption on my server. At first I ran it on a mac mini
Fantastic video. Will defs try installing. Quick question - do you know if garageband will work in the VM?
Might not. Needs hw accel
I used to be a massive Apple fan until I realised they just milk their customers.
I've been on Linux for a while, currently running Linux Mint Debian Edition with a macOS basic skin because I've never liked the Windows style desktop. The do find the macOS UI with dock to be better and more approachable and efficient.
That's the great thing about Linux DE"s : your can theme them in seconds.
All these people paying thousands to Apple just to use macOS and they could get that look for free on Linux plus WAY better hardware support and longevity.
Nice! This is just what I need, I have an Apple Time Machine NAS filled with data I can’t access natively from Linux. This should allow me to migrate it to Linux friendly storage.
Main problem here is not having hardware GPU acceleration, macOS relies too much on GPU accel that makes almost everything laggy as hell and glitchy here and there.
With all this effort, you still only have an old Intel version of the MacOS running slowly compared to performance on Apple Silicon.
Wouldn't it be easier, albeit a little pricey, to run MacOS in the cloud? Cloud hosts for MacOS start at $1 per hour or $25 per month for a basic system.
Say what you will about apple. I don't personally like them as a company but their OS is FAR more capable out of the box than any Linux distro.
Ehhhh apart from handling PDFs, no, not really. It’s super limiting in terms of how you can use that system, and most sisters come with a full office suite that Apple doesn’t have (iWork is super basic). Most Linux distros will also come with a full image editing program, that Apple doesn’t have. Better window management on Linux, more flexibility, less privacy invasive stuff… IMO macOS is far behind any mainstream distro in terms of capabilities.
@@TheLinuxEXP iWork is basic but does what most people need. Don't forget in MacOS you can easily install Microsoft Office which is the gold standard in office software. Photos app in Mac is more powerful than you think. As is preview. I'll have to give the edge to Linux when it comes to windows management, and certainly privacy.
That said, pick a mainstream distro and I'll do a video comparison of both fresh out of the box and lets see if I'm right. I still think right out of the box MacOS is far better for most people.
@@dragonballjiujitsu So we've gone from "FAR more capable out of the box than any Linux distro." to "basic but does what most people need." in one post. This is the same level of cope as when linux users try to defend Gimp as a viable photoshop alternative:)
I can see that if you're already in the apple ecosystem setting up connectivity between apple devices and a mac is much more pain free than on linux(Is it even possible on linux?). Otherwise it doesn't seem to offer anything that linux doesn't.
It's kind of an odd hill to die on TBH. Once you've setup a mac with say, office and adobe CC there really are a ton of things it can do that linux... can't. But then that's not an OOTB install anymore.
@@spartanbeef9491 Facts lol
Literally the second response
I think both have their merits. I use Fedora and macOS on my Apple Silicon Mac and I couldn't be happier. I get the best of both, and I can run games via a modified wine setup on macOS. To their credit, apple does have better widevine DRM support.
The title should be "How to Install macOS without bleeding and wanting to die"
Wheres mac os sonoma? why is there no option to download that?
I'm having a cyclic reboot
I want it just for iMessage on the PC. I'm going to give this a shot when I get my 7950x
finally i can test safari i never liked apple stuff so limited but i like to try it and see how bad acctully is also will be nice if we could create IOS
I going to try this, I prefer vmware because their vms run much better than other solution, and even have a descent hardware acceleration, but they application is a pain to reconfigure for macos and something simple don't run on Linux
Honestly, the lack of accelerated graphics is a deal-breaker for me. Any modern OS sucks with only a basic framebuffer to work with. And Apple knew that when they set up macOS to work under VMware Workstation. And this same setup is what most macOS VMs try to replicate. Attempts have been made to create proper graphics driver kexts for macOS VMs, but none have reached a usable state and have bitrotted to oblivion.
And despite all the knowledge and understanding people have that allows Hackintoshes to exist in their current form, everybody just gave up on it with the switch to ARM. Apple's modern chipsets are not some total mystery, Asahi exists. As a person who was raised with the relentless, obsessive persistence of Nintendo hacking, where every other day the universe gets flipped upside-down and people find yet another "impossible" hack, I don't get it. Why do you people just let Apple's BS be? Why them? Nobody else ever gets this much slack.
What to do? For me, everything runs on only one core. And the system lags terribly
Which distro did you use?
The only reason I would need this is to be able to run the latest version of Xcode in order to be able to test real apple devices like an iPhone, pad, or a real android phone to test apps.
Does the sound work using this method?
Thanks Nick.
For me running a VM on my Linux Mint sadly became a mission impossible task no matter what. I tried Virtualbox and installed it, then I downloaded 3 pcs MacOS (Lion, Snow Leopard, High Sierra) none worked even though I followed everything they said. Then I installed the KVM QEMU Virtu, and I was able to run two setups; one kept running over and over again, and the other one simply stuck at a grey screen with a MacOS rainbow circling thingy on it. Now this Quick-Gui is doing something that it shouldn`t, first, it said something about a path that is missing and to reinstall it, I did reinstalled it like three times and nothing. Now, there was an update in the system for QEMU and I proceeded with it, now I started Quick-Gui and it showed a white screen for like 30 min already. My computer is pretty old, but I think it is reasonable with its Intel i5 (3210M) Intel HD 4000 8GB hyper-x Hynix RAM and the 500GB HDD. So, I mean people can run on their older much weaker machines, but I can`t, how is that possible?
Pretty sure VMWare has decent support for macOS guests, IIRC clipboard and DnD both work though TBF its been a while since I last tested it.
A few seconds after clicking "MacOS Base System", it crashes and shows the three options again. Then, after selecting MacOS Base System again, I get a MACH Reboot error.
Ayo bro. what's up? how is life. Bro I had some questions.: I've got a setup question regarding my QEMU virtual machine setup. So, here's the deal: I'm running two operating systems within my VM - Fedora and Windows 11 - and my host OS is openSUSE Tumbleweed. Now, I've got two different GPUs available, an RX 7800XT and an RTX 3060. My plan is to dedicate the RTX 3060 specifically to the QEMU VM. My question is, can I utilize the RTX 3060 simultaneously on both OSs within the VM? like I will use fedora, windows at the same time on the qemu. And do I need to install any proprietary drivers for the NVIDIA GPU to ensure I get full performance from it within the VM OSs?
if you're passing through the device, you will need its drivers in the vm (windows/fedora) but don't need it for the host (suse). you can pass through the device to only one vm at a time (not both).
@@MadHau5 thanks mate
It is awesome!😮
What happens when you get connect to SPICE? Seems like MacOS is the only issues. WIndows 11 worked fine.
good , now the rest half part of the puzzle , to run linux on macs m1, m2 etc etc without hassle 😊
Look at Asahi Linux. Never tried it myself as my Mac is an old Intel model, but apparently it is working reasonably well now.
This was sad, xcode requires os 14, F' iT .
Apple is like bullying me into buying their machine
I hope I figure out some way to solve this
4:20 DO NOT login to any Apple services inside the VM. You will get logged out from ALL your Apple devices and your account will be LOCKED until you recover your account and change password.
Didn’t happen to me when recording this video
@@TheLinuxEXP Happened to me while testing this a while back. Never got it to work. Might be different OS versions.
Which CPU are you using? I heard AMD CPU’s are incompatible with MacOS.
Quickemu works with AMD CPUs, but I’ve had a mixed experience with more recent versions of macOS.
In the end, I generally either install Catalina or Monterey, which are several versions old.
@@thebozzIDW can you give me tips for Monterey. I have problem instaling Monterey in my AMD machine.
What's the difference between spice and VNC? Did mas switch Remote Desktop clients from VNC? I know on my older Mac I can remote into it from VNCfrom my desktop.