Making a copy of CF to another CF
-
Hi
This is kinda unrelated to the pfsense fw but it could help me or others in the future.
Could anyone suggest any tools or command (under linux (or windoze) that will help me copy an image from one CF card to another CF card?
Help is very much appreciated.
Thanks in advance
Slam
-
dd should do what you're after. I'm not exactly sure the appropriate command to use though.
-
Try
dd if=/dev/disk1 of=/dev/disk2 bs=16k
if = input device (source)
of = output device (destination)The above is OSX format but you can replace /dev/disk1 with /dev/ad0, etc.
-
Thanks guys
I will try this on Friday with an ex employer, might even convince them to dump their old fw and adopt pfsense, :-D
Regards
Slam
-
Hi
It turned out to be an IDE flash memory…
worked using...
dd if=/dev/hda of=/dev/hdb bs=16k
Thanks again
Slam
-
You can also use g4u if your firewall is able to boot from a floppy/cd or network boot. It's also a great tool for installing pfSense or m0n0wall Compact Flash images.
http://www.feyrer.de/g4u/
-
I hear clonezilla may have one up on g4u now, but I haven't been able to try it out yet. I've been told you can do a raw copy but not have to copy the unused space.