Unable to install on HyperV - Mount Error

Started by jobinjv, May 25, 2019, 01:15:24 PM

Previous topic - Next topic
June 05, 2019, 06:55:41 AM #15 Last Edit: June 05, 2019, 07:00:31 AM by ala.tech
Edited for duplication and unfortunately I am too newb to know how to delete. But, also, what hardware you running hyper-V on?

What version of Hyper-V are you running? I have installed OPNSense on 2012 R2, 2016, and 2019. That all said, I did have the issue when installing 19.1 on Hyper-V 2019 where it would get stuck at selecting the install destination, but the CTRL-C would get it through that.

A thought would be to add an IDE controller and attach a HDD to that to see if that allows it through. I have other non-OPNSense BSD versions like the IDE controller better than the SCSI.

Lastly, I can build an OPNSense VM on Hyper-V, export it, and give you a link to see if it is just the install or OPNSense as a whole on your particular setup.

June 05, 2019, 04:28:47 PM #17 Last Edit: June 05, 2019, 05:22:08 PM by jobinjv
Quote from: bunchofreeds on June 05, 2019, 12:45:31 AM
Just a thought...

Do you have the latest supported BIOS for your system.
An updated Hardened FreeBSD 11.2 is used now and may require a later BIOS?
Possibly worth checking any other firmware for storage controllers etc

I have a GA-890FXA-UD5 with an AMD Phenomâ„¢ II X6.

I am running a pfSense on the same and its running fine, which makes me doubt. It is also based on FreeBSD 11.2


Quote from: ala.tech on June 05, 2019, 06:58:43 AM
What version of Hyper-V are you running? I have installed OPNSense on 2012 R2, 2016, and 2019. That all said, I did have the issue when installing 19.1 on Hyper-V 2019 where it would get stuck at selecting the install destination, but the CTRL-C would get it through that.

A thought would be to add an IDE controller and attach a HDD to that to see if that allows it through. I have other non-OPNSense BSD versions like the IDE controller better than the SCSI.

Lastly, I can build an OPNSense VM on Hyper-V, export it, and give you a link to see if it is just the install or OPNSense as a whole on your particular setup.

I have Hyper-V running on 2019. I was thinking of having a direct HDD for the VM.

I would be great if you could share a link, Can be checked if its something with the install.

I apologize for the delay, ended up in meetings all day yesterday. Here is the link to get it:

https://www.dropbox.com/s/xasw9wz8vmdv7yf/OPNSense_19_1_4.zip?dl=0

It will expire in 15 days. I did the following:

Gen 2 VM (Secure Boot Off)
2x vCPU
3GB of RAM
32GB of HDD (SCSI 0:0)
2x vNIC

Installed 19.1.4 (image I had laying around) using Guided Install method and GPT/UEFI for disk. Default login.
I did test it by putting an IP on the LAN interface and hooking it up to my test network. It passed traffic and worked. I then reset it all to factory defaults using the console menu.

Hopefully that helps!

June 07, 2019, 02:40:15 AM #20 Last Edit: June 07, 2019, 02:44:17 AM by bunchofreeds
Pfsense is using FreeBSD 11.2, whereas OPNsense is using 'Hardened FreeBSD' 11.2 https://hardenedbsd.org/

I believe some components are removed from a standard FreeBSD kernel when creating a Hardened BSD build in an attempt to reduce the possible attack surface among other things.
If you're on the latest supported BIOS and firmware then it might be a request to the Hardened BSD team to see what is going on.

OPNsense and Hardened BSD have a pretty close relationship from what I understand, so hopefully one of their team can help with getting you past this boot error.

Edit: You could try downloading HBSD 11.2 and booting that up in Hyper-V 2019. See if it fails at the same point. This would point to either OPNsense or HBSD as being the issue.


Quote from: ala.tech on June 06, 2019, 10:39:53 PM
I apologize for the delay, ended up in meetings all day yesterday. Here is the link to get it:

https://www.dropbox.com/s/xasw9wz8vmdv7yf/OPNSense_19_1_4.zip?dl=0

It will expire in 15 days. I did the following:

Gen 2 VM (Secure Boot Off)
2x vCPU
3GB of RAM
32GB of HDD (SCSI 0:0)
2x vNIC

Installed 19.1.4 (image I had laying around) using Guided Install method and GPT/UEFI for disk. Default login.
I did test it by putting an IP on the LAN interface and hooking it up to my test network. It passed traffic and worked. I then reset it all to factory defaults using the console menu.

Hopefully that helps!

Thank You so much but that too didnt work :(

Quote from: bunchofreeds on June 07, 2019, 02:40:15 AM
Pfsense is using FreeBSD 11.2, whereas OPNsense is using 'Hardened FreeBSD' 11.2 https://hardenedbsd.org/

I believe some components are removed from a standard FreeBSD kernel when creating a Hardened BSD build in an attempt to reduce the possible attack surface among other things.
If you're on the latest supported BIOS and firmware then it might be a request to the Hardened BSD team to see what is going on.

OPNsense and Hardened BSD have a pretty close relationship from what I understand, so hopefully one of their team can help with getting you past this boot error.

Edit: You could try downloading HBSD 11.2 and booting that up in Hyper-V 2019. See if it fails at the same point. This would point to either OPNsense or HBSD as being the issue.



This seemed to point to the cause thou, the Hardened BSD also didnt install and kept going the same way. Have send a mail to the develeopers over at Hardened BSD hope they can help :(