10 ms·
Sosumi Snap – Download and Install macOS in Ubuntu
- clircle 6y agoWhy?
- mgiannopoulos 6y agoI use it to run Scrivener and a couple other Mac-only apps. Works like a charm, provides a painless setup of a Mac VM.
- angst_ridden 6y agoI'm off topic, but at least with Scrivner 2, there was a Linux version (unsupported, but available).
- mgiannopoulos 6y agoThe Linux version hasn’t been updated for several years now. V3 on Mac has some quite handy features and compatibility with the iPad version.
- kirubakaran 6y agoWhy not?
- rhodysurf 6y agoiOS dev
- fragebogen 6y agoImpressive! Excuse an ignorant question, but there’s no support for Nvidia cards, I guess?
- car 6y agoDrivers for really old ones are baked into macOS apparently. PCI pass through then delivers native graphics performance. Edit: All Kepler GPUs are supported.
- chubs 6y agoHilarious that they named it after 'sosumi' which was apple's cheeky name for a sound effect that iirc was a response to a legal claim that their computers were not permitted to produce audio: 'so sue me'.
- technothrasher 6y agoIt wasn't that their computers weren't permitted to produce audio, its that they had made an agreement with The Beatles' Apple Corps that they wouldn't use the "Apple" trademark for products which were principally for creating music. The dust up was when the Apple IIGS contained a dedicated sound processor. Apple Corps thought that was too close of comfort and sued.
- ianlevesque 6y agoTook many years but honestly Apple Corps was right to be concerned. Think how much more brand recognition Apple computer has now, and that's pretty impressive considering the Beatles.
- jstanley 6y agoThey were right to be concerned, in the sense that in the long-term they were outcompeted in the marketplace. That doesn't mean they were right to sue, or that they should have succeeded. Nobody has a right not to have competition, and the Apple IIGS was not a device principally for creating music.
- bigiain 6y agoOn the other hand, imagine the tsunami of lawyer-shit you'd be drowning in if you started a record label called "iPhone Corp" today?
- Dylan16807 6y agoAlmost entirely because that's not a word. Calling something "Lightning" would be a lot closer, as a trademark they use but with very conditional mindshare.
- macNchz 6y agoSee also: https://github.com/myspaghetti/macos-virtualbox https://github.com/myspaghetti/macos-virtualbox
- _rs 6y agoAnd also https://github.com/kholia/OSX-KVM https://github.com/kholia/OSX-KVM (which I found by searching the OSK and finding another HN thread about from 2016, with the same conversations about legality, e.g. https://news.ycombinator.com/item?id=12558195 https://news.ycombinator.com/item?id=12558195)
- enriquto 6y agoThis is a saner option, without need for that pesky snap thing.
- pan69 6y agoExcuse my ignorance, I have two questions: 1) How legal is this (assuming I have a a valid macOS licence that comes with my Apple hardware/laptop)? 2) Can this be used to do iOS development?
- kccqzy 6y agoIt's fine if you install Linux on a Mac and then install macOS as a VM on that Linux installation. It's permitted starting from 10.7 Lion. It's not allowed by the EULA if you do it on a non-Apple computer, but Apple likely won't care enough to take any action.
- beervirus 6y agoIt seems extremely likely that Apple will send a DMCA takedown about this project. Why wouldn’t they?
- userbinator 6y agoThere's plenty of other, very-explicitly-Hackintosh projects on GitHub, that they haven't gone after either.
- eyelidlessness 6y agoAdding to the existing response: Apple has a weird attitude toward software licensing, but it’s fairly predictable and has been since the early 00s. They care about: - Is the first party experience uncompromised? (I.e. you must escape their protections explicitly to bypass them without scrutiny) - Are you commercializing your unauthorized usage? (I.e. hackintosh okay, hackintosh for sale not okay) They have a few other, less predictable, principles when it comes to lower profile software like WebKit, but if you account for those you’re very unlikely to cross their legal team. macOS is free (dollars), and not because they expect to make up the dollars of investment in hardware sales, but because they correctly realized selling an OS isn’t a profit generator anymore. Even Microsoft has realized that. As long as no one is making money on this I seriously solve Apple will care one way or another.
- Triv888 6y agoApple doesn't like things like that for some odd reasons ...
- jabberwcky 6y agoA Canonical employee releasing a wrapper to download and run unlicensed MacOS, and shipping it via Ubuntu's explicitly for-profit app store? There is noooo way this was approved "Sofireme" seems way more appropriate, or maybe "Sosumyemployer" edit: double eek: https://github.com/popey/sosumi-snap/blob/master/snap/local/bin/launch#L3 https://github.com/popey/sosumi-snap/blob/master/snap/local/...
- userbinator 6y agoAs pointed out in the other comments here, the EULA definitely allows you to run macOS in Ubuntu if you're using Apple's hardware.
- deleted 6y ago[deleted]
- jabberwcky 6y agoPretty sure the EULA does not cover copying essentially a DRM key from the SMC and checking it into GitHub, conveniently set up in such a way as the repo does not in fact require Mac hardware
- userbinator 6y agoYou may find the reasoning here interesting: https://github.com/kholia/OSX-KVM https://github.com/kholia/OSX-KVM The "secret" Apple OSK string is widely available on the Internet. It is also included in a public court document available here. I am not a lawyer but it seems that Apple's attempt(s) to get the OSK string treated as a trade secret did not work out. Due to these reasons, the OSK string is freely included in this repository. That repo has been around for many years.
- eyelidlessness 6y agoEvery so often I encounter a key in React (Preact, but preserved for compatibility) titled something like PRIVATE_DO_NOT_USE_OR_YOU_WILL_BE_FIRED and I appreciate the cutesy tongue in cheek acknowledgement that it’s not private and will likely be used anyway
- everyone 6y agoI tried many times to get MacOS to run on my AMD cpu windows machine so I could build my mobile games to iOS from Unity. I tried virtualbox and VMware and a few different ways of installing macOS on both. In some cases MacOS would install and run ok, but I could never connect to the iphone over usb and actually build to it. I ended up buying a 2nd hand mac mini. I still feel dirty paying £300 for such a low spec machine. it runs like absolute garbage. But it has Catalina and I can actually finally build to iOS.. very very very slowly. [Updating xcode today took 6 hours] I wonder if I should try this? Do ye think theres any chance of it working on the same hardware that failed to work in virtualbox and VMware on Windows?
- ianlevesque 6y agoA 6-hour upgrade sounds like that mini is probably still on spinning rust. Rather than mess around just get the cheapest SSD you can find and install that. Also from what I've heard it comes down to certain AMD CPUs missing instructions macOS assumes are present, so any modern virtual machine that doesn't emulate every instruction can't help there.
- jeroenhd 6y agoI've installed a Hackintosh on my machine (only High Sierra because I have a Pascal Nvidia GPU and Nvidia and Apple are still throwing a tantrum) and it's working quite painless. The old style of installing a Hackintosh (configuring clover and some random binaries based on forum threads) never worked for me, but Dortania's OpenCore Install Guide [1] worked great out of the box. If your GPU works on macOS (so recent-ish AMD or old Nvidia), I definitely recommend giving it a try. You're missing out on a few performance optimisations and stuff like iMessage and Facetime don't work, but it's definitely good enough to just run and debug builds, possibly even with hardware acceleration inside the necessary emulators (not VMs). If you want to go the VM route, you'll probably run into trouble because Apple's OS assumes that the processor is made by Intel (not strange, because all of their x64 processors are bought from Intel). There's a few patches you can download and install to make the OS boot on macOS though, and with those the VM should work in VirtualBox, VMWare, KVM, this snap, and that Docker image running qemu that someone posted at some point. Details about what to patches you may need can be found somewhere in [1], as well as a list of limitations. For example, running virtual machines on an AMD Hackintosh is practically impossible. If you want to get the bare basics working in a virtual machine, running through the opencore install guide inside the VM will most definitely work, though the GUI will be slow as molasses because of the lack of GPU acceleration. That's still fine for running a build task over something like SSH though. There's options! [1]: https://dortania.github.io/OpenCore-Install-Guide/ https://dortania.github.io/OpenCore-Install-Guide/
- benttoothpaste 6y agoNow we just need a Sosumi Flatpak...
- collsni 6y agoDownload it now if you are interested. Lol
- deleted 6y ago[deleted]
- schmorptron 6y agoYep, it's gone, lmfao
- bochoh 6y agoI tried this, naively, on WSL2 and had no luck. May try again tomorrow.
- tyingq 6y agoYou'll need to build a new kernel. The one in WSL2/Ubuntu isn't compiled with KVM support. Once you do that, it should work fine.
- bochoh 6y agoI've attempted several times today but haven't successfully gotten KVM working with the custom kernel. Thanks for pointing me in this path.
- freegnu 6y agoAMD KVM in WSL and basically anything that relies on the Windows Hypervisor won't work yet on AMD CPUs. You have to disable the Hypervisor support in Windows which allows other KVM capable VM managers like Qemu, Virtualbox, and VMWare to all run KVM VMs on AMD on Windows. Look at the 3rd or 4th answer here if you want two boot entries to be able to enable or disable the Windows Hypervisor at boot time from the boot menu. https://superuser.com/questions/540055/convenient-way-to-enable-disable-hyper-v-in-windows-8 https://superuser.com/questions/540055/convenient-way-to-ena...
- TheDong 6y agoMaybe I'm misunderstanding the PsyStar case, but this seems likely to be illegal. Psystar, among other things, released "Rebel EFI" (https://en.wikipedia.org/wiki/Psystar_Corporation#Rebel_EFI https://en.wikipedia.org/wiki/Psystar_Corporation#Rebel_EFI), which was a way to circumvent OSX's checks that you were running on mac hardware. Judge Alsup ruled that Rebel EFI was a circumvention technology, and thus not legal under the DMCAs anti-circumvention provisions. The snap is not running macOS on mac hardware. Even if you run it on a mac laptop, it's using virtualized qemu hardware. It includes a magic hardware string to make macOS run (https://github.com/popey/sosumi-snap/blob/def1652e916f/snap/local/bin/launch#L3 https://github.com/popey/sosumi-snap/blob/def1652e916f/snap/...). That magic string is a circumvention measure which dodges a check macOS makes on boot to see if it's on legitimate hardware, and so I think this project is performing circumvention, similar to Rebel EFI.
- aaomidi 6y ago> but this seems likely to be illegal. Lets leave that up to the courts.
- arsome 6y agoThe name is literally "So Sue Me".
- fattire 6y agoThis is no doubt a reference to the alert whistle sound on Mac OS 7. https://en.wikipedia.org/wiki/Sosumi https://en.wikipedia.org/wiki/Sosumi https://www.youtube.com/watch?v=yRh_-2R6juM&t=24 https://www.youtube.com/watch?v=yRh_-2R6juM&t=24
- projektfu 6y agoIn sad news, I went looking for Pud's blog "Fucking Sue Me", and not only does it redirect to something unrelated, but it was explicitly excluded from the Internet Archive. I guess a new generation will have to relearn the old lessons.
- hi5eyes 6y agothis is like a physical version of spacedesk?
- StavrosK 6y agoIs there any chance that this won't be terribly slow/janky? I had tried installing OS X under QEMU a while back, and you could use KVM to make it faster (IIRC), but it was very tricky to set up.
- meibo 6y agoThis basically has no hardware acceleration, if you don't mess around with GPU passthrough and even then you won't have a great experience - so you won't be doing any heavy work or browsing. It'll be quite choppy, even on a relatively modern CPU. If you need to build your app or use that note-taking app that's so nice but macOS exclusive, you'll be fine though.
- StavrosK 6y agoThis agrees with what my experience was like last time, thank you!
- fiddlerwoaroof 6y agoSo, I don’t know what VMWare does, but macOS Catalina on VMWare Fusion works just fine, in my experience.
- danielheath 6y agoIf I could pass through the usb or Bluetooth stacks so I could use my iPhone with linux properly, that would be a pretty useful thing.
- PaulDavisThe1st 6y agoThat much is true. On the flip side, I run Mojave and High Sierra in a QEMU/KVM and give it 8 cores of my 16 core Ryzen ThreadRupper, along with 32GB of RAM, and the result is a lot faster for non-graphics-intensive work than anything I can reasonably get from Apple at an even remotely comparable price. This means that the "build your app" case is actually way better than "native".
- xrd 6y agoI've tried various different ways to get an OSX iso booted on Linux (system76 laptop) and it's been very problematic. Is the trick to run Linux on mac hardware and then run the VM host on top of that? If so, why do that, why not just run a VM using virtual box, for example, with OSX inside OSX. Does the lower resource Linux host make it so you can run more VMs (or better specs)? I'm definitely interested in building a bunch of development images as VMs. The setup of Apple development (signing and notarizing) is so opaque that I'm always terrified our CI will get broken with some small upgrade that I want to save stable images frequently, and this seems perfect for that.
- hanniabu 6y agoAnybody try this out that also has experience with Hackintosh that can give a comparison review?
- josteink 6y agoThis might come of as a weird question for Mac-users... But as an Ubuntu-user, why would I want or need this? Are there any OSX software people consider essential? I mean... I barely even use Wine :)
- carlmr 6y agoNot a mac user myself, but i think some music and video editing applications are considered basically essential on Mac.
- gattilorenz 6y agoTo compile native Mac and iOS apps, or to test compatibility of multiplatform apps, for example
- rrrhys 6y agoxcode.
- sneak 6y agoour hard work by these words guarded you wouldn't download a car
- protoman3000 6y agoSosumi Snap uses Clover internally. [1] showed how to boot macOS in KVM without the usual Clover / Opencore setup but is not maintained for newer versions anymore. [2] shows how to run current macOS versions without Clover or Opencore in VirtualBox by changing the VM's ACPI(?) entries and loading variables into the NVRAM. [3] uses KVM but also uses Opencore. I tried to translate [2] to QEMU but was never successful. Does anybody know some resources how to have a pure KVM macOS VM without any hackintoshing? [1] https://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/ https://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/ [2] https://github.com/myspaghetti/macos-virtualbox https://github.com/myspaghetti/macos-virtualbox [3] https://github.com/kholia/OSX-KVM https://github.com/kholia/OSX-KVM
- jdalgetty 6y agoLooks like https://snapcraft.io/sosumi https://snapcraft.io/sosumi is down
- tyingq 6y agoAlso on the repo: "This repository has been archived by the owner. It is now read-only."
- cjoshmartin 6y agoyeah was not able to download it today either
- popey 6y agoI made the snap private, and archived the repo.