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

Installation issue

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
18 Posts 3 Posters 1.9k 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.
  • A
    Aussie
    last edited by Dec 23, 2021, 11:09 AM

    When I try to write pfsense in my USB stick using win32 disk imager am getting the error message as: The disk image file is corrupted. I have tried downloading many times with a different mirror but still am getting the same error. Not sure what's the problem or where the problem is. What has to be done. Thanks in advance.

    1 Reply Last reply Reply Quote 0
    • Q
      Qinn
      last edited by Qinn Dec 23, 2021, 11:22 AM Dec 23, 2021, 11:21 AM

      Unpack pfSense-CE-memstick-serial-5.2.5-RELEASE-amd64.img.gz
      Use Rufus to write .img file to USB stick

      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
      Firmware: Latest-stable-pfSense CE (amd64)
      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

      A 1 Reply Last reply Dec 23, 2021, 11:57 AM Reply Quote 0
      • A
        Aussie @Qinn
        last edited by Dec 23, 2021, 11:57 AM

        @qinn It's already unpacked and even tried Rufus, but when I try to select the file inside from Rufus, the selected folder is shown as no files found. I have attached the screenshot of the same.sample.png

        Background has the unpacked file of pfsense.

        J 1 Reply Last reply Dec 23, 2021, 12:14 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @Aussie
          last edited by johnpoz Dec 23, 2021, 12:15 PM Dec 23, 2021, 12:14 PM

          @aussie did you validate downloaded gz was good via the hash?

          https://docs.netgate.com/pfsense/en/latest/install/download-installer-image.html#verifying-the-integrity-of-the-download

          pfsense/netgate recommends using https://www.balena.io/etcher/ it can use the gz file directly. I just used this to do a clean install on a sg3100 via an image.

          But if you want to use win32diskimage - here I just downloaded a memstick image, validated the hash and then extracted the .gz

          memstick.jpg

          hash.jpg

          imgfile.jpg

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          A 1 Reply Last reply Dec 24, 2021, 6:53 AM Reply Quote 0
          • Q
            Qinn
            last edited by Qinn Dec 23, 2021, 2:15 PM Dec 23, 2021, 2:14 PM

            @john Good suggestion to check the hash, just wanted to add, that by default hashes are not there in Windows and you probably use hashtab, just like I do.

            @Aussie please install hashtab from here http://implbits.com/
            after install right click pfSense-CE-memstick-serial-2.5.2-RELEASE-amd64.img.gz
            choose Properties go to the File Hashes tab and right click in the hash window choose settings and finch SHA256

            Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
            Firmware: Latest-stable-pfSense CE (amd64)
            Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

            J 1 Reply Last reply Dec 23, 2021, 2:22 PM Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator @Qinn
              last edited by Dec 23, 2021, 2:22 PM

              @qinn said in Installation issue:

              default hashes are not there in Windows

              well they kind of are - somewhat, if you want to use cmd line.

              certutil.jpg

              but yeah its much easier to use something like hashtab ;)

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              Q 1 Reply Last reply Dec 23, 2021, 2:43 PM Reply Quote 0
              • Q
                Qinn @johnpoz
                last edited by Qinn Dec 23, 2021, 2:45 PM Dec 23, 2021, 2:43 PM

                @johnpoz You are right of course, I should have formulated it right and said; "hashes not there using the GUI only the CLI" 😉

                Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                Firmware: Latest-stable-pfSense CE (amd64)
                Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                J 1 Reply Last reply Dec 23, 2021, 2:46 PM Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator @Qinn
                  last edited by johnpoz Dec 23, 2021, 2:49 PM Dec 23, 2021, 2:46 PM

                  @qinn hahah - yeah true ;) heheheh

                  If had to guess, the OP maybe just not looking in the folder where the img was extracted.. I would think if corrupted it would of thrown and error when extracting, etc.

                  Looks like he is just looking in downloads, and not downloads\extractedfolder ?

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                  Q 1 Reply Last reply Dec 24, 2021, 9:41 AM Reply Quote 0
                  • A
                    Aussie @johnpoz
                    last edited by Dec 24, 2021, 6:53 AM

                    @johnpoz I have downloaded hashtab and checked the hash, my hash is not same. sample.png

                    Q 1 Reply Last reply Dec 24, 2021, 9:21 AM Reply Quote 0
                    • Q
                      Qinn @Aussie
                      last edited by Qinn Dec 24, 2021, 9:29 AM Dec 24, 2021, 9:21 AM

                      @aussie As hash compare checks the file integrity, this concludes that you haven't downloaded the file that you should have, so it explains why you get and error. I can only guess why this has happened, somehow the pfSense-CE-memstick is not the same as the file netgate has, it should be

                      04e413e6c0afd1d83927c707f3453abe01561d2d6286726063a7dfd2a350c643 for the VGA SHA256 Checksum compressed (.gz) file

                      and

                      bb5287e52a01a67ba72d4685401799e5e1ada10c5e8d29c32f0b7a09d58d70d6
                      for the Serial SHA256 Checksum compressed (.gz) file

                      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                      Firmware: Latest-stable-pfSense CE (amd64)
                      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                      A 1 Reply Last reply Dec 24, 2021, 9:29 AM Reply Quote 0
                      • A
                        Aussie @Qinn
                        last edited by Dec 24, 2021, 9:29 AM

                        @qinn But to my knowledge, I am downloading the correct file which is required for me that to from their official website. Not sure what has to be done.

                        1 Reply Last reply Reply Quote 0
                        • Q
                          Qinn
                          last edited by Qinn Dec 24, 2021, 9:31 AM Dec 24, 2021, 9:30 AM

                          Which one did you download vga or serial, sorry i see vga ;)

                          Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                          Firmware: Latest-stable-pfSense CE (amd64)
                          Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                          A 1 Reply Last reply Dec 24, 2021, 9:34 AM Reply Quote 0
                          • A
                            Aussie @Qinn
                            last edited by Dec 24, 2021, 9:34 AM

                            @qinn Yeah it's for VGA....Even after multiple dnload with different mirror and with different unpacker am getting the same issue :(

                            Q 1 Reply Last reply Dec 24, 2021, 9:40 AM Reply Quote 0
                            • Q
                              Qinn @Aussie
                              last edited by Dec 24, 2021, 9:40 AM

                              @aussie As you see a hash with 93CD0BCF37D838D09CDAABE37DD0A2AABA69C6377C97AE6C0A86232059915015
                              this seems to be the pfSense-CE-memstick-2.5.2-RELEASE-amd64.img file and not the pfSense-CE-memstick-2.5.2-RELEASE-amd64.img.gz to you have checked the not compressed file. Could it be that @johnpoz is right see his post 8

                              Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                              Firmware: Latest-stable-pfSense CE (amd64)
                              Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                              1 Reply Last reply Reply Quote 0
                              • Q
                                Qinn @johnpoz
                                last edited by Dec 24, 2021, 9:41 AM

                                @johnpoz said in Installation issue:

                                @qinn hahah - yeah true ;) heheheh

                                If had to guess, the OP maybe just not looking in the folder where the img was extracted.. I would think if corrupted it would of thrown and error when extracting, etc.

                                Looks like he is just looking in downloads, and not downloads\extractedfolder ?

                                Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                Firmware: Latest-stable-pfSense CE (amd64)
                                Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                1 Reply Last reply Reply Quote 0
                                • Q
                                  Qinn
                                  last edited by Dec 24, 2021, 9:44 AM

                                  Did you really extracted the img file? Maybe download a file extractor like https://www.7-zip.org/ and try it to extract the img file

                                  Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                  Firmware: Latest-stable-pfSense CE (amd64)
                                  Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                  A 1 Reply Last reply Dec 24, 2021, 11:04 AM Reply Quote 0
                                  • A
                                    Aussie @Qinn
                                    last edited by Dec 24, 2021, 11:04 AM

                                    @qinn I have dnloaded the file from their site(Zip file) with the file type as .img.gz. But after extracting that zip file am getting the type as .img(extracted using 7zip, winrar and power ISO). Even I have extracted that .img image file using 7zip I got 2 separate image files and 1 fat file.

                                    Screenshot (5).png

                                    J 1 Reply Last reply Dec 24, 2021, 11:37 AM Reply Quote 0
                                    • J
                                      johnpoz LAYER 8 Global Moderator @Aussie
                                      last edited by johnpoz Dec 24, 2021, 11:43 AM Dec 24, 2021, 11:37 AM

                                      @aussie dude you extracted the img file..

                                      There is the .gz file you download

                                      This extracts to .img file

                                      If you extract the .img file then you get

                                      doesthishelp.jpg

                                      The hash is for the .gz file, not the .img file.. The file you burn is the .img file..

                                      Just use the software they recommend - it burns the .gz file and auto does the extraction ;)

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                      1 Reply Last reply Reply Quote 0
                                      18 out of 18
                                      • First post
                                        18/18
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                        This community forum collects and processes your personal information.
                                        consent.not_received