View previous topic :: View next topic |
Author |
Message |
eventhorizon Tux's lil' helper
Joined: 14 Jun 2003 Posts: 104 Location: OV, Belgium
|
Posted: Sat Jan 13, 2007 10:25 am Post subject: Cloning Gentoo too diff identical Netra's T105 |
|
|
Hello;
I've a fully functional basic install ( kernel 2.6.17 on a Netra T105 (stripped, working like a charm) on a Netra T105
I'm so happy with the result and also to save some time I would to like it to clone it to another 5 Netra 105 with the exact config.
I' ve also connected a T130 on the "Mother-Netra" with free slots.
My idea would be to put the HD of the other Netra's in the T130 and the try to clone te SDA1 to SDA6 ( 1 HD ) to the new sun labeled HD ( exact the same HD). What would be the following step after creating and mounting the partitions?
If that could succeed I could emerge a mailserver onto the first, squid on the other, webserver,.....
Has somebody an idea how it could be done??
Thanks in Advance. _________________ Never underestimate the power of LInux |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Sat Jan 13, 2007 12:01 pm Post subject: |
|
|
eventhorizon,
If you can put the two drives into the same machine that you can use dd to make a compete image of one drive on the other.
Neither drive needs to have anything mounted - the target drive need not even be formatted as *everything* will be copied, including empty space.
The command is Code: | dd if=/dev/sd<?> of=/dev/sd<?> | be sure to get the input and output files the right way round as there is no safety net. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Risk n00b
Joined: 05 Mar 2004 Posts: 38 Location: Zoo York City
|
Posted: Sun Jan 14, 2007 4:44 pm Post subject: |
|
|
The dd trick is okay, but I should mention that it is exceptionally important to create a backup (safety net) of anything you do in case of Murphy's Law rearing it's ugly head.
Toward that end, try:
http://www.howtoforge.com/back_up_restore_harddrives_partitions_with_ghost4linux
Besides, doing a dd from a live filesystem is likely to introduce problems into the target fs. The safer way to use "dd" is to boot from a Gentoo livecd and then copy from inactive drive to inactive drive.
With programs like g4l, you now have an image you can go back to. Safer and better efficiency all around.
Cheers |
|
Back to top |
|
|
mose Guru
Joined: 04 Jun 2005 Posts: 313 Location: Piacenza
|
|
Back to top |
|
|
|