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

    Upgrade from 2.1.5 to 2.2 hangs on boot.

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    28 Posts 6 Posters 5.1k 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.
    • marcellocM Offline
      marcelloc
      last edited by

      Without  a xml backup file,  I suggest you watching other boot failure tests.

      It's 5am here in Brazil, I need some sleep time now.
      Good luck.

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • R Offline
        reqlez
        last edited by

        It seems there is a similar post regarding this:

        https://forum.pfsense.org/index.php?topic=87364.0

        1 Reply Last reply Reply Quote 0
        • F Offline
          fillmoreb
          last edited by

          OK, I found an old Knoppix disk and have booted the box from that.

          What file do I need to edit on the hard disk to change the drive mounting?  Is it etc/fstab?

          1 Reply Last reply Reply Quote 0
          • R Offline
            reqlez
            last edited by

            https://doc.pfsense.org/index.php/Boot_Troubleshooting

            Lots of info there, just found the article.

            1 Reply Last reply Reply Quote 0
            • R Offline
              reqlez
              last edited by

              but yet, if its a label issue vi or nano    /etc/fstab

              newer labels should follow the adaX versus adX convention. or daX for USB drives as far as i remember.

              Please note that most ( or maybe all ) SD card would probably show up as daX because there is always some kind of SD card to USB converter chip. Maybe for CF also ? but CF is the same as IDE, really .. so maybe not CF… not sure.

              1 Reply Last reply Reply Quote 0
              • F Offline
                fillmoreb
                last edited by

                Thanx!  Now if I could only get to the file…  Knoppix throws an error trying to mount the drive.

                Knoppix HD tool shows the drive as good, but the partition is grey and when I try "mount -t ext3 /dev/sda1 /mnt/hd" I get the "Mount: wrong fs type, etc."

                The pfsense file system is ext3, right?

                1 Reply Last reply Reply Quote 0
                • D Offline
                  doktornotor Banned
                  last edited by

                  @fillmoreb:

                  The pfsense file system is ext3, right?

                  No. UFS.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    reqlez
                    last edited by

                    no, pfsense is a UNIX system not linux, UNIX uses ufs or ZFS with newer options.

                    So really, you want to boot into something like PCBSD if you want GUI access. If you want command line only, you could probably just boot from a pfsense CD and go into command line from the options ? i think there is rescue option ?

                    I'm going to be honest, i don't think this is a label issue… maybe FreeBSD 10.1 doesn't like something about your hardware. Maybe try booting form different boot media like a USB stick or SSD or whatever, not sure what you are currently using...

                    And if you are going to install pfsense 2.2 on a USB stick, choose the NanoBSD version download and if you have a VGA port, the VGA console version. I would remove your current boot media tho.

                    Choose an image size that is close to your USB ( not over ), then you will have to write the image file into the USB stick with something like http://sourceforge.net/projects/win32diskimager/

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      reqlez
                      last edited by

                      look at the post form phil.davis here:

                      https://forum.pfsense.org/index.php?topic=87364.0

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        fillmoreb
                        last edited by

                        OK, so I have tried everything I can think of to gain access to that drive to check and/or edit the file to no avail…

                        I was able to get the pfsense 2.2 live CD and boot it to a prompt, but still can't figure out how to access the hard disk.

                        As I said earlier, I'm a total noob here so detailed instructions would be appreciated.  Thanx!

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kejianshi
                          last edited by

                          Being a Unix noob shouldn't hurt you here as long as you are a BSD expert (-;

                          (I'm not - Looks like a few showed up though)

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            reqlez
                            last edited by

                            based on the post there by phil, like i said i don't think your issue is the label.

                            Have you tried doing a fresh install on a USB disk with the current boot disk removed and see if it works ? A few people are talking about the same issue now and most of them said they went back to 2.1.5 … but if its the ATA controller FreeBSD 10 doesn't like form your system or something, installing a nanoBSD version to a USB drive should work.

                            Here is link to download: https://www.pfsense.org/download/download.php?url=http%3A%2F%2Ffiles.atx.pfsense.org%2Fmirror%2Fdownloads%2FpfSense-2.2-RELEASE-4g-amd64-nanobsd-vga.img.gz

                            Then extract the gz file and write the img file to a USB stick with something likehttp://sourceforge.net/projects/win32diskimager/

                            That image is for 64 bit system ... if you have 32 bit this one should work:https://www.pfsense.org/download/download.php?url=http%3A%2F%2Ffiles.atx.pfsense.org%2Fmirror%2Fdownloads%2FpfSense-2.2-RELEASE-4g-i386-nanobsd-vga.img.gz

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              fillmoreb
                              last edited by

                              No, I've been trying everything I can think of to avoid a reinstall.

                              I ran fdisk at the pfsense shell and am getting "fdisk: mounted root fs resource doesn't match expectations (regexec returned 1)"

                              Is there a way to roll back to 2.1.5?

                              I have to have something working in about 2 hours…  :P

                              Thanx for all the help. :)

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                kejianshi
                                last edited by

                                How highly configured was your pfsense?  Lots of settings and packages or basic and simple config?

                                1 Reply Last reply Reply Quote 0
                                • F Offline
                                  fillmoreb
                                  last edited by

                                  I was pretty simple I think, compared to most of the other peoples.  Just served up IPs, and rules for access times, Squid, Dansguardian, etc.

                                  So, yes, I'm starting to think reloading it might be the quickest solution at this point.

                                  1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    kejianshi
                                    last edited by

                                    I did a fresh install of 2.2 on a couple and restored a backup config from 2.1.5 because I had not provisioned as much disk space as I'd like and decided to correct that error.  They work fine.  When you reconfigure, remember to make a backup of your configuration this time if you don't already have one.  Keep it handy.

                                    1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      fillmoreb
                                      last edited by

                                      Yep…  I assumed checking the box to backup the config during the upgrade would give me the backup file, but it did not...  I brought the box into the office where I have more resources to troubleshoot and investigate, so I don't have access to see when the last backup I took of it was.  Hopefully it will restore and will have most of what I need on it.

                                      OK, here goes a fresh install of 2.2 from the LiveCD.  Wish me luck. :)

                                      1 Reply Last reply Reply Quote 0
                                      • K Offline
                                        kejianshi
                                        last edited by

                                        Good luck.

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S Offline
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          The checkbox does give you a full backup. See:
                                          https://doc.pfsense.org/index.php/Full_Backup

                                          If you can get to a command prompt you can probably restore it.
                                          You could copy the backup file off the disk somehow, I've used a GhostBSD live CD successfully for such things before.

                                          Steve

                                          1 Reply Last reply Reply Quote 0
                                          • F Offline
                                            fillmoreb
                                            last edited by

                                            Well, looks like reqlez was correct; 2.2 is just not compatible with my hardware for some reason…  Fresh install of 2.2 gives me the same messages on first boot.

                                            Guess I need to go back to 2.1.5. :(

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