• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Making a copy of CF to another CF

Off-Topic & Non-Support Discussion
5
7
4.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Slam
    last edited by May 9, 2007, 11:22 PM

    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

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by May 10, 2007, 12:05 AM

      dd should do what you're after. I'm not exactly sure the appropriate command to use though.

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by May 10, 2007, 12:14 AM

        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.

        1 Reply Last reply Reply Quote 0
        • S
          Slam
          last edited by May 10, 2007, 2:45 PM

          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

          1 Reply Last reply Reply Quote 0
          • S
            Slam
            last edited by May 15, 2007, 2:30 PM

            Hi

            It turned out to be an IDE flash memory…

            worked using...

            dd if=/dev/hda of=/dev/hdb bs=16k

            Thanks again

            Slam

            1 Reply Last reply Reply Quote 0
            • B
              Borage
              last edited by May 17, 2007, 1:50 PM

              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/

              1 Reply Last reply Reply Quote 0
              • J
                Justinw
                last edited by Jun 26, 2007, 1:26 PM Jun 26, 2007, 1:23 PM

                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.

                http://sourceforge.net/projects/clonezilla/

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.