Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cloning Gentoo too diff identical Netra's T105
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
eventhorizon
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2003
Posts: 104
Location: OV, Belgium

PostPosted: Sat Jan 13, 2007 10:25 am    Post subject: Cloning Gentoo too diff identical Netra's T105 Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Sat Jan 13, 2007 12:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Risk
n00b
n00b


Joined: 05 Mar 2004
Posts: 38
Location: Zoo York City

PostPosted: Sun Jan 14, 2007 4:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
mose
Guru
Guru


Joined: 04 Jun 2005
Posts: 313
Location: Piacenza

PostPosted: Sun Jan 14, 2007 4:53 pm    Post subject: Reply with quote

Probably you're interested in doing a stage4: take a look here http://gentoo-wiki.com/HOWTO_Custom_Stage4
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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