|
I had good results with the same cloning method, then deleting
with fdisk the partitions beyond the first one (usually it's just the one
mounted as /opt, sometimes also /kd), recreating them to the desired
size and formatting them with mke2fs.
Enzo
----- Original Message -----
Sent: Monday, January 23, 2006 2:50
AM
Subject: Re: [Astlinux-users] RE : How to
clone a CF card
Along the same lines, how can I copy the contents of the USB
keydisk to a 2nd one of higher capacity?
Now that I've got OPT and some
music on hold converted, I'm feeling a bit constrained by my 64 meg keydisk
and want to swap over to my 256meg keydisk.
I only have one linux box,
which is booting from the CF card.
Tom
On 1/22/06, Olivier
Taylor <
[EMAIL PROTECTED]> wrote:
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].
_______________________________________________ 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]