FreeBSD 11 Release - bhyve and Windows 7

Hi! :)

Host computer

OS FreeBSD 11 Release
Processor Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (3997.77-MHz K8-class CPU)
real memory = 34359738368 (32768 MB)
avail memory = 33237377024 (31697 MB)
SSD x 2 - Samsung SSD 850 EVO 500GB EMT01B6Q (RAID Stripe - hardware)

Guest.
I install Windows 7 Pro and Ultimate versions under VM bhyve.
Start install Windows 7.
Copynig files very fast, one second!
Installation goes two - three hours on this stage "Expandeding Windows files..."
and three dots move... move... move... install don't freeze, vm bhyve work normal.
But two - three hours... 0% or 3,5,6 or 8%...
kak-ustanovit-windows-7_11_1.jpeg

After install finish all working very quckly, excellent boot, reboot system, RDP, install program, work glass effect(Aero theme), sound, video and etc.

Another system Windows 8, 8.1, Windows Server system, CentOS, FreeBSD and etc.
No problem with long installation, 5 - 10 minutes.


May be who know, why install only Windows 7 is too long ?
With achi problem and installer old, may be this ?

What ideas ?
 
Win 7 is a slow install, but 2-3 hours does seem excessive (30-45 mins is more like it).

What did your bhyve config look like ?
 
grehan@
Thanks for your answer :)
This my config

Code:
# pwd
/vmdata
# cat bhyve_load_win7

Code:
#!/bin/sh
bhyve -c 2 -s 7,fbuf,tcp=0.0.0.0:5900 \
-s 0,hostbridge -s 3,ahci-hd,windows7.img \
-s 4,ahci-cd,win7_pro_x64.iso \
-s 10,virtio-net,tap0 -s 31,lpc -l bootrom,BHYVE_UEFI.fd \
-m 6G -H -w windows7
 
Thanks, I'll see if I can repro that.

Something quick to try is to do the install with a single vCPU (-c 1), and then bump it up post-install.
 
The first phase of an install with Win7 Home Premium, a single vCPU and 'sectorsize=512' appended to the ahci-hd option took ~40 mins. There was quite a bit of that time where the guest was idle, but Vista has similar behaviour during a scripted install in bhyve.
 
The first phase of an install with Win7 Home Premium, a single vCPU and 'sectorsize=512' appended to the ahci-hd option took ~40 mins. There was quite a bit of that time where the guest was idle, but Vista has similar behaviour during a scripted install in bhyve.
Hmm... sectorsize=512 ?! Good information, thanks ;)
You write an interesting point.
I read manual about bhyve(8) command line many times, but not focused on the additional options for ahci-hd.
Ok, i will test too install Win7 again, but set sectorsize=512
 
windows 7:
"windows cannot be installed on this disk", when see a select disk dialog.
After a start install had watching "zero" progress about 2 hours.
bhyvectl --vm=win7 --destroy
 
Back
Top