Run Mac OS X Apps On Linux?
I have the urge to commit my 24" Core 2 Duo iMac to a single Linux operating system, thus giving up the goodness of my beloved Mac OS X. I am not a stranger to Linux, but I am a stranger to running Mac apps on Linux. On my PowerPC I can use SheepShaver to run Classic apps. The Mac-on-Linux project can run OS X apps, but it requires a PowerPC, not an x86. Virtualizing and emulating are inefficient, especially given the wonderful results the WINE project has had in getting Windows apps to run on Linux. What I would like is an equivalent: a software compatibility layer that will allow Linux to run Mac OS X apps at native performance. I believe there is some additional complexity in accomplishing this. Mac OS X apps aren't just Mac OS X apps. They are Carbon. They are Cocoa. They are universal binaries. They are PPC code with Altivec. Does such a project exist yet? If not, why not?
Duh. The Cocoa and Carbon libraries aren't open source. Wine doesn't really emulate Windows libraries, it runs them directly. I suppose there might be some way of getting Carbon and Cocoa onto Linux, but I'm guessing that it's no easy task. And even then, you'd be subject to the same thing you are in Windows -- undocumented APIs, less-than-fully documented APIs, etc.
Wine has taken years to get as far as it has. I suspect that an 'OS X Wine' would take as long.
My blog
Microsoft will give you everything you need on the x86 platform No, Really!
In answer to those who ask why... its because we CAN. (you dumbassess).
Apple isn't going to allow it to happen. It's very important that Mac OS be seen as part of the Mac -experience-, not something that you can install on any computer. Trust me, they would find some grounds upon which to shut down such a project if it ever became popular.
The second reason would be that the people who might work on it are already too busy trying to do the same thing for Windows applications, and unfortunately that has a long way to go as well.
Wine took ten years to get where it is now, without any real documentation whatsoever.
I can guarantee you it would take at least that long to reverse-engineer Carbon from scratch. However, Cocoa is really nothing more than OPENSTEP v2. Linux already has an OPENSTEP implementation (GNUStep), so a portion of the work is done.
"I think an etch-a-sketch with an ethernet port would beat IE7 in web standards compliance."
aren't some of the cocoa/carbon binaries encrypted?
Admittedly the open source crowd has proven encryption of that style to be a show stopper of no more than 5 minutes usually, but that'd be another reason for delay.
All I want is iTunes compatibility. Sure, I can sync my ipod with Amarok or RythmBox, but I haven't found anything that works well for syncing video and I can't purchase music from the store. The kicker is, I would probably purchase LOTS more music if I had a solid linux port.
This will probably not happen in the near future, though. I think Apple is afraid that a linux port would get reverse-engineered and their DRM would be cracked in a week. But with their apparent success in locking down the iPhone, I find that unlikely.
Those who have telepathy have no need to RTFA.
Linux uses kernel source code taken from Apple OSX anyway, so it should be easy. But this will lead to Linux viruses being passed into Apple machines which Steve Jobs won't be very happy about.
I have the urge to commit my 24" Core 2 Duo iMac to a single Linux operating system, thus giving up the goodness of my beloved Mac OS X.
Why?
It seems sort of silly to deliberately kneecap yourself like this. Generally, you only see this behavior in serious FLOSS zealots. They're the ones not trying to run closed-source Mac OS X applications.
--saint
Why would you want to replace OS/X with Linux? Thats like replacing a shiny new Mercedez-Benz with a rebuilt Chevy.
I was searching for the same thing (I wanted to test a crash Mac users experienced with an cross-platform app, but I don't own a Mac.), but I found nothing usable.
There's "darwinux" (http://lwn.net/Articles/229088/), but this far away from being usable.
You have finally figured out that asses are for shitting out of.
http://www.maceater.com/
I just want to know why you would want to replace OS X with Linux? I understand the FOSS ideals, but you could always run linux in a virtual machine. I've installed Linux on quite a few of my Macs over the years, but since OS X I find that almost all of the linux functionality is sitting right in OS X.
What do you hope to gain by installing Linux as the full-time OS? Please don't flame me, I'd like some logical points, or even a "just because".
Those who know, do not speak. Those who speak, do not know. ~Lao Tzu
I'm looking for a way to convert my Lamborghini Diablo into a lawnmower.
There's no much motivation right now for "Mac Wine" since there isn't such a flood of Mac-only apps that are essential to Linux users.
You're trying to do something stupid here: a Mac is only good as Apple sold it to you. They've went to thoroughly extensive work to ensure it is so, trying to get something production ready with OSX apps under Linux is begging for problems.
You bought a Mac, use OSX (you can dual boot still, or virtualize).
Isn't OSX based off of BSD? Won't most Linux apps run with a little with tweaking to them?
OSX is the reason I stopped using windows with a linux server in the other room.
It's a fair bet the real answer is one or all of those.
I got my Linux laptop at System76.
I will never understand why someone would buy a $2000 iMac and negate the entire reason for purchasing from Apple -- to run Mac OS X. You can run Linux for a lot less money, you know.
... Or is the main issue that you're one of those people who gets the "heebie-jeebies" at the thought of running software that isn't open source? In that case, my advice is to get a life -- it's just software! The world won't end if you run a piece of non-free code!
Honestly though, Mac OS X really isn't that bad -- in fact, I think it's pretty nice, especially if you come from a Linux background. You do realize that you can run pretty much any Linux app (as long as it doesn't do any funky OS-specific things) natively on Mac OS X, right? You could even run a full-fledged Linux installation via Parallels if you so desire.
is your best bet right now. I am not sure if OS X can be properly virtualized, since it seems to check whether you are running it on Apple hardware - of course, if you are going to use an iMac, then you are indeed using Apple hardware, but it doesn't seem so to the OS. You'd need to use a hacked version I guess - oh the irony!
If you asked me, I would advise the contrary: run Linux in a virtual environment under OS X. Less trouble to get it running, no need to use hacked versions, and there is a good possibility that features such as Coherence from Parallels or the equivalent in VMWare Fusion might be available for Linux guests someday.
Where is that guy who'd die defending what I had to say when I need him?
Let's see- you take your unix kernel, build a fully rewritten, GL-optimized X Windows system... solidify your GNUStep libraries until they're fully compatible with cocoa-
Then be certain you're only running systems with SSE3 or above, since all the intel binaries are optimized for that.
Whoops- also gotta build a compatible CoreAudio system.
Oh no, looks like you're now Apple.
If you're using Mac OS X, you're already using a NeXT compatibility layer on top of a streamlined X and a really high end specialized desktop unix. The question is- why are you trying to run linux? You're using a much higher end unix system that supports X11 and has a full BSD layer, with package managers available. Why don't you just run linux apps in OS X?
Making an OS X "compatibility layer" would essentially just require you to create a shoddy set of OS X libraries- something Apple's already done better.
Take advantage of your resources.
Let me repeat this - OS X is a "mac compatibility layer" running on top of a unix kernel already- it's a totally insane waste of time to re-implement it. If you're that interested in making OS X, you should work for Apple.
If OSX is so "beloved" to you, why on earth would you want to commit to using Linux instead? Honestly, at least on beige box PCs you have the excuse that your choices are limited to Windows and Linux, but you have a tightly integrated, beautiful looking and perfectly working operating system which you want to chuck for...some reason. What can't you do on OSX than you can on Linux? If you want to tinker, why not grab Bochs, QEMU or even better Parallels Desktop and run Linux in that?
;)
I understand the appeal of tinkering, that's fine, but this just seems silly. I've flirted with Linux a few times on my old PC, but anyone who came anywhere near my 20" iMac with it would get a swift left hook
By summer it was all gone...now shesmovedon. --
I don't know how difficult it would be to dynamically (or otherwise) translate Mach-O binaries to ELF. The two systems are using different kernels and different kernel architectures, so even at that most basic level, this would be a problem.
I was just thinking about this coming back from lunch. OS X has become the pragmatic choice of many sysadmins simply because it is the best of both worlds: you get a GUI OS on (generally) reliable hardware that will run Microsoft Office (if you must) but also has a full command line interface that will run most Unix tools without any fiddling. Part of OS X's success is wholly due to this, and the Linux/FOSS community has responded by making the Linux front end more Mac-like with Compiz, Beryl and Etoile.
In short, you aren't going to gain anything by running Linux, except some nebulous feeling of self-satisfaction about something or other, and you are going to lose an awful lot. Running Windows on a Mac makes the Baby Jesus cry; running Linux exclusively gives him slight heartburn.
Just run Mac OS X you fucking twit.
I know this is really stating the obvious, but it comes down to this, market share. Windows has a large market share, and therefore has a large amount of developers building applications. There is also a lot of work done on WINE by CodeWeavers and Cedega, these are builds of WINE that are commecially supported for applications and gaming respectively. (Not to take anything away done by others on WINE, but these people are contributors as well)
The real reason that these companies exist, is that there isn't THAT much of a demand for Mac apps on Linux. There is a large demand for Windows apps on Linux because there are so many Windows developers and subsequently applications that run on Windows. That's why we have WINE.
It would be possible I guess to do Carbon and Cocoa on Linux, re-implement the APIs, but for the amount of applications that there are on Mac that aren't on Windows, there isn't much point.
If Apple opensourced Carbon and Cocoa (Not likely) then I guess they would get ported to Linux by someone, but till then, someone isn't going to do this as the amount of developers out there just isn't high enough. There isn't the interest.
Curiosity was framed; ignorance killed the cat. -- Author unknown
...and turn it into something that's not supported.
No really, I want to hear tech support ROTFLTAO when I call to tell them that Photoshop won't save my file.
You guys aren't grasping the FOSSie anti-choice agenda. They are ONLY concerned with ripping off Microsoft, and trying to weaken their market share. Teh Lunix D00dz have zero interest in doing anything which could harm the Apple monopoly, since it's a "Shashdot approved monopoly".
The FOSSies only permit two choices: either you go with teh Lunix and the all-FOSS application lock-in, or you go with OSX and the all-Apple application lock-in. The LAST thing FOSSies want is for people to go with Windows, where true choice exists: you can choose from a huge market of commerical software, you can go with any of tons of FOSS solutions, or any combination thereof.
The GPL is all about destroying choices in the marketplace, and we all know that Apple is a brutal monopoly. The amazing thing, to me, is how Apple managed to get FOSSies to help them in their monopolistic agenda. I don't know what's in it for the FOSSies, but maybe the fact that both groups walk around with a false sense of superiority (and security) is the glue which binds them together.
This isn't something that can happen. There's just not enough demand for it, and there never will be. Why? Because, unlike Windows, Mac OS X is good enough as it is. The only certain benefit of Windows is "lots of applications", so of course trying to merge that benefit into another OS makes sense. The benefit of Mac OS X *is* Mac OS X. You're being silly trying to move a disadvantage (second place in app availability) and move it onto a platform with few advantages or differences.
My Photography - http://ian-x.com
The Deathlings (comic) - http://thedeathlings.com
Seriously, being able to replace parts yourself if nothing new. We even had incremental upgrades on a couple of our beige boxes. Yes, opening the machine up and changing parts around can void your warranty, but why would you expect Apple to make any guarantee about your ability to not screw things up?
Some of my thoughts, in no particular order:
... well, can't think of anything more right now.
- The Officially Sanctioned API (TM) for OS X apps is Cocoa. This is basically an extension of OpenStep. So is GNUStep. GNUStep even aims to implement Cocoa's extensions so as to allow Cocoa apps to be linked with GNUStep. However, for the time being, compatibility is incomplete and only at the source level. You might have some luck compiling GNUStep apps on Cocoa/OSX, but not running compiled Cocoa apps on GNUStep/Linux.
- Some people tried to get Darwin binary compatibiltiy into NetBSD. However, the project is now dead, purportedly due to lack of user interest. This is the only Darwin binary compatibility project I am aware of. What this means is that, at the moment, you can only run Darwin (AKA OS X) executables on Darwin.
- QEMU is a fast and open source emulator that can be used to emulate, among others, x86 PCs, AMD64 PCs, and Power Macs. This should allow you to run OS X as a guest OS. If you use QEMU to emulate an x86 on an x86, or an x86 or AMD64 on AMD64, it should run close to native speed. That is, as far as the CPU is concerned. Other hardware, graphics hardware in particular, will not have native performance.
- I've been a GNU/Linux user for over ten years. I also used Mac OS X for a couple of years. Eventually, I got frustrated with it and installed Linux on my iBook. I've never looked back. Of course, I am primarily a GNU/Linux and BSD user, which causes the little (sometimes significant) oddities of OS X to frustrate me. If you're primarily an OS X user, this will likely work the other way around.
- GNU/Linux does have some definite advantages over OS X. Just throwing down a few: more customizability, easier maintenance (given a decent package manager, such as apt-get), better compatibility with open-source software, and several possible advantages that depend on your choices: lower memory usage, lower latency, lower disk usage.
- Given that you have a Mac, OS X also has some advantages over GNU/Linux. Among others: it supports your hardware (what you get from Apple, anyway; Linux has the edge when it comes to third-party hardware), companies are more likely to support it (think software, hardware, and manuals), and
- As for why there is no compatibility layer yet: probably just because it's a monumental task. Think about how old Wine is and how well it works. Then think about Apple's yearly OS upgrades. Then consider that Apple has also moved architectures (PPC -> x86) since the introduction of OS X, and probably will again (x86 -> AMD64 - they ship that hardware, but the OS is still at least mostly x86). Then look at GNUStep and the instructions for building it (you're allowed to shiver at this point). A Mac OS X compatibility layer won't happen anytime soon.
Please correct me if I got my facts wrong.
Because it's a terrible, terrible idea. The Mac software stack is *large*, with API compatibility going back 20 years. 3 full-size APIs are supported (bsd, carbon, and cocoa), and they're all constantly being improved by apple. Any such project, while also being an absurd waste of time, could never catch up. Not to mention all the GPU stuff they're doing these days, integrated into the window server (Quartz Extreme, CoreAnimation, etc.). Feel like extending X11 to get decent performance? I don't, and neither does anyone else.
You've already gone past the hurdle that keeps most from using Linux: buying a Mac. If you want all the linux software, just download port from http://www.macports.org/ and let it download prebuilt binaries of traditionally linux applications for your mac. The website is crap but the tool's good and the repository is active and well maintained. They run just like the linux side, only you don't have to start hating your life by using Linux as your desktop OS. Switching back from OS X to Linux is about as painful as shoving a screwdriver in your eye. There's no point.
Some corrections:
* Parallels/VMWare aren't emulating anything. They're using newish x86 instructions to let the system run 2 OS's simultaneously
* Ever consider recompiling? I mean, it's called open source for a reason.
Also, if you're gonna tinker, consider Solaris. It's free and Parallels supports it with nice X11 extensions for mouse sharing, etc. Also, it's BrandZ lets you run Linux binaries.
Care about electronic freedom? Consider donating to the EFF!
That probably could have been stated better! I believe the question is what is each good for? If free is a goal, then why not run Linux as an OS? But, why on Apple hardware, not that the cost is bad nowadays compared with the "general" hardware quality and design if that's your thing.
If you need OS X applications, why not run Linux through Parallels or some VM? If Linux is your primary OS, use BootCamp to allow access to OS X. These approaches make sense depending upon your needs. Want access to everything at the same time -- Parallels. Want to run everything within Linux, and only need to access OS X once in a while -- BootCamp. Want to run open applications -- us X11. This doesn't seem any more complicated than using Windows and OS X applications. But if performance is an issue, why are you using a consumer machine?
Aside from workflow and high performance issues, it has never been so easy to work across platforms, and frankly I feel that Apple has done a pretty decent job of developing the right resources.
Outreach 48e
What do you hope to gain by installing Linux as the full-time OS? Please don't flame me, I'd like some logical points, or even a "just because". Relax... just be glad that he didn't ask for advice on how to replace OS X on his Mac with Windows Vista. If he had done that your computer would have melted the moment you loaded this article from the combined heat of thousands of flamewars and outraged comments. But all fun aside... What is wrong with "just because" as a reason to install Linux on a Mac? As has been pointed out by other people in previous discussions on this forum: Nerds do not need a reason to do nerdy things.. I applaud his nerdyness and urge him to actively avoid trying to justify what he plans to do, it would completely take the fun out of doing it.
Only to idiots, are orders laws.
-- Henning von Tresckow
A better bet would be virtualization, given the realities of market share and the amount of time such a compatibility effort would take for relatively poor results. The Mac platform is also such a moving target that any such layer would be outdated by the time it was even close to working.
Unfortunately, Apple don't want to you run their precious OS in a virtual container. They want to force you to do everything else in a virtual container instead. They won't sell you a license to their OS for user in a virtual environment, and they won't permit you to run a license you own in a virtual environment even on their own hardware.* They are proving reasonably successful at using technical measures to enforce this. As such, you will have to run anything else you want to use under VMWare/Parallels, dual boot, or endure Apple's rather unpleasant X11 support.
* I find this highly amusing - in a "kill them all" kind of way - since they like to complain so much about MS's anti-virtualization terms. Kettle? Pot? . IMO all such terms are nothing short of stupid, irrespective of the vendor.
Escape the proprietary trap, no matter how lick-able!
Let's see -
Classic -> Carbon
Carbon -> Mach-O
PPC -> Intel/Universal
Aren't we due for a new architecture/API soon?
It's hard enough keeping up with porting existing applications.
He has also expressed what has frustrated many, that Apple's love of closed formats can result in data-loss and/or data not being readable in future. Naturally he can run FOSS MTA's, clients and mailbox formats on OS/X but his point is that the Linux (as a platform) is concerned with open-formats right from the get-go without any fight, tweaking, hackery or worry about the OS itself dropping application support in future. Transparency and decentralisation actually come to be things you trust over time. For this reason if one cares for the longevity of their data - in the sense of future readability - Linux is the wiser choice over OS/X. In 8 years with Linux I haven't had to worry at all about the things he (and many others) complain about above even once.
There is great comfort to be found in the Linux community's commitment to/love of open-standards and transparency and this, as I understand it, is a very valid reason to justify a switch.
Why the fuck do you want to run linux instead of mac os? That's just stupid. Linux as a desktop is ridiculous. It's over. Everybody knows it. I mean, I can understand not wanting to use windows, but if you have a mac, why not run mac os? Honestly, you have to much time on your hands. Why not use mac os so you can, oh i dunno, actually be productive?
I've been upgraded to "bad"!
I put Ubuntu on my macbook recently and was seriously impressed. Really looks up to scratch for the desktop. First off, pretty much everything worked without too much googling. Picked up the graphics, sound, wireless, etc., no problem. I read I can get the webcam working quite easily too. The only thing I didn't try was the dual screen/extended desktop. The compiz stuff worked as soon as I turned it on (I'd miss exposé otherwise). I have a usb tv-receiver that won't work but I expected that since it's built for Mac. It was the responsiveness that really got me though, Ubuntu was far snappier than OSX (and I've 2GB of memory) - Mac apps like to think about things for a while sometimes (and they're not using the CPU to think, whatever the hell they're doing).
There are a couple of Mac apps I'd miss. Number one is Omnigraffle. Really handy for making diagrams. There's nothing close on linux as far as I can see (although I've just tried the OpenOffice Draw program and there's potential there). Second one is Keynote. OSX also has PDF built in as a native format, which is really nice, and the drag and drop support is unparalleled.
I use Linux in a virtual machine on Mac for college. It's about a 2GB code base (or something ridiculous) so I won't be trying to recompile for mac any time soon. It works, but native would be much nicer.
I think the Apple hardware is pretty decent. They cram a lot of good stuff into a small space. I've been hard pressed to get all the same features in a Dell for the same price last time I tried (and it's usually twice the size/weight).
So I think Linux on Mac makes sense for some of us.
Whoever modded that as "troll" has no sense of humour - at least, *I* read it as a joke.
> I have the urge to commit my 24" Core 2 Duo iMac to a single Linux operating system
... well I'm trying to be fair here but the only word I can find for it is 'stupid'. It's stupid.
My advise is go lay down until the 'urge' goes away. Unless you've got some compelling reason to take a shiny 24" iMac and turn it into a piece of crap by removing OS X. Which I doubt. As a web developer I can understand having Linux around for this and that but to replace OS X with Linux lock, stock, and barrel is generally just
I mean, don't you have work to do? Why spend time on this? It's weird.
You're supposed to drink it. A couple of shots of Troll-be-gone and suddenly everyone you meet is +5 insightful.
Clear, Dark Skies
I thought about getting the 17" MacBook Pro to dualboot MacOSX and Linux, and eventually go the way this story's poster is going. But I'm worried that Linux (Ubuntu) doesn't have all the drivers for every bit of the MacBook's HW.
And, possibly most important, what about that one-button mouse? What do you press to get right-click menus and features? How do you do left+right clicking? Is this even a tiny pain in the ass (or wrist)? What else is subtly, but importantly, different between that MacBook Pro, and, say, the similiarly priced HP 17" notebooks, other than running MacOSX SW?
--
make install -not war
Here's how you do it:
Unplug computer.
Put computer back in box it was shipped in.
Return computer to Apple.
Go back to tiddly-winks.
>>>>> I realize your request is for "intel" MacBooks... but for those of you with PPCs or Developers...
p /Features doesn't mention anything remotely intel.
;) ).
I'm pretty sure Mac On Linux (MOL) won't work for intel machines, but if it did it would more or less do what you want. A short search shows it probably doesn't work, maybe someone should look at porting it to intel hardware (if its doable).
The feature list for processors http://mac-on-linux.sourceforge.net/wiki/index.ph
I think for now the VMWare (answer already given by other posters below) is as good as its going to get. That is simply the problem with closed source stuff.
For those of you reading this post looking for solutions for PPCs though, MOL is probably the way to go.
Mac On Linux supports all of the PPC architectures well, and I've got linux and Mac OS X co-existing nicely
by booting into Ubuntu linux (6.10) and then running Mac On Linux with my OS X install.
Effectively I have Mac OS X in a window on my second workbench and can switch from one OS to the other easily.
I use both linux and mac apps depending which one I like better.
Having a 12" PPC with NVidia closed source crap, I cant run the os in a separate screen yet but with SDL drivers and a screen sized window I get pretty close.
The only thing that doesn't work well in Mac OS X for me right now is sound, (but the MOL team is working on it).
Network etc. is all available (with some configuration, through a TUN device), and a Samba drive lets me access my linux drives from inside MAC OS X (running in MOL).
The only reason I don't boot only into linux is that Sleep, and Video out don't work courtesy of NVIDIA closed source crap... (Admittedly they make nice graphics cards, but I will be choosing my set of hardware based on how well they support open source, which likely means it likely won't be an NVIDIA card, given my current experiences, grumble, grumble
MOL can be found here: http://mac-on-linux.sourceforge.net/.
My personal thanks to the MOL team.
(Go ahead mod me off topic if you want, but there are still many users reading about this that have PowerPCs)
----- "Profanity is the one language that all programmers understand."
Correct me if I'm wrong here, but you stated you have a core duo mac. That means you aren't running on a PPC to begin with and inherently have no Altivec either yet your Mac OS X apps seem to run fine there don't they?
I'm not going to pretend to know the ins and outs of macs or OS X for that matter, I've been a x86 (Dos->XP) Windows and Linux user my whole life. But I did enough embedded programming and education on the PPC architecture and x86 to tell you that much.
My guess is to deal with it in a likely similar way to those of us dealing with multiple linux distro boots, combinations of windows and linux, and everything else.
I've never really dabbled with WINE myself, so I can't comment on the part about a "M(ac)INE" but what about virtualization. One idea I got from a colleague is to use the vmware converter to convert your actual partitions into vmware images that use actual hard drive partitions as their 'virtual hard disk'. In this way you could boot into one and load any other OS partition on your machine as a VM. granted there are some performance hits, and i know xgl/aiglx don't run in VM's and I could imagine there are some similar eye candy things that won't work from OS X, but that could certainly be one solution.
Notably I do agree that I wish the VM's didnt have to be realized as such a container in the gui's in the sense that it is all contained within one window. It gets chaotic when you have 4 linux virtual desktops and then on one of them have a linux VM with its own set of additional VD's.
"Jazz isn't dead, it just smells funny" ~Frank Zappa
EdelFactor
Install Virtualbox, http://www.virtualbox.org/wiki/Downloads on OSX and run Linux therein
You cannot do what you are trying to do... i.e. you cannot run Linux and port the OS X applications to Linux.
However, you can increase your RAM (2GB+) and run either VMWare Fusion or Parallels virtual machine software. Both have been getting a great deal of updates and improvements. They both offer full screen mode, etc.
Run Linux in a Virtual Machine and you can do everything you want to do at very near native speed. Run WinXP or Vista even. Run FreeBSD, Solaris x86, etc. All in virtual machines.
You just need enough RAM to run multiple operating systems at the same time. Boot and run Mac OS X and load the other operating systems into virtual machines when you need them. Make sure you have the latest Mac firmware and all the latest Mac OS X patches.
Alternatively, you can use BootCamp (free beta download from Apple) to repartition the disk non-destructively and dual boot Linux and Mac OS X if you really want to.
You "might" be able to load OS X into a virtual machine running under Linux but it will likely not work as Mac OS X checks for the Mac hardware at boot. It won't see the hardware completely inside a virtual machine. There have been some hacks to make it work, but they are dependent on Leopard betas that will expire.
Mac OS X has a subsystem based on BSD, and it uses it for some system tasks and to present a POSIX runtime environment. It's only a very small part of the system and rather a second citizen. Let's not even talk about their X11 support, which is pretty unpleasant to use for anything but the basics.
Only a Mac zealot is likely to tell you it's just a "better unix than unix". Real unix users tend to cry when trying to use it, especially since half the man pages are outdated and completely wrong because Apple changed how everything works but didn't document it.
While many times I do stuff just because I can (installing linux where ever for example), I kind of question why you would really do that.
Do not get me wrong, I have a Linux laptop, a Macbook, an XP box, a linux box, an asterisk linux server, and a minimac, and I have Solaris and BSD in Vmware players for testing....
But I got a mac for the nice hardware and the unix it is tunning with a kickass GUI. I run OSX and X apps on that machine, and leave the Linux stuff for linux, and the windows stuff for windows.
I mean if you want to run win apps on a mac, you have parallels, dual boot, and Vmware. You can run linux apps (Well X apps, BSD apps, anything that compiles).
I have no answer for your question, because for me it does not make sense at all. Why not leave the mac alone and get some minipc and run Linux on it?
Belongs to the truth: I use linux as my main desktop for 10 years at least (KDE, Gnome, tried E, Wmaker and many more) and recently I came to the point of wanting to get something that works perfectly as a laptop OS and gui.... Since I found that OSX on a mac is a perfect alternative, I am really shocked seeing someone who wants to put linux on a mac, then tries to find a way to run mac apps on it.
But then again, I am just wondering, and you probably know why it makes sense for you, so do not take my curiosity in a bad way.
Keep OS X and just run linux in VMWare Fusion. OS X has its perks... if Apple releases firmware updates, you'll get them. If you're running linux, you won't.
Like Ebaums World? You'll love Shizzville
Right, "Lamborghini Diablo"... is this the 80s? There have been several variations to the Murcielago and Gallardo, and there you go joking about Diablo. LOL.
Between MacPorts and Fink, i could potentially run any Linux app I would use under x and be fine. I can run Kde or Xfce and have them running in quartz wm / Xfree86 or X.org right next to aqua. Now that they've fixed some of the HFS issues with the command line apps, the whole thing runns smoothly. You're millage may vary.
I've been running Ubuntu Linux and various versions of Windows for some time under Parallels Desktop for Mac. It is not "inefficient".
Was there some real thought into making this submission? You can run nearly everything that linux runs on OSX. The reverse is not true. If you love OSX so much, why would you install Linux? I'm a full-time linux user (home & work), and I think that's retarded.
Why not have your ipod/linux layer cake and eat it too?
http://www.rockbox.org/
You get all the ipod groupthink on a sound OS.
http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
you must be referring to 120 proof alcohol
-------
Incite and flee.
I acknowledge that the poster might have extenuating circumstances, but in the general case to run Linux on a Mac just doesn't make sense. When you buy a Mac you are paying for the hardware + OS development + huge advertising budget + 38% profit margin (based on their most recent quarterly results). If you want to run Linux you should just go out and buy a PC - the margins are additional costs are very small in comparison.
Look at this: http://www.uwsg.iu.edu/hypermail/linux/kernel/0612 .1/1219.html
This gives Mach-O file system support for linux and the xnu syscall support. Once this is finished it will enable you to execute mac os x programs on linux (but you need to provide a lot of stuff, like the complete libraries, dynamic linker and so on. But in theory it should work).
But be warned: AFAIK some of the nice mac os x apps are encrypted.
I bought an iMac, used OSX for three months, and then went back to Ubuntu. I only use OSX to watch TV with my OSX-only Elgato antenna which I got for free with the iMac.
First, I don't care that there are cheaper systems out there that run linux (and may even have better hardware support). I wanted an iMac, and there it is.
Second, I didn't like OSX that much. It looks nice, but it can be very counterintuitive to use. You can also feel that you only get what you pay for: quicktime movies don't play fullscreen, you get demo's for programmes instead of the full programmes, I ended up watching music videos that had watermarks in them to show that I made them with a demo verion of the program (flip4mac or something?). Seeing advertisements of how revolutionary 'Spaces' is in the next version of OSX didn't help either.
Third, I like Ubuntu a lot. I started using it 2,5 years ago on my Inspiron, and the OS suits me that much that I don't ever feel hindered to get things done.
Of course, I could be using virtualisation software; but why would I do that if I only use Ubuntu? Did I tell you that even the (proprietary I guess) Citrix ICA client that I use to work from home works better under Ubuntu than under OSX?
Now for the negative side: my iSight camera doesn't really work well at the moment (under Ubuntu Gutsy 7.10).
I've written some proof of concept code that lets me run universal binaries (with x86 code) on my pentium-m linux laptop ... But as mentionned this is limited to the libraries the application use. I can run console app without problem, or even opengl application (only linked to the gl lib), or SDL apps, or X apps. But no cocoa or such ...
... are directly remapped to the equivalent linux library with dlopen). Finally create a correct stack and call environement and "jump" to the entry point ...
The basic idea is just to implement a loaded for the MachO binary format, just putting all the segements at the right place. Then, just relink all references (with some fixups). To lookup symbols you can look them up in local library (so that all gl calls, X calls, posix call
I'll take the rebuilt Chevy, please.
I've been using Apple computers for about three years now, and I can definitely see why someone would want to transition out of Apple into something else. I bought my iBook because I needed a laptop and I thought it was a good "bang for the buck" computer (with a student discount I think it was). I grew to like OS X a lot, I bought apps that I liked and I've been very happy with the computer.
But at this point it is starting to get a little long in the tooth, and I'd like to buy another laptop, but I don't like the laptops that Apple happens to be selling right now. MacBook Pros are a little too expensive and a little too big for me, MacBooks are little underpowered (especially in the graphics dept). I can certainly see the appeal of moving to a platform with more hardware choices, but not having to move over sums of data that I've put into platform dependent pieces of software and not having to give up apps that are OS X only that I like. I'll probably just stick it out at this point and wait until Apple starts selling something that I want. But having a WINE equivalent for OS X would allow much greater freedom in hardware configuration.
The reason a project hasn't started is for three reasons. 1. (primarily) People don't have a need to run Mac apps on Linux. Most of the big commercial apps run on windows too(Mathematica, Quark XPress, Microsoft Office, Adobe Master Collection etc.). 2. The few big apps that are just for Mac OSX are heavily tied to the hardware(e.x. Final Cut Pro uses Core Video, Logic uses Core Audio, most shareware apps use Cocoa). When you talk about making a version of WINE to run Mac OSX apps, you aren't just talking about implementing the basic API. You're talking about reprogramming GPUs to run Core Image/Video. At a time when open source 3d drivers bearly exist, how can you expect anyone to reprogram GPUs to implement a reverse engineered API? 3. Because people are happy with Mac OSX. I know this sounds like a biased statement, but think about it. Mac OSX, from a user standpoint(yes, I know behind the scenes they are radically different, spare me the lecture.) is very similar to Linux. It has the same directory structure, a free x11 client, and can run most Linux software with minimal tweaking(e.x. Fink). Simply put, in my opinion, Mac OSX is Linux + a nice GUI. It provides all of the good underlying stability of a *nix system, with the ease of use which Linux horribly lacks through a very nicely designed GUI. So, if you had a Mac, and had the option of either running Linux, with a fairly premature GUI(as compared to Mac OSX), and which would prohibit you from running Mac apps, and the option of running Mac, which would allow you to run most(if not all) of your Linux apps, Mac apps, and have a nice GUI, which would you choose? Simple: The Mac OS. In short the answer is that because the project wouldn't have a lot of demand, and would entail very very very hard work, it's simply not worth anyone's time to create a WINE for Mac OSX.
What do you gain by running Mac Apps on Linux?
About the obnly thing I can think of is with Linux you can run all of the free open source software that is written for Linux but doesn't all most all of this run under Mac OS X? What can Linux do that Mac OS X can't?
The claim that emulation is not efficient may be true but VMware is not emulation. The code runs mostly native under VMware. The problem is that to run two OSes at once you need a lot of memory.
I've got a couple Linux systems and two Macs I use them both at work and at home and for the most part they are interchangeable. The Mac can run most anything the Linux systems can but iLife, Photoshop, Final Cut and iTunes don't run under Linux.
I'd go with Macs all round except that Apple's hardware
offerings are quite limited.
I agree, what is the purpose here? The first thing I thought was, "does he know he can run the vast majority of Linux software natively under OS X?" That's the beauty of tools like fink and macports. If you find something you want to use, "sudo port install foo".
Even X Windows apps compile, install, and run fine.
The whole reason I made the switch to OS X (from linux) was that I had everything I wanted on the Unix side via Darwin, plus a commercial desktop with commercial app availability.
I'm not sure I'll ever understand questions like this.
-nedrow
* As is generally the case, my opinions do not reflect those of my employer.
Isn't it better for open source developers to spend their time making new and better open source applications? For example, Gimp is a wonderful tool and I'm glad the developers wrote it instead of looking for some hack way of making Photoshop run on Linux.
If you still need the OS X apps, look into making a dual boot system or get your hands on Vmware.
If you have some software in mind that is Mac-only that you wish to run on Linux that could be a motivator for creating an OSX layer ontop of Linux (might be easier to do it on FreeBSD really).
Once you sort out Mach binaries, and support Mach system calls, then put together the Darwin mach services you need. You could probably begin to emulate the platform from the ground up. Or you could just go for the library level and just try to catch ObjC/C calls and turn them into X11 straight away. And deal with few if any mach messages or system calls directly.
“Common sense is not so common.” — Voltaire
Does such a project exist yet? If not, why not?
If this is so important to you, go to sourceforge and start implementing what you want. One thing I hate about the opensource community. there are about 2% actually contributing and 98% sitting on the sideline wanting something.
No, there's no way to do it, I can tell you that without even googling it, because it's such a stupid idea that no one with the ability to write such an emulator would ever do it. Wine exists to replace the worst part of the windows experience - the OS, while keeping the best part (compatible apps). You're paying extra for OS X (the nice thing about the mac experience) and then throwing it away. For what? To run Mac apps, which aren't compatible with what the rest of the world uses in the first place. Waste of money - just buy some generic hardware if you're going to run linux, and run wine if Linux apps aren't enough.
Back in the day (Q4 2000) I proposed having an environment for OS X apps to on LinuxPPC. (At the time, Macs were PowerPC-based.) Reviewing the plans for OS X, we saw two major components would run atop the microkernel, the native OS X environment, "Blue Box", and a Mac OS 9.x compatibility engine called "Yellow Box." If this was possible, why not do something similar for LinuxPPC?
/dev/null) is more or less unwritten history.
So one night, I diagrammed "Green Box" on a bar napkin. This would be the layer atop the Linux kernel (we were at 2.2, I think) that would fool OS X into thinking it was in charge of the Mac. Hypothetically, this would work, as it was already running on the microkernel and had an innate flexibility -- at least on top of the microkernel. (Insert rants decrying microkernel's performance hit, superiority of monolithic builds, etc.)
As I was more of an Ideas Man, community builder, media whore, and recovering from that car crash, I showed and discussed the napkin with jcarr and a few of our programmers.
Because this was the last project I proposed in the months before I resigned, it never went anywhere despite having very high level contacts at Apple. The rest (mv linuxppcinc
-- haaz.
I paid the going retail price for a Windows screen reader and got a free Unix computer!
Why not just get parallels and run your linux install with it in coherence? Problem solved?
space is pretty cool.
If WINdows Emulator = Wine, would that make OS X Emulator = OSXE (read: oh, sexy)?
--Coming up with something clever... please wait...
AFAICT it can stream other people's shared iTunes Libraries over a network...
It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
Like subject says, most of these guys are full of crap. I've run OSX and Ubuntu 7.04 on the same machine, and Ubuntu is FAR faster, even with beryl turned on (giving it jiggly windows, semi-transparent, etc. OSX-style.) It'll run with less RAM too. If I got a Mac I would certainly run Linux on it. It's not pointless, and it's not giving up a Mercedes for a rebuilt Chevy.. if an OSX user hasn't tried it, Ubuntu is NICE, and can be tried out off a LiveCD (although, since it's a CD, you won't see the full speed of it that way.)
As for why there isn't an OSX emulator:
Complication.
Carbon, Cocoa, etc. DON'T all run on a BSD kernel. There's the Mach microkernel, with a BSD personality sitting on top of that. But, Carbon & Cocoa to more or less extent interact with both the Mach and BSD layers.. It's relatively easy to map BSD system calls to equivalent Linux ones with very low overhead. But Mach? It doesn't really map well without a thick shim of some type. Additionally, Linux doesn't support Mach-O file format, and this may be complicated.
Cocoa is Nextstep-like, and there's a (nearly?) full emulation of it around.. designed as a Nextstep simulation, but has kept up with the Cocoa developments. Porting Cocoa apps from source is apparently not too bad. But, binaries? I don't know.
Carbon is OS9-based, and I don't know of any OS9 emulator around to even start working on a runtime system off of.. there's emulators that will emulate an entire PowerPC or Mac68k mac and run OS9 *ON* it, but the only OS9-like system I ever even heard of for porting purposes, let alone native execution, was Executor by ARDI.. which is commercial and closed source.
Then, there's "classic" apps -- uncommon, but this would involve a full OS9 simulation, and be an added complication.
Then there's the "OTHER" apps. Java, no big deal -- there's JVMs for Linux. BSD on X, this is the easy case and may already work.. but if the app tries to check permissions too closely, it may not see what it wants -- Macs use NetINFO (inherited from NextSTEP) and basically nobody else does -- they use PAM or a straight-up password file.
Based on what I've read, I think almost all of this would have to be working before much above a "hello world" app would start up. It's a major undertaking; Apple's tendency to be lawyer-happy is probably slowing it down too.
Do it the other way around. Keep OS X as your host operating system, and then run Linux in a virtual machine. There are several virtual solutions out there, some free, some not.
I use Parallels, which can (and has, in my use) host Solaris, Linux, FreeBSD, and yes, even Windows.
You *really* should revise your thoughts, specially if you want to blend in here at slashdot.
b oy-credo-kantor-com
Begin with the credo:
http://www.thinkmac.net/web-links/apple/apple-fan
Does such a project exist yet? If not, why not?
When you take the road less traveled,
don't complain about being lonely.
If J.K.R wrote Windows: Puteulanus fenestra mortalis!
I think this would be great. Not because I want to run OSX software on Linux, but because I want an open-source thing like this that could be ported elsewhere. I'm an Amiga fan. AmigaOS currently runs on PowerPC. I'd love to be able to run some of that PowerPC MacOSX software out there on AmigaOS. So an open-sourced Mac API wrapper for Linux comparable to Wine I think would be a cool thing.
:)
Currently I run my OSX software on my iBook using OSX.I'm still a little bit sane.
To the original poster - Why not start this 'project' your self? If you are deftly switching operating systems , you are obviously a computer 'expert' doing important works. The fact that your post qualifies as 'news' on Slashdot is evidence that you continue to innovate and push mankind forward with your brilliant ideas that no one would dare even dream of before you opened our eyes. I find it hard to believe that you can not code something like this in your own free-time. Programming is so easy and you can get programmers to work cheap from India to help. Perhaps they will have to write it in Visual Basic, but who cares if it works 'pretty good' anyway? Best of luck and its a pleasure to see that Slashdot is keeping the bar so high.
The question I must ask is - WHY?
The effort to run Linux programs on OS X is minuscule, while the effort to run OS X on Linux would be a major undertaking with few (if any) real returns on the investment.
I use OS X at home and Linux at work, and have no problems bringing my work home..
The only reason that I could see for a project like this would be to run OS X programs on non-apple hardware. I wouldn't care much for this, since (1) there isn't really that many "must have" applications that is OS-X only (and not part of the OS itself) and (2) why create tension with Apple if there really nothing much to gain.
These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
You're telling me there are apps for Mac?!
Other than, a huh! it works! moment- what practical value would that have? To free you from buying Apple hardware to execute closed-source run mac apps?
Anyone seen my low uid? last seen 10 years ago while panning the #@$# out of Taco's 'web based discussion system'
Thanks for the response. My iMac uses an NVIDIA GeForce 7600 GT. I need audio to work, and I need the interal iSight camera to work as well. I have seen a few HOWTOs on getting Ubuntu working on a MacBook. Sleep was brought up in a few places as being spotty. There was also some talk about Airport support and Airport Extreme support having issues as well.
My theory so far... if a MacBook can run Linux fine albiet with some hiccups, then an new gen iMac can as well. And sure enough, there are pictures here.
But yes, this is the nature of depending on proprietary software for a closed system. Honestly though, this wasn't any different from the headaches I had trying to get Linux on my old HP PC and supporting all the freaking DirectX and WDM-based video equipment I had. Can someone recommend a current generation personal computer that was *made* just for Linux, PPC preferably, and that isn't totally spartan. ;-)
Back in 'the day' when Apple had just bought NeXT, there were people who were running (Some) solaris X86 binaries under FreeBSD by the same set of hooks used to run GNU/Linux binaries. Another gent did the same with NeXT and posted some links.
I was able to get ls and grep from the developer alpha of MacOSX (RedBox) to work under FreeBSD. But Apple killed redbox (and the Newton) before I could care enough to actually spend "real time" into making RedBox to work on FreeBSD.
If you were going to try this, FreeBSD on a Mac + the GNU/Linux hooks would be a good starting point.
I would like to run this on a tablet or a PDA, but Apple don't make such devices
Apple doesn't make them, but they're available: ModBook http://eshop.macsales.com/shop/ModBook
That that is is that that that that is not is not.
OK, point by point:
1. Portability
What, specifically, is gained by having a choice of hardware? You mentioned graphics cards. What, specifically, is gained by having a choice of graphics cards? I mean it! For 99.9998% if the population Apple offers hardware sufficient to their needs. Including graphics cards.
2. Flexibility
You admit that this is something that '90%' (I like my 99.9998% better) of folks don't care about, which is good because it reveals that you have at least some perspective. But you talk about having to recompile the kernel to suit your "needs". What "needs" are these? I'm not talking about "wants" or "would be cools", I'm talking about absolute, couldn't get it done any other way "needs". And, assuming you've got real "needs", do they balance against the time and headaches required to achieve them?
3. Security
You admit OS X is pretty good. Again, there's hope for you. It would be wrong to suggest that Apple's response to security has been 'negative' (although sometimes it's rather 'quiet') but the proof of the pudding is in the numbers. Which system experiences the fewest real, active and exploited security issues? OS X to be sure. (Although neither is the train wreck that is Windows.)
4. Software Ecosystem
You are correct that there is a staggering amount of 'choice' when it comes to Linux software. I can choose between any number of poorly-designed, inconsistent, and inadequately tested Linux apps. Particularly editors. (And they are all so EASY to install!!!) OS X, by contrast, offers a very good selection of well-designed, consistent, usable applications suitable, again, for 99.9998% of all user's needs.
5. Usability
You said "I know a lot of people disagree with this" and you're right. A lot of people do. For good reason. One good way to measure usability is the "grandma test". Which system do you think grandma is going to have an easier time with? Enough said.
I couldn't help but notice the lack of the word "Dependability" on your list. Which system is most likely to "just work"? OS X, of course.
> Isn't freedom of choice a great feeling?
I wish people's ideology wouldn't get mixed up with reality. So many Linux types get so hung up on the grand glorious vision of Linux that they fail to acknowledge it's significant tangible shortcomings.
Mac OS X exists to run Mac apps. There is a philosophy behind it that says build a capability into the machine, such as a multichannel pro audio system, and then that capability belongs to the user, and developers can exploit it on behalf of the user. If you try to run Mac OS X apps on another system you will be limited at best to those that are very similar to the ones the other system already has. So no problem running Firefox, but how are you going to run Photoshop without color management? There are all these system tools that just aren't there on Linux yet.
What's worse is that with virtualization being so mature you can run Linux or Windows on the Mac Desktop anyway. Takes an hour to set up and costs $50 and everything works.
Or maybe you're a Linux fanboy who doesn't use the computer as a tool but more like a T-shirt with a gnu on it. In that case, never mind.
If 99% of what you're doing in OS X is a pain in the ass, that's plenty of justification to switch to Linux.
This is not insightful. In everything from publishing the OpenStep standard to creating and maintaining the Objective-C interface for gcc, Apple has acted in good faith, relatively speaking. The charge that Apple is threatening in anyway to stop this emulator from happening is a ridiculous accusation. Please don't be such a frickin' idiot.
I am not sure, but in my opinion the reason is:
Maybe some more reasons exists...
Yet another problem for the person with all the time in the world to waste.
And there really isn't a better option for a package manager on OS X.
I suppose you could run some sort of Gentoo in a chroot or something, but who knows how long it would last...
"Optimized drivers" my ass. Linux frequently has drivers that are as good or better than Windows, and I imagine the same is true for Linux vs OS X.
But really... If you only need those one or two apps on OS X, why not run a "just works" Linux (like Ubuntu, Kubuntu) and virtualize OS X?
Don't thank God, thank a doctor!
Other than Final Cut Pro (for which I can use Premiere on a PC instead) are there really any must-have Mac exclusives that don't run on Windows?
The Adobe Creative Suite can be run via Wine currently as far as I know.
http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
Spend $100 and buy a cheap intel box and run it alongside your Mac for Linux. Then you won't have to bitch and moan about the Mac's apparent instabilities. Or dual boot on your Mac, one for Linux, the other for Mac. Or start writing a Cocoa/Carbon/Mach emulator yourself, isn't that the FOSS way if you can't find one?
Or even better, just sell the Mac, use the huge amounts of money that you get from the sale of such an expensive machine to buy the bestest Linux box you can buy (which will be approx $10000 cheaper than any Mac and 50x faster), and then rely on FOSS software only since it's obviously so much better than native Mac apps.
I'm so sick of these STUPID arguments. WHY hasn't someone done , just because I need it now? Oh and btw. it has to be free, with no licensing or DRM, and I can't create it myself because I need it now, and it can't be from Apple or M$ because they're evil... ad nauseum.
Blah blah blah.
Ironically one of the reasons I bought an apple is because the 12" PPC offered the most compact powerful machine that was well built that I could find at the time (plus it looked cool).
I actually searched about linux compatibility before buying, but Apple switched the graphics card to NVIDIA for the 12" and I didn't notice till later.. Then I thought ok I'll get the NVIDIA close source builds like I did for my PCs... then found out PPC builds didn't exist.
Apparently Sleep and video behaviour is better with the ATI cards with people getting twin head displays working
with the 15" G4s, and iBooks with ATI cards.
Network support is there including wireless (BCM4300 = Airport Extreme), even WEP and WPA.
Much of it worked straight off with the 6.10 ubuntu install (although I'd install 6.06 now since ubuntu discontinued PPC support and 6.06 provides long term support).
I figure if my PPC lasts me another 1-2 yrs, then the MacBook + Linux issues will be worked out... or Dell will have something...
I'm guessing Isight will be an issue... not sure. I know that getting other cameras working with iChat was a disaster...
----- "Profanity is the one language that all programmers understand."
I the one that has been pushing the Darwin binary compatibility project for NetBSD. This is about emulating Darwin system calls, and hence it happens at the kernel/userland boundary. We basically present to Darwin processes the system call behaviors they see on the real Darwin.
./ headlines at least once.
More on how it happens can be readen in a paper presented at EuroBSDCon 2005. ONLAMP also interviewed me about it. I beleive the project made the
Now, the project status: it is dead, because nobody has interest in it. Users got excited about the idea of running Darwin apps on NetBSD, but that excitement did not push them into testing the thing.
When I gave up, we had a fairly good support for running command-line MacOS X.2 binaries on PowerPC. The JVM would have been likely to work, for instance. I asked if people could help testing that, but got no feedback.
The project could be resurected some day, if people interest rise again. The roadmap is straightforward: support x86 Darwin and work out a solution for Aqua application to display things. There might also have been kernel API change to accomodate.
About porting this work to Linux: This is kernel developement, so I guess there would be a huge effort of rewriting things to accomodate the Linux kernel internals.
I *did* mention that I've been using Linux and FreeBSD for a while now, right? So the girlfriend topic really doesn't come up much... :-p
Why swap one form of UNIX for another? What sense is there in this? BSD is probably superior to Linux and that is why they choice it in the first place.
Try Lina (openlina.com) or crossover.
Keep your mac. Run X windows on it. Have another machine running linux accessable via the network and run those things you want from linux on the macs display (even a window manager if you want). Doing things the other way around is possible with things like VNC but painfully slow for daily use.
There are few apps you can run natively on Linux and MacOSX, one great example is Pixel - http://www.kanzelsberger.com/
Find out how to do it here.
Looks like a PITA, but a possible one if you really know what you're doing.
Tech Public Policy stuff
How about, how to run linux apps on Mac? I happen to like Kmail a lot better than the default Mac mail. I got a Intel Mac laptop because I need to be able to dual boot Windows to run certain DSP programming apps (codecomposer TMS320F28xx) but I need stuff like wireless working, and a reasonably secure platform, when I'm out at a client site. Figured I could have a more reliable dual boot laptop with a Mac than Windows+Linux. But I really miss Kmail. Hows that for weird?? I also hate, hate openoffice on Mac, running thru X11. I tried Neooffice a while ago but it was even more unstable. Openoffice works a lot better on Linux. Also, there's of good stuff easily availiable for Linux that's not so easy on Mac... Open source stuff seems to either be availiable as RPM or apt-get for Linux, or just compiles pretty easy from tarball.. but Mac is a PITA (for me) to compile this stuff for. Everything seems to be in the wrong place! I like the Mac laptop quality, but I find the KDE desktop easier to use.. maybe familiarity. Maybe becuase I've generally got a bigger monitor on my desktop (although I run dual display often with the lap.) Or maybe I'm just weird. I hate the Finder! I like Windows Explorer better than the Finder! I also hate that the menubar for active program lives on the top of the screen, even if I'm using a window in my other monitor! If I had one wish for the Mac it'd be for Openoffice to work solid on it.