----- Original Message ----- 
From: "Olivier Taylor" <[EMAIL PROTECTED]>
Sent: Sunday, January 22, 2006 2:13 AM

> Hi all,
>
> I have a nice installation on a soekris net4801 with astlinux.
> I just want to clone the cf card to install it on a second board.
>
> Any simple solution to do that?

If you have another Linux machine equipped with a CF reader seen as, say,
/dev/sdc, you can insert the card in it, issue (as root):

dd if=/dev/sdc of=/tmp/image; sync

Then remove the original, mount the new card, and issue:

dd if=/tmp/image of=/dev/sdc; sync

Alternatively, _if_ all the partitions on the CF card are mounted R/O, you
can "dd" over the network from a live Astlinux box. At the console of the
second machine you can issue (supposing that Astlinux lives on a box with
IP address 192.168.1.3):

ssh [EMAIL PROTECTED] "dd if=/dev/sda" >/tmp/image
Password: (enter Astlinux' root password here)
sync

This will execute "dd" on the Astlinux box, sending the content of
/dev/sda to stdout, intercepted by the SSH remote execution and redirected
to the file /tmp/image of the local machine (in the same format as the
geni586.img file in the distribution).

Enzo

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to