Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Physical to Virtual on Macbook Pro
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pzasso
Tux's lil' helper
Tux's lil' helper


Joined: 29 Dec 2003
Posts: 94
Location: California

PostPosted: Thu Jul 19, 2012 12:29 am    Post subject: Physical to Virtual on Macbook Pro Reply with quote

I currently have a Macbook pro with one internal disk that dual boots OSX Lion and Gentoo. I am looking for a way to pull in my Gentoo partition into VMWare so I can run it as a VM on the OSX side using VMWare fusion. Does anybody know of a utility that will allow me to do this?

Thanks,

--Paul
Back to top
View user's profile Send private message
EatMeerkats
Apprentice
Apprentice


Joined: 15 Mar 2006
Posts: 234

PostPosted: Thu Jul 19, 2012 1:04 am    Post subject: Reply with quote

Why not just set up VMWare to use the Gentoo partition directly using the raw disk support? I had my Gentoo partition bootable in a VM/natively for a while… you just have to be careful about including hardware support for both the virtual hw and real hw.
Back to top
View user's profile Send private message
pzasso
Tux's lil' helper
Tux's lil' helper


Joined: 29 Dec 2003
Posts: 94
Location: California

PostPosted: Thu Jul 19, 2012 8:09 am    Post subject: Reply with quote

I probably should have provided a little more detail in my original post. My plan was to be able to create a vmdk file and use it on other MacBooks without having to go through the install process again. I guess I could always build a new Gentoo partition in a VM to start with, but I am being lazy here and was hoping I could pull the one I have into an image.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1792
Location: Oranienburg/Germany

PostPosted: Thu Jul 19, 2012 9:30 am    Post subject: Reply with quote

Hi,

you should have a look at VMWare Converter, but i'm not sure if there is a MacOS version available.

bb
_________________
1st: i5-4570, 16GB, 1.75TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 16GB, 10,5TB
4th: Asus N61VN, 8GB, 240GB
5th: C2D T7200, 2GB, 16GB USB + NFS
Back to top
View user's profile Send private message
EatMeerkats
Apprentice
Apprentice


Joined: 15 Mar 2006
Posts: 234

PostPosted: Thu Jul 19, 2012 1:40 pm    Post subject: Reply with quote

Oh, in that case, it should be pretty easy as well… set up a VM with a raw disk pointing to your Gentoo partition, and another VMDK disk, boot from an ISO, then "cp -ax /mnt/physical/* /mnt/vmdk/" or something like that. You'll still need to make sure that all the virtual hw is supported by the VM, so I would try booting the raw disk directly first to make sure everything is working. Then go ahead and do the copy once you're sure.
Back to top
View user's profile Send private message
pzasso
Tux's lil' helper
Tux's lil' helper


Joined: 29 Dec 2003
Posts: 94
Location: California

PostPosted: Thu Jul 19, 2012 2:36 pm    Post subject: Reply with quote

I'll give that a try.

Thanks!
Back to top
View user's profile Send private message
EatMeerkats
Apprentice
Apprentice


Joined: 15 Mar 2006
Posts: 234

PostPosted: Thu Jul 19, 2012 3:08 pm    Post subject: Reply with quote

Oh, I forgot to mention that after performing the copy, you'll still have to chroot into the VMDK and install grub just as you would for a brand new install.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum