Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
« previous
next »
Print
Pages: [
1
]
Author
Topic: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM (Read 11173 times)
sh8pe
Newbie
Posts: 3
Karma: 0
Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
on:
February 01, 2017, 01:47:57 pm »
Hi,
I tried to upgrade my opnsense from 16.7.14 to 17.1 in my Hyper-V (W2K12R2) VM, and after the
first boot I´ve got the Error: Mounting from ufs:/dev/da0s1a failed with error 19
With pressing "?" (List valid disk boot devices) only CD0 and FD0 is shown, nothing else.
One of the last message I see before is: (da0:blkvsc0:0:0:0): Periph destroyed
Maybe it is related to this bug?
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212721
Someone else run into the same problem?
Best regards,
sh8pe
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #1 on:
February 01, 2017, 02:39:04 pm »
I haven't updated yet, but will check it tomorrow evening.
I have a fresh install of 17.1b which is updated to 17.1rc1.
That runs and boots just fine.
Also have a 16.7.12 iirc, that I will upgrade full to 17.1 tomorrow night.
Will let you know how that went.
Oh, keep in mind that 11 had problems with booting, but that was pre-release.
Like the links mentions for 11-rc2/rc3.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
sh8pe
Newbie
Posts: 3
Karma: 0
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #2 on:
February 01, 2017, 10:02:14 pm »
Now I´ve tried to boot with kernel.old and was successful. Afterwards I choose option 12 again, answered the question with "y" to install minor updates, installed kernel 16.7.11 and now I´m back again.
Now I am able to backup / snapshot and all that stuff before trying the update again ... in some month
BR
sh8pe
Logged
GurliGebis
Newbie
Posts: 42
Karma: 3
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #3 on:
February 02, 2017, 07:51:10 am »
The fix is here, we just need it applied, and a new ISO to install from:
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175166&action=diff
Logged
GurliGebis
Newbie
Posts: 42
Karma: 3
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #4 on:
February 02, 2017, 09:37:06 am »
And here is an ISO that works:
https://pkg.opnsense.org/snapshots/OPNsense-17.1-HyperV-cdrom-amd64.iso.bz2
Logged
GurliGebis
Newbie
Posts: 42
Karma: 3
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #5 on:
February 02, 2017, 09:37:47 am »
Upgrading is not possible with it though, so backup the config, reinstall with this iso, then restore the config like you normally would.
Logged
sh8pe
Newbie
Posts: 3
Karma: 0
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #6 on:
February 02, 2017, 10:37:44 am »
This was quick! I will try it this evening!
Thank you for your support!
BR
sh8pe
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #7 on:
February 02, 2017, 01:28:54 pm »
Upgrade is still possible, you can mount the ISO into the existing VM, boot from it, go to the installer, select "Import Configuration", and then "Guided Installation". It will keep all your settings.
Note this is a FreeBSD 11.0 bug. We're adding a fix to 17.1.1.
Cheers,
Franco
Logged
GurliGebis
Newbie
Posts: 42
Karma: 3
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #8 on:
February 02, 2017, 04:07:08 pm »
Ohhh, I didn't think about the import config directly from the installer - that's pretty smart
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #9 on:
February 02, 2017, 04:23:23 pm »
FYI:
https://github.com/opnsense/src/commit/bdf347ea9da
Coming to 17.1.1, thanks for testing GurliGebis!
Cheers,
Franco
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #10 on:
February 03, 2017, 08:07:32 am »
I'll just wait for 17.1.1 then.
Reading the FreeBSD page I find it very confusing.
11-RC2 and 11-RC3 has this issue. It was fixed, and somehow came back exactly the same in 11-RELEASE?
Then what was OPNsense 17.1b and 17.1rc1 running? Thought that was 11-RELEASE?
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #11 on:
February 03, 2017, 11:00:06 am »
*Not* fixed on 11.0-RELEASE. 11-STABLE is, but with a very long patch from Microsoft basically updating Hyper-V support, but who knows what problems are in there then...
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #12 on:
February 03, 2017, 11:44:02 am »
What branch was 17.1b and 17.1rc1 based on, then?
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #13 on:
February 03, 2017, 11:58:08 am »
11.0-RELEASE with some things from 11-STABLE backported manually. 11-STABLE is not so stable (at least not with a verified release out there, it's open for commits and that makes it difficult to ensure "stableness"), so we are somewhere in the middle between those two points.
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM
«
Reply #14 on:
February 03, 2017, 12:20:55 pm »
Oh, the joy of FreeBSD and their naming conventions!
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Upgrade from 16.7.14: First boot failed with Error 19 in Hyper-V VM