Nice, thank you I was trying form a windows machine. I was to lazy to power on my Linux box.
Olivier -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Enzo Michelangeli Envoyé : dimanche 22 janvier 2006 9:52 À : Discussion of AstLinux - Asterisk on Compact Flash Objet : Re: [Astlinux-users] How to clone a CF card ----- 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] _______________________________________________ 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]
