running boot-camp ubuntu-server virtualised

Joined
Jul 17, 2011
Messages
4
Reaction score
0
Points
1
Hey all,

I'm a linux user looking at switching to mac. I'm thinking of getting a 13" MBP and wanted to float my plans for my setup to see if any of you mac experts have any advice, pointers or feedback for me.

I'll need to run a virtualised ubuntu-server as I'm a primarily a web developer and require quite specific setup & packages to run my projects. I also need to be developing on ubuntu-server as this is also my production server and I need to the setup to be as similar as possible.

The problem I have with virtaulising a server is that I've yet to find a god solution for modifying the code on the virtualised machine. I've played around with Eclipse's RSE plugin which connects via SSH, it works but crashes if the virtual machine turns off / isn't running. I've tried sshfs which again isn't ideal. I've tried samba shares but eclipse doesn't like that.

Whilst looking in to vmware & parallels I read that they can actually run your boot-camp partitioned OS. I think this might solve my problem of coding on a virtaulised machine as if I run ubuntu-server via bootcamp then I can access the filesystem directly from OS X (even when not running). I'd need to install macfuse so I could modify the ext4 filesystem. I could then code directly to servers filesystem without the actually running the OS. When I need to test I could just boot up vmware or parallels and run the bootcamp partition.

My question is would this work? Is there a better way I could do it?

If anyone has experience doing similar I'd love to hear how you find it.

Thanks! :)
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
So, let me make sure I understand this. You want to write to a non-running OS?
 
OP
J
Joined
Jul 17, 2011
Messages
4
Reaction score
0
Points
1
Hey just wondering if anyone had any experience or advice about my suggested setup?

(boot-camp'd ubuntu-server, I'll alter code on the ext4 partition directly using macfuse and then I'll use vmware/parallels to run the os when required for testing).

Thanks
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
Well for one, you can't install Ubuntu server or Ubuntu anything by using Boot Camp. You can certainly create a Boot Camp partition but that's as far as it will go. You would be better off using Disk Utility to create the partition and then manually install Ubuntu server.

And add to that, neither Parallels nor Fusion will virtualize a Boot Camp or other partition that is not Windows.

If you really want to use a Mac to do all that, I suggest you take a look at using rEFIt and possibly setting up a triple boot. Lots of info floating around on how to do that.
 
OP
J
Joined
Jul 17, 2011
Messages
4
Reaction score
0
Points
1
you can't install Ubuntu server or Ubuntu anything by using Boot Camp.
neither Parallels nor Fusion will virtualize a Boot Camp or other partition that is not Windows.

Ah okay, this was the kind of heads-up I was looking for! Guess I'll scrap that plan!

If you really want to use a Mac to do all that, I suggest you take a look at using rEFIt and possibly setting up a triple boot. Lots of info floating around on how to do that.

I really want to just use one OS for everything (general use & development) so I think I'll go for the simple solution of running a vmware/parallels instance of ubuntu-server. My only annoyance with that setup is that when the virtual machine isn't running the filesystem is inaccessible, but I guess I can live with that.

Thanks for the input.

-- Jimmy
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top