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

    Boot Issue After upgrading from 2.1.5 to 2.2

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    54 Posts 15 Posters 25.0k 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.
    • Z Offline
      zero_snowman
      last edited by

      @cmb:

      @zero_snowman:

      Ok, well, call this crazy, I was tweaking around on my bios because I wanted to try installing from a USB drive. I ended up telling it to restore default bios settings after not being able to get it work. BAM working firewall again. Not sure how the upgrade tweaked my bios, but it did.

      It didn't touch your BIOS config (and can't, it's completely and totally impossible), you had something there that wasn't right but just happened to work fine with FreeBSD 8.x. Come the upgrade to a FreeBSD 10.x base, something was no longer fine with whatever was wrong there.

      @stephenw10:

      Plenty of older hardware wouldn't boot unless AHCI or ACPI or APIC (or all three!) were disabled. Now that support for many more of these things is included a lot of that 'de-optimising' is either unnecessary or, worse, actually causing problems.

      Yeah as with every significant base OS jump we've made, sometimes things that were necessary to make things work previously now are undesirable and make things no longer function.

      Resetting BIOS to factory defaults is always a good idea if the system won't boot at all post-upgrade.

      Yes, I know, I should have better thought out my response.

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

        I saw this same error while invetigating something else also on some pretty ancient hardware. I saw this:

        Trying to mount root from ufs:/dev/ada0s1a [rw]...
        mountroot: waiting for device /dev/ada0s1a ...
        Mounting from ufs:/dev/ada0s1a failed with error 19.
        

        But importantly it was preceeded by this:

        ada0 at ata0 bus 0 scbus0 target 0 lun 0
        ada0: <toshiba mk2018gap="" m1.42="" a=""> ATA-5 device
        ada0: Serial Number 32K60131T
        ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
        ada0: 0MB (0 512 byte sectors: 16H 63S/T 16383C)</toshiba>
        

        Clearly 0MB is not a good size for a drive.  ;) Do you see anything like that? I got past it by setting the access mode to LBA in the BIOS.

        Steve

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

          I think I have already tried playing around with the LBA mode. One of my attempts was to disable the hard drive from the BIOS completely, and attempt to install on a USB thumbdrive, which also failed.

          An interesting attempt though, is that I tried booting off a nano-bsd image placed on a USB drive, while the hard drive disabled from the BIOS, which also failed.

          Could it be anything to do with the GPT partitioning that FreeBSD 10.1 uses by default?

          1 Reply Last reply Reply Quote 0
          • H Offline
            HandleX
            last edited by

            Did you read this solution: [ https://forums.freebsd.org/threads/error-19-on-boot-from-usb-after-8-2-9-0-upgrade.30254/#post-173564 ]?

            It seems to be with old devices/BIOS etc.

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

              Nope hadn't tried that. Not confirmed in the linked thread though. However it does sound like something that could potentially solve a number of open threads here. Thanks.  :)

              Steve

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

                Hi,
                I Just had the error 19 problem and I solved it by booting with

                ufs:/dev/ada0s1a

                Thanks for the support.

                Unfortunately, I'm using a XenServer box (dit not snapshot :( ) so the nics changed name and now I have a long long night for reconfigure all the settings (about 10 nics)

                How about making the boot settings change permanent? Where should I look and edit configs?

                .: Kaioh :.

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

                  Any setting you make at the bootloader prompt can be added to /boot/loader.conf.local to make it permanent. Create that file if it doesn't exis.

                  Steve

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

                    @stephenw10:

                    Any setting you make at the bootloader prompt can be added to /boot/loader.config.local to make it permanent. Create that file if it doesn't exis.

                    Steve

                    Thanks for your reply, I looked at the files inside /boot but did not find "ad0s1a" to change it to "ada0s1a"

                    .: Kaioh :.

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

                      Ah, sorry I misunderstood.
                      If that's a full install then just make the change in /etc/fstab

                      Steve

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

                        Oh, my head!  ;D

                        Did not just think about it, soo tired.

                        Thank you!

                        .: Kaioh :.

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          andrew867
                          last edited by

                          @ramymamlouk:

                          I don't think I can since I reverted back to 2.15. However, here are snipets from dmidecode hoping it would help:

                          System Information
                          Product Name: HP Compaq dc5750 Small Form Factor

                          Base Board Information
                          Manufacturer: Hewlett-Packard
                          Product Name: 0A64h

                          Processor Information
                          Version: AMD Athlon™ 64 X2 Dual Core Processor 3800+

                          I'm working with the same machine and found that changing the system to 'Native Mode IDE' in the BIOS (Storage->Storage Options->SATA Emulation) and changing /etc/fstab to ada0s1a allows the machine to start working normally again.

                          Hopefully this helps other people using legacy HP PCs!

                          -Andrew

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            briankelly63
                            last edited by

                            I have an older HP PC that would not boot after the upgrade to 2.2. After trying many suggestions I'll confirm that turning off packet mode during the install process (not quick install) solved the issue….

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sunghost
                              last edited by

                              Hope i can jump into this Topic. I actually want to install pfs on astaro 110/120 from cd-rom and got same message with disk ad0s1a. where can i change to da0s1a?

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sunghost
                                last edited by

                                any hint to do a successfull installation with above error message for wrong disk?

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

                                  Where in the install process are you getting stuck?
                                  How is the CD-ROM drive connected?

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sunghost
                                    last edited by

                                    Hi stephenw10,
                                    the cd-rom is connected via usb2 port of the box.
                                    On screen:
                                    loading boot/kernel/kernel text=…data=...syms=...
                                    fast scrolling ?!
                                    loading usb ports with external keyboard
                                    next loading usb -> cd-rw ... serial number ... transfers ... cd present 102493x2048 byte records
                                    quirks=0x10<10_byte_only>

                                    thats it, after press enter i see panic: mountroot: unable to remount root ... panic ... command line on which help shows from hd_dump to x commands

                                    does this help?

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

                                      Ok, if you're booting from USB did you try choosing 'boot from USB' at the boot menu?

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sunghost
                                        last edited by

                                        Sorry Steve, where do you mean in detail at the boot menu? Bios or pfSense Menu? Bios, yes because i still boot from cd. pfSense, i cant find any option to expliciet say this is a boot from cd? My problem is, that i boot form usb cd-rom with live-cd installer and want to install pfsense x86 on astaro 110/120. As the kernel loads and the devices are recognized i got the error like the thread creator with wrong disk-device-name. Solution should to change the name to ada0s1a, but i dont where to say this at installation process.

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sunghost
                                          last edited by

                                          Any new idea?

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

                                            When you boot from the CD (or a USB flash drive) after the bootloader you reach a boot menu with a list of options. One of them is 'boot from USB'. It sets a delay to give the USB device time to initialise before trying to mount root.
                                            See: https://doc.pfsense.org/index.php/Boot_Troubleshooting#Booting_from_USB

                                            Steve

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