FreeNAS 11 Windows 10 VM not loading ISO past logo

Status
Not open for further replies.

ChaosBlades

Contributor
Joined
Jul 4, 2015
Messages
137
Followed the steps from the below youtube video and it just sits at this screen. My specs are in the sig. ISO was downloaded using the Windows Media Creation Tool.

https://youtu.be/WbTrG3HRrds
ycQeNuQ.png
 

ChaosBlades

Contributor
Joined
Jul 4, 2015
Messages
137
Just the below. Start the VM and press key to boot CD and when it sits at that screen this is all that is in the logs. Tried it a few times, always get the same.
Code:
Jun 18 17:38:11 FreeNAS tap0: Ethernet address: *snip*
Jun 18 17:38:11 FreeNAS kernel: tap0: promiscuous mode enabled
Jun 18 17:38:11 FreeNAS kernel: tap0: link state changed to UP
Jun 18 17:38:11 FreeNAS kernel: tap0: link state changed to UP
 

IceBoosteR

Guru
Joined
Sep 27, 2016
Messages
503
Lookes like the bootloader has some problems. Maybe he cannot initialze some important driver(s), so he got stucked.
Is htere a possibility to change the boatloader from MBR to GPT or the other way round (BIOS and UEFI mode)?
 

ChaosBlades

Contributor
Joined
Jul 4, 2015
Messages
137
I just tried UEFI-CSM (the only other option) and it fails to boot... "Boot Failed. CDROM 0". Tried re-adding the iso/device and it didn't help.

Also get the same messages from logs. Also when this happens it locks up and ctrl alt del does not work. Unless it is bugged with RealVNC Viewer.
 

IceBoosteR

Guru
Joined
Sep 27, 2016
Messages
503
oh well, so then dont use UEFI. Maybe it's buggy right now and you have some more luck with this after a few patches.
I dont relly know why it dows not boot. What I would try, is maybe another ISO or play around with some settings (disable a virtual controller, or something like that). Because I do not see what settings you are using right now.
Maybe you cn post a screenshot here, so some other bhyve advanced members can help you.
 

ChaosBlades

Contributor
Joined
Jul 4, 2015
Messages
137

IceBoosteR

Guru
Joined
Sep 27, 2016
Messages
503
Okey watched the video and it seems to be easy to do.
So maybe Win10 cannot load some special boot drivers it needed to boot.
Unfortunately I cannot help you out here. Maybe try another OS or someone else pick this topic up.
 

ChaosBlades

Contributor
Joined
Jul 4, 2015
Messages
137
I will try putting that ISO on a usb and booting it on my main physical computer to remove that as a possibility when I get off work. I did try Ubuntu and the live CD worked but when I install and get to the part where it tells you to remove the media and press any key it will not go any farther. Just get that screen and a courser in the top left of the screen that goes down when I press enter. I tried removing the ISO from the device/deleting the device/not doing anything but it does not do anything after that point. Even when I go to FreeNAS and tell it to stop the VM I get a message that says it was successfully stopped but it still lists it as running and sure enough it is. I am forced to reboot the server at this point and it still won't boot from the installed OS once this is done. I load the live CD and try to install again and it detects that Ubuntu is on the install location but it will not boot from it.
 

Dwight Turner

Explorer
Joined
Oct 13, 2014
Messages
76
For ubuntu I had to edit the grub file to auto start your vm. Otherwise you boot into the shell. To boot you type exit , then select boot manager and Select boot from file grub2efi file


Sent from my iPhone using Tapatalk
 

ChaosBlades

Contributor
Joined
Jul 4, 2015
Messages
137
I just install Windows on one of my laptops with that same Windows ISO and I had no issues.

I also just tried Windows Server 2016 and Windows 7 ISOs on the VM. Same result, On Windows 7 it says "Starting Windows" but the Windows logo that animates never shows up.

For ubuntu I had to edit the grub file to auto start your vm. Otherwise you boot into the shell. To boot you type exit , then select boot manager and Select boot from file grub2efi file
I believe you mean "Boot Maintenance Manager". I selected "grubx64.efi" and it booted Ubuntu but how do I modify grub so I don't have to do this every single time?

How many vCPUs are you using? Have you tried with 1 vCPU?
4 vCPUs, I just tried 1 vCPU and no change, same issue.
 

ChaosBlades

Contributor
Joined
Jul 4, 2015
Messages
137
[snip]
But how do you boot your VM if you find yourself in the EFI shell at first? Just type exit at the shell prompt, and in the EFI menu system navigate to "Boot Maintenance Manager" and then select "Boot from file" to locate and select your grubx64.efi file.

As root, cd to the /boot/efi/EFI directory of your VM in order to create the new BOOT directory and copy the existing grubx64.efi to /EFI/BOOT/bootx64.efi. The end result should look like this, using Ubuntu as an example:

root@ubuntu-vm:/boot/efi# tree -L 3 .
.
└── EFI
├── BOOT
│ └── bootx64.efi
└── ubuntu
├── fbx64.efi
├── grub.cfg
├── grubx64.efi
├── mmx64.efi
└── shimx64.efi

3 directories, 6 files
root@ubuntu-vm:/boot/efi#

The file bootx64.efi is a copy of the grubx64.efi in your VM.

NB: If grubx64.efi gets updated you will need to re-create bootx64.efi
"NB: If grubx64.efi gets updated you will need to re-create bootx64.efi"
^ This is stupid. (Source)>https://forums.freenas.org/index.php?threads/how-to-how-to-boot-linux-vms-using-uefi.54039/

I'll just use CentOS it apparently does not have this issue.
 

Dwight Turner

Explorer
Joined
Oct 13, 2014
Messages
76
It was not easy to fix , I'm in no way a Linux user but managed to get it going you are right, it is challenging.


Sent from my iPhone using Tapatalk
 

ChaosBlades

Contributor
Joined
Jul 4, 2015
Messages
137
CentOS 7 is working without issue. If you go Linux that looks like the best option for FreeNAS VMs. Would prefer Windows if I could get it working since you don't have to go into Terminal to do every little thing.

Download CentOS 7 "Everything" ISO from the official website.
Configure FreeNAS as the video in OP shows but use the CentOS ISO
Do everything in the installer how you see fit (it is very nice)
Once in CentOS run su -c 'yum update' in Terminal to update the OS
reboot

If you want to auto update the OS run the following in the below order.
sudo yum -y install yum-cron
sudo systemctl enable yum-cron.service
sudo systemctl start yum-cron.service


At any point, after the OS has been installed you can shutdown the OS and once it is reported as STOPPED in FreeNAS you can delete the CDROM device.

Lastly, I can confirm the Automatic picture quality bug in VNC Viewer. Set the picture quality to High or Medium as instructed in the video.
 
Joined
Jul 20, 2016
Messages
6
Add me to the list of people with this issue. It figures, the first time in a long time I build an AMD system, there's some stupid issue.

AMD A8-7670K
16GB of ram
Freenas 11-U1 (aa82cc58d)

I've tried just about everything I can think of to no avail.
 

ryanhunt

Dabbler
Joined
Aug 8, 2015
Messages
33
From the looks of the forums there are quite a few people having this same as you (me included). Without getting access to any logs it's impossible to understand what's going wrong...
 
Joined
Jul 20, 2016
Messages
6
From the looks of the forums there are quite a few people having this same as you (me included). Without getting access to any logs it's impossible to understand what's going wrong...

And the unfortunate part is that it doesn't seem to be generating any logs.
 
Status
Not open for further replies.
Top