Skip to content

Stefcho's Tech Blog

Software Development, Cloud, DevOps and PfSense

Upgrade from pfSense 2.1.5 to 2.2 on Hyper-V

Posted on 26/01/2015 - 28/10/2018 by Stefan

After the release of pfSense 2.2 it was time to upgrade some installations. They resides on Windows Server 2012 R2 Hyper-V. After the first reboot my test machine did not come up. The screen looks like this:

pfSense 2.2 Upgrade 01The error message is quite interesting at first:

Mounting from ufs:/dev/ad0s1a failed with error 19.

After little goggling I’ve found this article:

Mounting from ufs:/dev/adaxs1a failed with error 19.

and after simple entering of one ? the answer to the problem was in front of me:

pfSense 2.2 Upgrade 02The disk names were change from

ad0s1a

to

da0s1a

So to boot I’ve typed:

pfSense 2.2 Upgrade 03and voilàpfSense 2.2 Upgrade 04

Now the only thing that is left if to make changes to the boot configuration

You have the option to for form console

8) ShellpfSense 2.2 Upgrade 05and edit the file pfSense 2.2 Upgrade 06Mine looked like this:pfSense 2.2 Upgrade 07and after the change like thispfSense 2.2 Upgrade 08

Of if you will you can make the change using the web gui

go in the Diagnostics menu and selecting the Edit FilepfSense 2.2 Upgrade 09From there you just naviage to the “/etc/fstab” and edit the text.pfSense 2.2 Upgrade 10After changes test that the system is booting from the correct partition.

 

Posted in TechnicalTagged Hyper-V, pfSense 2.2, Windows Server 2012 R2

Post navigation

pfSense 2.2 Released!
Potential DNS Rebind attack detected, workaround

10 Comments

  1. Erlam says:
    13/04/2016 at 04:08

    Tnhx a lot. It help a lot.

  2. Dayn says:
    14/04/2016 at 19:55

    This is exactly what happened to me upgrading to pfsense 2.3 it had been smooth sailing to that point. Thanks for great article. Bacon saver you are 🙂

  3. Pavlos Michalopoulos says:
    21/04/2016 at 12:33

    You are awesome sir! Thank you!

  4. Ryan White says:
    31/05/2016 at 01:10

    Thank you Stefan!!! You saved me a lot of time. I just upgraded from 2.6 to 3.1 and was getting the same error. After I found this post it was a snap to fix. The file names were even the same as in this post.

  5. Aleksandar says:
    02/06/2016 at 14:31

    Very good! Appreciate it.

  6. Andreas says:
    14/06/2016 at 14:04

    Instead of editing fstab you can ran a script that will convert /etc/fstab to UFS labels rather than disk device names.
    /usr/local/sbin/ufslabels.sh

  7. James Sheerin says:
    17/08/2016 at 15:40

    Great Post! For anyone running Hyper-V on a 2008 R2 or earlier, you have to upgrade your host server to 2012 R2. There is no avoiding this if you want to run the latest version of PFSense. After you upgrade to 2012R2, the steps above will work and you will be able to see your partitions.

  8. baucha asim cha says:
    30/11/2016 at 01:28

    really really helpful thank you soooo much. Great post

  9. Samuel says:
    08/09/2017 at 17:31

    Thanks!!!! It works perfectly for me… and you make save some money…. kkkkkk

  10. Dan B says:
    21/02/2018 at 05:28

    Getting a similar error while trying to boot on a Firebox from CF card. But when I enter “?” I don’t get anything listed for GEOM devices. What might I need to do from there? Thanks in advance!!

Comments are closed.

Tags

ADDS AES-NI Asterisk ASUS Azure Captive Portal Cell Phone CentOS Certification Creative DD-WRT DNS Hyper-V LDAP Learning Linksys Microsoft Mikrotik RouterBoard RB250G Network OpenLDAP OpenVPN OpenWrt pfCenter pfSemse pfSense pfSense 2.0 RC1 pfSense 2.0 RC3 pfSense 2.2 PKI RADIUS Raspberry Pi Routing Site To Site Technical Uncategorized VLAN VMWare VoIP Vyatta Web Sites Windows Server 8 Windows Server 2008 R2 Windows Server 2012 R2 Wireless Workstation 8

Archives

  • April 2020
  • July 2019
  • May 2019
  • March 2019
  • February 2019
  • October 2018
  • August 2018
  • March 2016
  • April 2015
  • March 2015
  • January 2015
  • February 2012
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • July 2010
Proudly powered by WordPress | Theme: micro, developed by DevriX.