MacOS on Linux
Вставка
- Опубліковано 2 жов 2022
- This shows you all the steps to install a MacOS VM in Linux QEMU using Virtual Machine Manager or virt-manager.
Referenced Guides:
- QEMU Setup on Linux - christitus.com/vm-setup-in-li...
- MacOS on Linux - christitus.com/macos-on-linux/ .
►► Digital Downloads ➜ www.cttstore.com
►► Reddit ➜ / christitustech
►► Titus Tech Talk ➜ / titustechtalk
►► Twitch ➜ / christitustech - Наука та технологія
Hey Chris! This is exactly what I needed! Actually the first video of yours that got me hooked was making a hackintosh with Opencore because it was super informative. I can't wait to try this!
I really appreciate your channel Chris. I find other channels are either very Windows or Mac focused, or if they're Linux focused they're total evangelists. I love Linux and use it as my primary OS, but there are many people like me who use Windows and Mac for different purposes as well. Some work-related reasons and also because the experience might be better on Mac or Windows for some other task. I just like how you're not religious about operating systems like so many others are.
Wow, can't wait to try this. My poor Mac might not get used that much anymore if everything works.
Thanks Chris!
Thank you for this topic...I've been waiting for something this a long time now.
To change the XML in Virt-manager, you have to go to Settings and enable it, I'm 99% sure. By default you can't edit it in Virt-manager. I think it's a safety thing, since normal way is doing it with 'virsh' and that checks for errors in the XML. 'sudo virsh edit ' IIRC, in terminal. But of course you get the whole XML so have to find the right section. Which is why I edit in Virt-Manager, in most cases. I am just a normal home-user. If VM breaks, I can redo it. It's not like a whole enterprise goes down.
You are correct, I had to enable editing XML files in Virt-Manager settings. Forgot to mention it in the video.
@@ChrisTitusTech Make a video on how to install mac os on linode vps server
You always have fun tutorials. I'm tempted to try this out.
Awesome video!!! Once I get my "new" laptop fully configured, I might give this a try! Thanks for posting this!!!
Minux. Macinux. Lac. Linac.
Linac is the best 😂
Yes.
Mux
1.) LinmacUX
2.) MinuxOS
LinOS
As usual. You are the best. Simple and effective.
This is the first time I have caught one of your videos, this is great. Subscribed.
First Mac vm that’s actually worked for me , thanks a bunch 🙃
Wow, you came out with a video that directly helps me with something I'm working on right now.
This has happened several times and blows my mind every time XD
Thank you for the help Chris
All works good! There is no mouse functionality in Clover bootloader, you have to use keyboard. The first time I tried this there was no mouse in Catalina either, so I had to delete the entire "macOS-Simple-KVM" folder in my home directory and try all over again. Worked the 2nd time. Everything worked as described in the video.
Was not able to get GPU passthrough working yet, but I feel pretty good I got a complete working Mac system in just a couple hours. Good guide!
wow, exactly what i needed. great video, very educative
The video that LTT promised but never made. Thank you kind sir.
THANK YOU MY BROTHER FROM ANOTHER COUNTRY AND ANOTHER FAMILY!!!
As a long time hackintosher I've been using Opencore for a few years now so wonder why Clover is still being used for Mac on Linux. I'm writing this on a 2011 Macbook Pro on Big Sur thanks to Opencore Legacy Patcher, so all round very grateful and appreciative of what the Opencore team have achieved.
For years before Opencore I - like everyone else - was using Clover, and while it was OK, my experience was it was pretty shakey with Clover updates or tiny tweaks being fully capable of borking what had previously been a solid installation. IOW if I was planning on using MacOS for any sort of production where reliable performance was important to me, I'd choose Opencore and I'd hackintosh on bare metal. I look forward to an update when you get your 5700 :)
Why do you use Mac OSX? Is it for a particular software or you just like trying things out?
@@louistournas120 I'm an audio guy - I have some very nice old audio hardware that never had and so never will have drivers or control panels on Linux. Replacing that audio hardware would cost well over £3000, but since it still works perfectly well, that'd be dumb.
For it to function as intended, I can either use MacOS or Windows. As I also have audio projects dating back two decades recorded on Mac DAW software, it's a no brainer to use MacOS. All my PC's triple boot OS's, but I mostly use Mac and boot into Nobara to play games.
@@julian.morgan I'm also an audio guy, and own a Macbook pro early 2011 running Catalina (but with dosdude patch). I'm really tempted to try Monterey using opencore. Do you think Big Sur would be better than Monterey on this particular machine? I have a more modern windows machine with windows 10 pro, but I like to keep this macbook alive (if it is not broke, why buy a new one? Right?).
Hackintoshing on bare metal is terrible you need to get the right efi setup, kext, config plist(using dortian guide), and after all the hard work, your system won’t just boot up and then you waste countless hours looking for who has the same hardware as you, and trying to fix things. I think this is a better alternative for me, I have dedicated nvidia card on my laptop just hope it works. I am also wondering if I could get the efi from this vm and try running it on bare metal with a little tweak 🤔
@@trustee1108 As someone who maintains five different hackintoshes for family and friends I can say that you have to follow the dortania guide very exactly to get a reliable result. But that is the nature of trying to get an OS to work on bare metal hardware it was never intended to run on.
There's a lot to research and most people who end up wasting a lot of time tend to have dived in the deep end without first checking that their hardware was compatible to begin with.
Of course running it in a VM is either a lot easier, or - depending on your hardware (eg nvidia gpu's) the ONLY way of doing it. Apple have not supported nvidia gpu's since high sierra (2017).
Hey chris, can you make a nixOS setup vid with home manager and flakes? I've watched your video about Nix packet manager, it was really good. Keep up the great work!
One comment on GPU/PCIe-Passthrough.
Radeon 5700/5600/5500 is supported Catalina and above
Radeon 6800/6900 are supported By Big Sur and above.
Radeon 6600 is supported since Monterey.
Be aware Radeon 6700/6750/6950 is not supported!
Modern Nvidia GPUs aren't supported past High Sierra GTX 1000er Series - you can use old Kepler GPUs though.
Do you have a tutorial about single gpu passthrough on arch? Would be great to see how you would set this up.
APFS is mandatory on anything that is Mojave or newer, you can "install" to HFS+ disks, but the filesystem will get upgraded to APFS.
Also if you cannot see your disk in Disk Utility, just click View --> Show all devices
Note: ever since Catalina, apple has actually been slowly adding support for virtio drivers, catalina added support for virtio block disk drivers, big sur added virtio networking drivers, monterey added virtio gpu drivers (no 3d acceleration, passthrough still better, but virtio tends to be somewhat better than qxl in some cases)
Also another note: RX5700 XT+ is supported in big sur (maybe catalina too), RX6600 XT (not RX6700 or RX6700XT) and RX6800XT+ is supported in monterey
rx6700 is not though right? unless they updated something recently.
@@Don_XII monterey added support for rx6700 XT and above sorry, will edit
@@HikariKnight No - RX6700(XT) isn't supported! 6800/6900 are supported since BigSur - Monterey added support for 6600 and of course the XT-Parts of these.
@@m.l.9385 my bad, i forgot its the RX 6600 XT i got in my system not the 6700 XT, them not supporting 6700 XT though is surprising but also not surprising, leave it up to apple to be consistently inconsistent with amd gpu support
@@Don_XII No, they did not and most probably never will... :-( 6700(XT) isn't supported - which is especially bad since the 6800M - mobile GPUs are effectively are 6700 and therefore are incompatible, whilst 6700S(and 6800S) works as these use Navi 23 same as a 6600 GPU - i.e. see ROG Zephyrus G14 (GA402) Hackintosh.
Hi Chris, are you planning to make the same tutorial for Windows version? Like vmware workstation, or VirtualBox or maybe even hyper-v?
Thanks this works really well.
great guide tyvm
I recently learned about a project similar to WINE, but for running MacOS programs on Linux, it's called "darling", and it's GitHub repo was started on march 9th 2011, it's come a really long way since then from the looks of it, but I have yet to try it. I'd guess another 10 or 15 years until it's close to where WINE is as of writing this.
Thank you. I must try this.
I kind of skimmed through this video, but I'm almost tempted to try it. It would be Inception-like to run MacOS in a VM, in Linux, running on Mac hardware.
Hi Installed as per guide but EVERY time I click in the VM to install MacOs the cursor freezes IN the vm. I can tab around but no mouse to click "continue" etc. CNTRL & L to exit work, tried so many things. Any ideas Chris?
I've got the exact same issue. USB keyboard passed through, USB mouse no luck.
greate video chris! i wish u did a more in depth video about gpu passthrough for cards that doesn't have uefi bios aka legacy bios like GTX 680.. do you know if there is a workaround to get that card working for gpu passthrough and with monterey and ventura ?
Great video👍👍👍
Magnet - that was a good suggestion. Just purchased it and got it installed - brilliant. Any more suggestions.
Pretty sure both LTT and Muta made a video on exactly this. Still pretty awesome. Can’t help but notice you only used Catalina. Any support for Monterey or even Ventura?
I caved and bought an iPhone 14 Pro, nice phone but just doesn't play well with Linux. So I think I will install a vm just to interact with the phone when needed. Good info, thanks.
Thanks for one more very good video. BTW none of those long list of disks in Linux are mounted :D
Hello Sir,
Do you use any email client ?
Which one should I use , windows mail and calendar or Thunderbird ?😕
For snapping you can use tiles. :)
Great video! Few questions:
1- Can you boot directly into MacOS using KVM? I mean, booting native Linux but automating it to just open MacOS every time you boot?
2- How's the performance when virtualizating like this? I know it's not 100%, but is it too impactful?
It is just too impactful. I tried it, it's really slow. It's like a Computer that doesn't have any 3D acceleration at all.
Throughputting the GPU is much better but as we know - MacOS is probably not going to be able to handle it because of missing drivers.
Thanks! I wonder about the solution if you don't have a hard-drive sitting next to you waiting for the tutorial.
Thanks!
I am thinking some videos showing the responsiveness and things you can do such as the video editing with hardware acceleration. And then maybe have some videos showing the same with a Proxmox Mac VM with passthrough on the same/similar hardware for comparison.
Edited: I was looking at trying this on Proxmox using an HP Z820 with dual E5-2667 v2, 128GB RAM, and a (maybe dual) MSI Armor OC RX 580 8GB. All old hardware that I have had access to for free / cheap.
Hey there Chris!
If I may ask you, how is Kholia’s OSX-KVM inferior than foxlet’s simple KVM?
OSX-KVM is being actively developed, whereas simple KVM got its last commit couple of years ago.
So OSX-KVM is more preferable.
agreed. I think Kholia's base works just as well, if not better, especially if you want a later version of macOS. I think the simple-kvm one by foxlet was a genesis for a lot of these solutions, but OSX-KVM brings it into the future with opencore. in the end, I found hackintoshing to be a fool's errand. I just decided to keep my Mac and run a windows tower alongside it. hackintoshing is not fun, even when virtualizing it! who wants to deal with driver issues and spoofing serial numbers for iServices to work? I poured so much time into this and came out of it with a renewed love for first party apple products lol. I'm so deep in the ecosystem.
I'd think the reason is that Kholia's guide focuses specifically on a Debian based distro where the simple version accounts for other distros as well
imho, every time i've tried to use OSX-KVM its crashed, or failed to boot, or couldn't erase drive, couldn't/wouldn't install, but every time I go back to simple-KVM it just works.
And one should/could also look into KVM-Opencore from Nicholas Sherlocks which is even more up to date!
great video
Just what I was looking for! Awesome tutorial, I just have one question, could my gpu pass through be my Intel integrated graphics? I have an nvidia 20 series card that I’ve seen is not supported😢
Hello Chris, what os do you have on your system? Thank you
If you are looking for a sound card the $9 USB-C to headphone jack adapter in the Apple Store produces a perfect analogue signal and is guaranteed compatible with MacOS. It is also a very good choice for a Windows machine. Samsung's equivalent is about the same price and equally good in Windows, but doesn't work so well in Apple devices. The $5 Amazon alternatives are probably OK, but for the sake of $4, I'd probably go with the Apple one that is known to work.
ty for the info apple sales rep, 50 cents have been deposited into your account.
ew apple products
Best solution I found so far is Focusrite Scarlett 2i2!
took me a while due to mistake, but it works thanks
i just tried it with sosumi. ill give this a shot also.
Good video.
is it safe to use my icloud in such config ?
great vid as always chris!
Can you upgrade MacOS or would it just flip out and not work? What's the deal with the upgrade to the newer MacOS version?
Chris is 100% a secret Apple agent 😂
Hehe I am a "Certified macOS Technician" albeit the last cert I received from apple was the Tiger release.
btw if you're on windows you can use the macos-virtualbox project but ofc you wont be able to passthrough your gpu
Hey Chris! Just now found this video! so is this VM reliable as a daily driver. im an app developer heavily rely on xcode.
My laptop watching this: I'm tired, boss.
Sidenote: I'd like to see opencore used in this kind of setup, will do some research for KVM.
There is the OpenCore-KVM Project that is still pretty young, but interesting as they have moved on from clover. The downside is it doesn't work as well yet.
@@ChrisTitusTech Are you sure? Did you try Nicholas Sherlocks build?
@@m.l.9385 I need to revisit it. I'm installing my 2nd GPU today and I'll tinker with different OSX builds.
Chris would you please make a guide to do this on Windows Hyper V
Thank you.
excellent video. wish i had seen this prior to all those vbox videos that did not work for me. in the end i like qemu more than vbox anyways :-D
The most difficult part is GPU-passthrough, depends on your hardware.
This is true, I've had it be a massive headache and other times it just worked because it cleanly separated my hardware in IOMMU groups. Gigabyte motherboards I've had the best luck with. ASRock the worst. ASUS... well those motherboards I hate, but it's a dice roll.
@@amoeba8888 Yes, they still have it - but there is a fix for VFIO Reset Bug available - or use 6600/6800 or 6900 GPUs - these don't have the reset bug anymore.
PART 2 with GPU Passthrough please!
Hi Chris, if you are using Fedora, a non-Ubuntu distro, do you know what commands do you type in instead?
I recommend rectangle for snapping Windows it's free and very good app
Hey Chris, first of all a big thank you for such a nice and informative video at the same time 😀
Was exactly what I was looking for.
But now I come to my question that I asked myself during your MacOS under Linux videos:
Can I also log in with his own Apple ID without being banned by Apple? (thereby risking his Apple account).
I would very much like to use some programs under MacOS (for work as well as for study), but a Macbook is a bit too expensive for me, I already own an iPad and a pc for both, but the iPad is more of a note-taking tool instead of a full desktop PC feel.
What would you do in my place?
Would look forward to a reply from you if you read the comment 😀
Greetings Tobi from Germany ✌️
I have a Razer Blade 15 with 2 drives. I installed Linux on 2nd drive and followed this guide to get OSX high sierra on it. Is it possible to GPU passthrough a 1080Ti if I use an e-GPU enclosure?
Are you back on Debian? No longer on Fedora?
sosumi is the click and go method, so I prefer it
Hey Chris!
May you please explain the multiple log errors you got on 12:39 and how you fixed them. I have been stuck on this for the past hour.
Thanks!
Never mind I figured out you have to close the Virtual Machine first before running it. :)
Any experiences with developing iOS applications with this vm? I imagine the version of xcode might be a problem or limiting factor
Ur da BOMB
it's easy to do in Proxmox with OpenCore, and you can even get proper graphics acceleration passing through compatible graphics card :)
Make tutorial))
@@dmitryvolkov7178 There are many good tutorials on that topic...
@@m.l.9385 you right… it’s not a secret. I found some videos.
@@dmitryvolkov7178 I would actually prefer the written guide by Nicholas Sherlock for MacOS VMs on Proxmox and the guide from Quindorian on GPU-Passthrough.
@@m.l.9385 thank you)
Hey Chris 👋 I would like to setup macOS on Linux for react-native development. is there any liabilities by doing so ?
@Chris Titus Tech Where is your guide for setting up a bridge network?
Great vid Chris. But after initial install I'm stuck with Catalina-DATA disk and cannot finish. Please, help! What am I doing wrong?
I'm running windows on my manjaro setup only because the company i work at forces me to login all the time if I don't use a supported mail and office client. Real pain. This costs me 40GB for windows. Would you recommend osx over windows for this use? I've confirmed it should also work on osx.
do you got a walk through on how to install mac on a different hard drive i want linux and mac on my windows laptop at the moment i got windows 11 and linux on this old haswell alienware laptop
Thanks a lot for this tutor.
Is it possible to install to virtutal box ?
Virtualbox is garbage on Linux... you're better off learning QEMU.
Is it possible to upgrade Catalina to Ventura through this method?
Is it mandatory you need to have a second monitor with GPU passthrough? Or is it possible to run everything on one card (plugin in a dummyhdmi connector on the 5700)? Edit: Also trying to avoid to switch from 1 HDMI Input to another on the Monitor)
I think what you're describing is probably possible using a script that would handle binding/unbinding the vfio driver to the host gpu. however, this is probably more complex than it's worth. your best bet is a dual monitor set up or using an HDMI switch (which I know you mentioned you're trying to avoid, but I don't think you can) with a separate dedicated GPU for passthrough. so you'd use one GPU for the host machine and a second GPU to use for accelerated graphics in the MacOS VM which would be bound to vfio drivers at start up and only initiated once you start up the VM.
Possibly a really dumb question, but would it break if you updated to a newer version of macOS?
This depends on the Clover/OpenCore-Version you use - I got a VM using OpenCore-KVM on Proxmox that I easily upgraded to Monterey 12.6 and that should even run Ventura.
Just out of curiosity if you dislike the Mac GUI so much, what do you use MacOS for? Final Cut Pro?
I never understood why people do this other than just messing about, like do you really need to use finalcut or garageband that much that your going to lose loads of performance and emulate it inside a vm
@@crashdude7589 It's like asking why to do people use Photoshop when Paint is included free in Windows Accessories? For a lot of people, Paint is quite sufficient to get the job done. On the top tier professional level though, the quality and speed of the tools you master (notice I didn't say have) decide whether you or the guy competing against you gets the assignment.
The question I posed is relevant because Final Cut Pro and Logic are the only tools that make Macs stand out in today's world. Windows and ChromeOS have pretty much displaced the Macintosh in every other venue that it used to have a commanding presence in.
What's the system requirements for this qemu
Thanks again Chris..I think Win-Ux are better..😉👍
I use windows as my primary OS because of many software I use are only available and fully functional on windows only, is there a GPU-PV tutorial for partitioning my GPU and using it with Linux VM?, Tried jamesparsec's GPU-PV tutorial but it only works for second windows VM, I also us WSL2 but would love to use full Linux with gui n all..
which os you are using?
Now, since any real productivity requires two monitors - how do we get dual monitors on macOS using qemu?
I wish emulation were better. I tried a early OS X emu wasn't satisfied with it I think I need to get me a ibook g3/4 or g5 mobo. I just really like the way Aqua OS X was put together it has a specific coding for the images I haven't seen a theme on a OS do it justice. Vista is a lot easier to clone but the way OS X worked it's really specific to the hardware, it could be ported over but no one has done it successfully.
can you perform the same process with 1 hard drive?
hey i did your video where you had to fix the boot by using that command prompt and now my computer is stuck on the motherboard screen any help?
Epic
Hey Titus, do you happen to know any front-end for qemu on windows? I tried some, doesn't seem to work!
I'm not Titus but, I'm sorry to say the only one that exist is qtemu and is both old and not very user-friendly
Can we upgrade it to MacOS Monterey? Would it work or break the Mac VM?
Do you know if this works on a Ryzen based laptop with no dGPU? just amd Vega graphics APU
i have a ryzen 5950x, is it possible to use most of my cores on this? i can't seem to go above 8 cores.
so basically you can install this directly without VM?
Can you do any of this on a chromebook with 4 Gigs?
From our....COMMAND PROMPT! savage! Lol
Cool. UA-cam ate my comment, yet again. This time just mentioning Docker osx. You did mention it though.
is this faster than virtualbox? or the same speed?
cuz i feel it is a bit laggy on virtualbox
kvm /virsh is infinitely better than virtualbox in every way.
How does this compare with sosumi?
Followed your instructions but it will not run the VM says permissions denied, not sure why as my account and the group libvirt-qemu both have RWX on the qcow2 file.
Did you find a solution to this?
can you help to run macos on proxmox? i have a lot of troubles with that