Enzo,

Thanks for addressing this issue.  I want to make a backup net4801 box.

I am using a net4801 with /mnt/opt and /mnt/kd on a three partition CF, 
/dev/hda1, /dev/hda2 and /dev/hda3.

You say I MUST make /dev/hda3  read-only like hda1 and hda2.  If I 
understand you (say my AstLinux box has a dns of "voip"), and my local 
Unix box (Mac OS X) has a prompt of "UNIX $".

---------------------------
UNIX $ ssh [EMAIL PROTECTED]
Password:
voip # asterisk -r "stop now"
voip # mount -o ro,remount /mnt/kd

UNIX $ ssh [EMAIL PROTECTED] "dd if=/dev/hda" >/tmp/image
Password:
UNIX $ sync

voip # reboot
-------------------------

Is this correct?

If I then "cat" (UNIX $ cat /tmp/image >/dev/disk1) this image to a new 
CF of the same size, inset it into a DIFFERENT net4801, do I need to 
change anything?  Will the /mnt/kd/ssh folder need to be changed?

Thanks so much.

Lonnie



On Jan 22, 2006, at 2:52 AM, Enzo Michelangeli wrote:

> ----- 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?
>
> 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