Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] Clone a running gentoo machine onto another machine

YoYo Siska

2008-03-31

Replies:

Author LoginPost Reply
Benyamin Dvoskin wrote:
> It is a running gentoo system in this case
>
> But it doesnt make a difference to me. I want to know generally.
>
>
> anyway I will try what everyone wrote here and we'll see how it goes.
>
> Thanks again.
>


Btw You can also do a
mount --bind / /mnt/something
and then you will see the "original" root in /mnt/something without any
of the other filesystems. This is sometimes better if you want an exact
copy, because fex /dev usually has some basic nodes which get covered by
the udev's tmpfs, and althought you normally don't need them... ;)

I "cloned" a few running systems this way (copied it to an usb disk,
setup lilo and took the disk to another machine ;) but it was always
with mount -o remount,ro / and the systems were minimal (system+few
packages, almost nothing running, so it was possible to remount it ro)

yoyo
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.