LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-19-2017, 09:44 AM   #1
grubber33
LQ Newbie
 
Registered: Mar 2006
Posts: 8

Rep: Reputation: 0
Running Linux on a Macbook Pro then running OSX via VMWare


Hey all,

I figure this is the best forum to post this in. I'm looking to start developing an iOS app. I don't own an iPhone or iPad so I'm 99% going to buy a Macbook Pro so I can get access to Xcode and the iPhone/iPad emulator. Thing is, I hate OSX and would only consider using it if I were absolutely forced to. What I'm thinking about doing is installing Linux as my main OS on the Macbook then running OSX through something like VMWare so I can use Xcode. Running Xcode would be my sole use of OSX, everything else I would do in Linux. I found a thread, although it's directed at non-Macbooks, that indicates I could probably do this at ~80% speed which seems fine to me for just 1 program: https://www.reddit.com/r/hackintosh/...hine_on_linux/

Does anyone have any experience with doing this type of thing or foresee any problems? Thanks in advance!
 
Old 02-19-2017, 11:09 AM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,031
Blog Entries: 27

Rep: Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525
I could be wrong, but I don't believe OSX will run through emulation. It requires the chip that identifies the mobo as a mac (or software emulation of it) in order to run. It's possible to dual boot with OSX, and you could definitely run Linux as the guest inside a VM, but to my knowledge (which is admittedly less than incredible on Macs), you can't run OSX inside a VM.
 
Old 02-19-2017, 11:38 AM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926
Quote:
Originally Posted by Timothy Miller View Post
I could be wrong, but I don't believe OSX will run through emulation. It requires the chip that identifies the mobo as a mac (or software emulation of it) in order to run. It's possible to dual boot with OSX, and you could definitely run Linux as the guest inside a VM, but to my knowledge (which is admittedly less than incredible on Macs), you can't run OSX inside a VM.
There are certainly people around who say that they have successfully run OSX on a VirtualBox VM using some pretty nifty work-arounds (as a web search will indicate), but equally there are a great number of people who just can't seem to get it to work. It might prove time-consuming to try it out.

I agree with you - I would run the Mac in dual boot, iOS app development on the OSX side, general-purpose work on the Linux side. It's not as convenient having to boot between the two, but potentially less problematic.
 
Old 03-08-2017, 03:31 AM   #4
Nicolredmay
LQ Newbie
 
Registered: Jul 2016
Location: Ahmedabad
Posts: 4

Rep: Reputation: Disabled
Red face

I would do it in reverse, actually. I'd get the MacBook, and run Linux on VMware or VirtualBox. The only time I'd use OS X is when I booted up the machine and when I'd be working on my iOS development. That way you'd be able to run Mac OS X at full speed, while still being able to run Linux in the VM with virtually no lag.
 
Old 03-10-2017, 08:47 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,805

Rep: Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223
Quote:
Originally Posted by grubber33 View Post
Hey all,

I figure this is the best forum to post this in. I'm looking to start developing an iOS app. I don't own an iPhone or iPad so I'm 99% going to buy a Macbook Pro so I can get access to Xcode and the iPhone/iPad emulator. Thing is, I hate OSX and would only consider using it if I were absolutely forced to. What I'm thinking about doing is installing Linux as my main OS on the Macbook then running OSX through something like VMWare so I can use Xcode. Running Xcode would be my sole use of OSX, everything else I would do in Linux. I found a thread, although it's directed at non-Macbooks, that indicates I could probably do this at ~80% speed which seems fine to me for just 1 program: https://www.reddit.com/r/hackintosh/...hine_on_linux/

Does anyone have any experience with doing this type of thing or foresee any problems? Thanks in advance!
Yes, both experience with it, and I forsee problems.

First, it's VERY possible, and there are already pre-built VDI images of Mac OSX (including El Capitan and Sierra) you can find online. Since you already purchased a license with your Mac, you're good to go. Instructions for VirtualBox (the way I've done it) are trivial:
https://techsviewer.com/how-to-insta...on-virtualbox/

That said...getting Linux to run on a Mac *CAN* be a chore, albeit easier now than it used to be. The kicker for me was I tried to install Linux, the UEFI stuff didn't work correctly. The system wouldn't boot from hard drive, but would happily boot from the USB stick, and allow me to 'continue' booting from SSD, and work fine. So if you want to go that route, I PERSONALLY would suggest openSUSE Tumbleweed, but that's just my $0.02. They even have a guide:
https://en.opensuse.org/SDB:Installation_on_a_Mac

..so it's your call. Since you say you don't like OSX as a 'daily driver', running it as a VirtualBox image may work for you.
 
Old 03-10-2017, 08:51 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,805

Rep: Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223Reputation: 8223
Quote:
Originally Posted by Nicolredmay View Post
I would do it in reverse, actually. I'd get the MacBook, and run Linux on VMware or VirtualBox. The only time I'd use OS X is when I booted up the machine and when I'd be working on my iOS development. That way you'd be able to run Mac OS X at full speed, while still being able to run Linux in the VM with virtually no lag.
What you ignores what the OP said. The OP posted "[/B]Thing is, I hate OSX and would only consider using it if I were absolutely forced to. [/B]"...indicating they do not WANT OSX as their primary OS.

If the machine BOOTS OSX, then the OP would be using OSX for EVERYTHING, basically, and having the OS you WANT as your main system virtual, only is going to make things harder for attaching peripherals/devices/networking/etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot find wifi, dual boot Fedora 23 running on MacBook Pro (13-inch, Early 2011) BorisCharkov Linux - Newbie 3 01-11-2016 11:11 PM
External monitor on MacBook Pro 2015 running Mint 17.2 Snouffelaire Linux - Laptop and Netbook 1 12-11-2015 03:08 PM
First gen MacBook Pro , Linux Mint installed, no OSX, no longer boots from USB curtvaughan Linux - Laptop and Netbook 2 01-22-2015 02:24 PM
Wireless Connection on MacBook Pro 8,1 running Debian hosstoid Linux - Wireless Networking 2 05-02-2014 11:09 PM
running fedora10 on a macbook pro duel core intel machine gungufsifu Linux - Newbie 1 03-29-2009 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration