Making a copy of CF to another CF
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
cmb last edited by
dd should do what you're after. I'm not exactly sure the appropriate command to use though.
sullrich last edited by
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.
I will try this on Friday with an ex employer, might even convince them to dump their old fw and adopt pfsense, :-D
It turned out to be an IDE flash memory…
dd if=/dev/hda of=/dev/hdb bs=16k
Borage last edited by
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.
Justinw last edited by
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.