Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Migrate a Gentoo-box to a virtual guest on a VM server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Wed Mar 18, 2009 12:54 pm    Post subject: Migrate a Gentoo-box to a virtual guest on a VM server Reply with quote

Hi all!

I have a (64-bit) gentoo-box which I would like to retire and resurrect as guest on a to-be-created Gentoo-box which will be a VM server. I've been thinking a bit about how to do this. Is it as simple as:

* Build new box
* Install OS + VM server (haven't decided yet between KVM, VirtualBox & VMware server)
* Create a 64bit VM guest on that server which roughly meets the specs of the old box
* Boot this image with a livecd, and both the physical HD of the old box, and virtual drives with partitions identical to the ones on the physical HD
* Use 'cp -a' to transfer all the files from the old (physical) partitions to the new (virtual drive) partitions
* Mount all the new partitions in its correct places
* updrate GRUB
* Boot the VM guest

Is it this 'simple'? Did I miss any steps? Should anything be different?
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1316
Location: Sweden

PostPosted: Wed Mar 18, 2009 1:57 pm    Post subject: Reply with quote

Perhaps you'll find this helpful.
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Wed Mar 18, 2009 2:01 pm    Post subject: Reply with quote

Letharion wrote:
Perhaps you'll find this helpful.


I assume you forgot a link here... 8) 8) 8)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1316
Location: Sweden

PostPosted: Wed Mar 18, 2009 2:06 pm    Post subject: Reply with quote

:oops:

https://forums.gentoo.org/viewtopic-t-709963-highlight-.html

500th post :D (Lets say that's the real reason I "missed" the link, I just wanted another post :P)
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Wed Mar 18, 2009 2:12 pm    Post subject: Reply with quote

Hmm, it does not really confirm nor deny whether my list of steps is correct... But it does suggest I'm heading in the right direction... :-)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1316
Location: Sweden

PostPosted: Wed Mar 18, 2009 2:21 pm    Post subject: Reply with quote

meulie wrote:
Hmm, it does not really confirm nor deny whether my list of steps is correct... But it does suggest I'm heading in the right direction... :-)


I agree it does :) I never actually did try it though. I made a new install instead, otherwise I would have tried to give you further instructions. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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