Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recycling working gentoo install on vmware?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
xlefr
n00b
n00b


Joined: 11 Mar 2003
Posts: 15
Location: Iceland

PostPosted: Tue Jul 29, 2003 12:07 pm    Post subject: Recycling working gentoo install on vmware? Reply with quote

I have set up a Gentoo box. I want to copy the entire tree onto my vmware linux machine. I'll probably be booting it up with the Gentoo LiveCD.

What is the best command for preserving the order and permissions of things - and not copying the /dev tree and things like that?

Basically, I need to copy the contents of a partition. Is there a way to dump a partition onto a remote computer, and is that what I should do?

Input much appreciated.
_________________
(Disclaimer: I browsed through the FAQs, I searched and I read the official docs. I didn't find anything. And I am very sorry.)
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Tue Jul 29, 2003 1:45 pm    Post subject: Reply with quote

Anytime you want to drop a partition's contents into a new disk (physical or virtual) I'd recommend Ghost (retail product from Symantec/Norton) for the job.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
xlefr
n00b
n00b


Joined: 11 Mar 2003
Posts: 15
Location: Iceland

PostPosted: Tue Jul 29, 2003 2:33 pm    Post subject: Reply with quote

Thanks, but Ghost is slightly overkill, I think.

Some kind of permissions-keeping network transfer utility would be the shiznitz, actually. Anyone? ;)
_________________
(Disclaimer: I browsed through the FAQs, I searched and I read the official docs. I didn't find anything. And I am very sorry.)
Back to top
View user's profile Send private message
PowerFactor
Veteran
Veteran


Joined: 30 Jan 2003
Posts: 1693
Location: out of it

PostPosted: Tue Jul 29, 2003 7:15 pm    Post subject: Reply with quote

Copying your root filesystem is much easier if you boot the machine with a livecd. That way you don't have to wory about excluding devfs, proc, and the various tmpfs filesystems that are mounted when the system is live. the probelm with just excluding /dev is that there are some actual device files in there on the disk that are hidden by devfs. I don't know how necessary thows are for normal operation but you need them if you ever chroot into that partiton.

Once you boot the system you can use tar or cpio in conjunction with ssh to copy the files, assuming you vmware host is on another machine. Just be sure to use the apropriate options to preserve permissions.
Back to top
View user's profile Send private message
xlefr
n00b
n00b


Joined: 11 Mar 2003
Posts: 15
Location: Iceland

PostPosted: Tue Jul 29, 2003 7:52 pm    Post subject: Reply with quote

beautiful

i heart you
_________________
(Disclaimer: I browsed through the FAQs, I searched and I read the official docs. I didn't find anything. And I am very sorry.)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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