Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Mar 2018 08:22:41 +0100
From:      Ludovit Koren <ludovit.koren@gmail.com>
To:        freebsd-virtualization@freebsd.org
Subject:   bhyve - windows7 installation
Message-ID:  <86inagi7jy.fsf@gmail.com>

next in thread | raw e-mail | index | archive | help


Hi,

on FreeBSD 11.1-STABLE #0 r329013, I was trying to install windows7
using bhyve. I run the following commands:

mkdir -p iso-remaster/virtio
/usr/local/bin/7z x en_windows_7_professional_with_sp1_vl_build_x64_dvd_u_677791.iso
-oiso-remaster
tar xf virtio-win-0.1.141.iso  -C iso-remaster/virtio/
mkisofs -b boot/etfsboot.com -no-emul-boot -c BOOT.CAT -iso-level 4 -J -l -D -N -joliet-long -relaxed-filenames -v -V "Custom" -udf -boot-info-table -eltorito-alt-boot -eltorito-platform 0xEF -eltorito-boot efi/microsoft/boot/efisys_noprompt.bin -no-emul-boot -o install_windows_w7_professional_x64.iso iso-remaster

ifconfig bridge0 create
ifconfig bridge0 up
ifconfig tap1 create
ifconfig bridge0 addm em0 addm tap1

and I was able to install windows successfully:

bhyve -S -c 1 -s 0,hostbridge -s 3,ahci-hd,/dev/zvol/zroot/msw7,sectorsize=512 -s 4,ahci-cd,install_windows_w7_professional_x64.iso -s 2:0,virtio-net,tap1 -s 31,lpc -s 29,fbuf,tcp=0.0.0.0:5900,w=1366,h=768,wait -l com1,/dev/nmdm0A -l com2,/dev/nmdm1A -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -m 4G -H -w windows7


The windows seems to be working fine. The problem is, I have no working
network interface, nor can I install one.

I do not know, what I am doing wrong. Any help appreciated.

Regards,

lk




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86inagi7jy.fsf>