[Hyper-V] Critical install error

nedry

Well-Known Member

Reaction score: 12
Messages: 299

Hello

I just downloaded and tried to install FreeBSD 11.0-RC3, however it won't detect my IDE hard drive (300 GB). I get the following error message:

error ide.png

I am using Hyper-V generation 1 virtual machine with 10 GB ram, on boot it had a SCSI error about the LUN but its virtual machine hardware is IDE hard drive. I will test the same release on a SCSI hard drive and a generation 2 Hyper-V machine.
 
OP
N

nedry

Well-Known Member

Reaction score: 12
Messages: 299

I just tried same system but emulated SCSI and now get this error:


error-scsi.png
 
OP
N

nedry

Well-Known Member

Reaction score: 12
Messages: 299

Here is a dump of the kernel boot errors, now going to play with LUNs

error scsi2.png
 
OP
N

nedry

Well-Known Member

Reaction score: 12
Messages: 299

It looks like you have to play with the LUNs in Hyper-V gen 1 to get it to detect the HDD.

working.png
 
OP
N

nedry

Well-Known Member

Reaction score: 12
Messages: 299

In Hyper-V gen 2 the system gets as far as follows,

error gen2.png


unfortunately I can't get any further as the system does not accept key presses.
 

Matt Kane

New Member

Reaction score: 2
Messages: 3

Hi folks, just had this exact same problem installing 11.0 Release to Hyper-V. Here's the fix that worked for me:
1. Boot the virtual machine as normal.
2. At the "Welcome to FreeBSD" boot loader (with the red logo) press "3" for "Escape to loader prompt".
3. You'll be faced with an "OK " command prompt. Type the following:

set hw.ata.disk_enable=1
boot

4. The boot process should complete as normal. Proceed with the installation like you did before and the partitioning should complete OK.
 

Matt Kane

New Member

Reaction score: 2
Messages: 3

Assuming the installation works OK, when you reboot into the OS from the virtual hard drive, the boot will probably fail and you'll get a "mountroot" prompt. Repeat the above to boot the machine properly. Login as root and at the # prompt, type:

ee /boot/loader.conf

it needs to contain the following:

Code:
autoboot_delay="3"
hw.ata.disk_enable="1"

Save & exit; rebooting works fine after that.
HTH
 
Last edited by a moderator:

matto25

Member


Messages: 25

Hi folks, just had this exact same problem installing 11.0 Release to Hyper-V. Here's the fix that worked for me:
1. Boot the virtual machine as normal.
2. At the "Welcome to FreeBSD" boot loader (with the red logo) press "3" for "Escape to loader prompt".
3. You'll be faced with an "OK " command prompt. Type the following:

set hw.ata.disk_enable=1
boot

4. The boot process should complete as normal. Proceed with the installation like you did before and the partitioning should complete OK.
Hey Matt,

So I just ran into this EXACT problem running Hyper-V 2012R2 as a host and trying to install FreeBSD 11-RELEASE.... I tried your steps and sadly still have the partition part crash the install and start over.. To add to this I also have a BSD 10.3 machine with a Generic kernel that I upgraded to 11 thats now crapped itself giving the same issues as above... Is there anything else you or anyone else for that matter can suggest?

thanks for the help.

Matt
 

Alexander237

New Member

Reaction score: 1
Messages: 14

Hey Matt,

So I just ran into this EXACT problem running Hyper-V 2012R2 as a host and trying to install FreeBSD 11-RELEASE.... I tried your steps and sadly still have the partition part crash the install and start over.. To add to this I also have a BSD 10.3 machine with a Generic kernel that I upgraded to 11 thats now crapped itself giving the same issues as above... Is there anything else you or anyone else for that matter can suggest?

thanks for the help.

Matt
It's strange. For me trick with /boot/loader.conf and set hw.ata.disk_enable=1 in loader prompt works perfectly on Hyper-V 2012R2 (all up-to date patches installed on Hyper-V).
 

Pawel

New Member


Messages: 2

Recently I had Issue with Hyper-V as welll. (TrueOs). Mostly related with Remote desktop in remote desktop Something is wrong with Hyper-V. I switched to VirtualBox solve it.
 

matto25

Member


Messages: 25

It's strange. For me trick with /boot/loader.conf and set hw.ata.disk_enable=1 in loader prompt works perfectly on Hyper-V 2012R2 (all up-to date patches installed on Hyper-V).
No it does the same thing.. I'm really at a loss as to why this happens when releases 8,9 and 10 worked fine... I guess I use 10.3 then?
 
Top