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

    Slightly undersized CF cards with nanobsd images?

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    33 Posts 8 Posters 16.5k Views
    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.
    • B
      blewis
      last edited by

      @althornin:

      Just note, all 5 of the SanDisk cards I have are the same size - too small, and they are from a "reputable" brand…so you can't trust much.

      You may have purchased "fake" SanDisk memory cards.  They are mostly prevalent on auction sites and rarely on by major retailers.

      1 Reply Last reply Reply Quote 0
      • D
        drees
        last edited by

        Yes, even assuming 1 GB = 1,000,000,000 bytes is not enough for many cards.

        gloomrider started this thread and posted that he has a 1GB card with only 998,129,664 bytes.

        http://forum.pfsense.org/index.php/topic,18809.msg96850.html#msg96850

        1 Reply Last reply Reply Quote 0
        • G
          gloomrider
          last edited by

          @drees:

          Yes, even assuming 1 GB = 1,000,000,000 bytes is not enough for many cards.

          gloomrider started this thread and posted that he has a 1GB card with only 998,129,664 bytes.

          http://forum.pfsense.org/index.php/topic,18809.msg96850.html#msg96850

          Actually, I was referring to the previous poster's CF card sizes.  But using that card as an example, it could still be used with a 512MB image.

          All of the 2GB and 4GB Sandisk cards I have bought recently work just fine with nanobsd.  I'm thinking the developers are having similar experiences and downsizing images for undersized cards are not a big priority.  But that's just speculation on my part.

          1 Reply Last reply Reply Quote 0
          • A
            althornin
            last edited by

            @blewis:

            @althornin:

            Just note, all 5 of the SanDisk cards I have are the same size - too small, and they are from a "reputable" brand…so you can't trust much.

            You may have purchased "fake" SanDisk memory cards.  They are mostly prevalent on auction sites and rarely on by major retailers.

            Doubtful, they came with my Alix boxes from NetGate, so I suspect they are legit.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              The sizes have been nudged down a tad, so keep an eye on the snapshots for new images:

              https://rcs.pfsense.org/projects/pfsense-tools/repos/mainline/commits/7ff3db783970b1fadf0ffbea06bcae0c3dc23ed2

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • G
                gloomrider
                last edited by

                Thanks!

                1 Reply Last reply Reply Quote 0
                • F
                  FRiC
                  last edited by

                  Is it better to use 2 GB image with 2 GB cards? Since my 2 GB cards also couldn't fit the old 2 GB images, I've been using the 1 GB images forever.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    @FRiC:

                    Is it better to use 2 GB image with 2 GB cards? Since my 2 GB cards also couldn't fit the old 2 GB images, I've been using the 1 GB images forever.

                    That is really up to you. Some people believe they will use all the space, so they don't want to "waste" any, but also consider what databeestje wrote in this post:
                    http://forum.pfsense.org/index.php/topic,17369.msg97591.html#msg97591

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      Is anyone still having a problem with current nanobsd images not fitting on their cards?

                      The sizes were reduced by a good chunk to accommodate the smallest ones that were posted.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • A
                        althornin
                        last edited by

                        I have not reflashed any of the "2GB" cards that I was using.
                        I'll give it a shot when I get a chance and let you know.

                        1 Reply Last reply Reply Quote 0
                        • K
                          Klug
                          last edited by

                          I just hit the problem 8-(

                          The CF is a Transcend Ultra 1 GB Industrial.

                          Here's what I got :```
                          [root@gojira pfSense]# zcat pfSense-1.2.3-1G-20090918-0711-nanobsd.img.gz | dd of=/dev/xvdb1 bs=16k
                          dd: writing `/dev/xvdb1': No space left on device
                          28821+0 records in
                          28820+0 records out
                          472195584 bytes (472 MB) copied, 32.5402 seconds, 14.5 MB/s

                          1 Reply Last reply Reply Quote 0
                          • G
                            gloomrider
                            last edited by

                            @Klug:

                            I just hit the problem 8-(

                            The CF is a Transcend Ultra 1 GB Industrial.

                            Here's what I got :```
                            [root@gojira pfSense]# zcat pfSense-1.2.3-1G-20090918-0711-nanobsd.img.gz | dd of=/dev/xvdb1 bs=16k
                            dd: writing `/dev/xvdb1': No space left on device
                            28821+0 records in
                            28820+0 records out
                            472195584 bytes (472 MB) copied, 32.5402 seconds, 14.5 MB/s

                            That's a different problem.  Your card filled up after 472 MB.

                            1 Reply Last reply Reply Quote 0
                            • K
                              Klug
                              last edited by

                              Ooops, you're right.
                              Sorry 8-(

                              Stupid partition table on brand new CF…
                              Now nicely working :```
                              [root@gojira pfSense]# zcat pfSense-1.2.3-1G-20090918-0711-nanobsd.img.gz | dd of=/dev/xvdb1 bs=16k
                              60858+0 records in
                              60858+0 records out
                              997097472 bytes (997 MB) copied, 57.9339 seconds, 17.2 MB/s

                              1 Reply Last reply Reply Quote 0
                              • A
                                althornin
                                last edited by

                                Finally getting a chance to work on this again (this is a project at work, so its get time when I have time to spare :)).

                                Flashed the slightly reduced images onto my "2GB" cards…
                                Successfully!
                                About to overwrite the contents of disk 2 with new data. Proceed? (y/n) y
                                2001194496/2001194496 bytes written in total

                                Boot fine as well.  Thanks for taking the feedback and working with it, it is appreciated.

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