Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2017 08:37:54 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
Cc:        =?UTF-8?Q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80_?= =?UTF-8?Q?=D0=9F=D0=BE=D0=B2=D0=BE=D0=BB=D0=BE=D1=86=D0=BA=D0=B8=D0=B9?= <tarkhil@webmail.sub.ru>, freebsd-virtualization@freebsd.org
Subject:   Re: Bhyve and windows 2012/2016
Message-ID:  <201710131537.v9DFbs9s095614@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <201710131529.v9DFTlj1095566@pdx.rh.CN85.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> > Hello
> > 
> > I'm trying to install Windows 2012 evaluation in bhyve. It looks like 
> > neither HDD (ahci-hd) nor CD (ahci-cd) are available.
> 
> What version of FreeBSD are you doing this on?  uname -a?
> 
> > Command is
> > 
> >   /usr/sbin/bhyve  -c 2 -m 17179869184 -H -A -w -s 0:0,hostbridge    -s 
>                                            ^^^^^^^^^^^ read the manual page very carefully,
> if you do not specify a unit for -m the default is to use it as megabytes, this is requesting
> a VM of 17G x 10^6, or 17 x 10^15 bytes of memory, you probalby want to say
> -m 16G
> 
> > 3:0,ahci-hd,/usr/jails/jails-data/serv1c-data/dsk1.vhd,sectorsize=512 -s 
>                                                      ^^^
> bhyve does not support .vhd format disks, it supports only raw
> images, how was this file created?
> 
> > 2:0,ahci-cd,/usr/jails/src/iso/windows2012.iso  -s 
> > 4:0,e1000,tap6,mac=00:a0:98:cf:ab:82 -s 5:0,virtio-rnd  -s 
> > 6,fbuf,tcp=0.0.0.0:5902,w=1024,h=768,wait -s 30,xhci,tablet -s 31,lpc -l 
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Ooopss.. ignore my comments about fbuf/vnc, I missed it.

> > com1,stdio -l bootrom,/usr/local/cbsd/upgrade/patch/efi.fd serv1c
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> where is this bootrom from?  The officially supported firmware
> should be at /usr/local/share/uefi-firmware/BHYVE_UEFI.fd 
> 
> > 
> > Only X: drive is available, seems to be some memory image
> 
> I believe your X: drive is the ramdisk image of the windows 2012
> installer?
> 
> I do not see any setup for a fbuf/vnc console, you probalby want a
> -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait
> line added to above and connect to it once your vm is started.
> Windows wants a graphical device, and unless you have handcrafted
> an autoinstall .iso that can run unattended you wont get very 
> far without one.
> 
> > 
> > What should I check? What could have I done wrong?
> > 
> > Alex
> 
> -- 
> Rod Grimes                                                 rgrimes@freebsd.org

> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"

-- 
Rod Grimes                                                 rgrimes@freebsd.org



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