Jump to content

Yes, you read that title correctly.

 

Some background, my company requires the employees to use a Mac. There is nowhere in the company policy that states we have to use MacOS though. So being the little rebel I am, I installed Linux to an external drive and boot from that.

 

I have a co-worker that installed Windows on his, and runs the MacOS inside a virtual machine for if he ever uses it. I have not been able to do this, and cant figure out why. I have tried creating a virtual hard drive linked to the physical one with the command:

VBoxManage internalcommands createrawvmdk -filename "</path/to/file>.vmdk" -rawdisk /dev/sda

This only boots to a blank screen. I know the virtual machine is doing something because i can hear the disk working, but it wont do anything.

 

 

Has anyone else attempted to do this? If so, any guesses why it is not working?

 

 

Thanks a ton!

~Judah

Link to comment
https://linustechtips.com/topic/367091-running-macos-inside-linux-on-a-mac/
Share on other sites

Link to post
Share on other sites

Why not just use parallels / virtual box and run Linux/Windows inside OSX instead

 

 

 

personally I would use OSX, it's a great OS

Desktop - Corsair 300r i7 4770k H100i MSI 780ti 16GB Vengeance Pro 2400mhz Crucial MX100 512gb Samsung Evo 250gb 2 TB WD Green, AOC Q2770PQU 1440p 27" monitor Laptop Clevo W110er - 11.6" 768p, i5 3230m, 650m GT 2gb, OCZ vertex 4 256gb,  4gb ram, Server: Fractal Define Mini, MSI Z78-G43, Intel G3220, 8GB Corsair Vengeance, 4x 3tb WD Reds in Raid 10, Phone Oppo Reno 10x 256gb , Camera Sony A7iii

Link to post
Share on other sites

Why not just use parallels / virtual box and run Linux/Windows inside OSX instead

 

 

 

personally I would use OSX, it's a great OS

 

 

Why not just use OSX ?

 

I just dont like it so much. Nothing against it, its a great OS. I just prefer Linux.

 

 

You need to hackintosh the copy of OSX to virtualise it

What is this magic, and how do i do it?

~Judah

Link to post
Share on other sites

I just dont like it so much. Nothing against it, its a great OS. I just prefer Linux.

 

 

What is this magic, and how do i do it?

Download OSX from the app store and put it in you applications folder then get unibeast and select the version of OSX you downloaded and it will create an ISO. This is how people get OSX to run on non-apple hardware

"My game vs my brains, who gets more fatal errors?" ~ Camper125Lv, GMC Jam #15

Link to post
Share on other sites

I just dont like it so much. Nothing against it, its a great OS. I just prefer Linux.

 

Again fair enough but why not just run Linux inside virtual box........instead of doing it the other way around.... it seems wrong

Desktop - Corsair 300r i7 4770k H100i MSI 780ti 16GB Vengeance Pro 2400mhz Crucial MX100 512gb Samsung Evo 250gb 2 TB WD Green, AOC Q2770PQU 1440p 27" monitor Laptop Clevo W110er - 11.6" 768p, i5 3230m, 650m GT 2gb, OCZ vertex 4 256gb,  4gb ram, Server: Fractal Define Mini, MSI Z78-G43, Intel G3220, 8GB Corsair Vengeance, 4x 3tb WD Reds in Raid 10, Phone Oppo Reno 10x 256gb , Camera Sony A7iii

Link to post
Share on other sites

Do you want to virtualize linux on the Mac or dual boot it?

 

If you want to virtualize linux use virtualbox(installed on your mac) and save the vdi file onto your external hard driver.

 

If you want to dual boot it you can use boot camp and configure your external drive as a secondary drive and install linux on that. 

 

I think there are in dept tutorials on this on youtube. BTW, what flavor of linux do you use?

Link to post
Share on other sites

Again fair enough but why not just run Linux inside virtual box........instead of doing it the other way around.... it seems wrong

 

Its a bunch of permission issues. You must create the virtual disk link as root, but then VirtualBox does not have permissions to use it.

You would have to run VirtualBox as root as well, but:

sudo open "/Applications/Virtualbox.app"

does not seem to grant ALL permissions to it. If you run the following:

sudo su; open "/Applications/VirtualBox.app"

then VirtualBox will fail to start. So i figured that running with Linux as host would be easiest.

 

Do you want to virtualize linux on the Mac or dual boot it?

I want to fully virtualize it, i already have it dual booting.

 

 

I think there are in dept tutorials on this on youtube. BTW, what flavor of linux do you use?

Linux Mint. I like Debian based for desktop and CentOS/RHEL for server stuff

~Judah

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×