Date: Sat, 9 Jul 2016 10:51:07 +0000 From: Manish Jain <bourne.identity@hotmail.com> To: Shane Ambler <FreeBSD@ShaneWare.Biz> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Help needed for bhyve : vm_create: Device not configured Message-ID: <VI1PR02MB0974E3EFDC1C905A262B6F4AF63D0@VI1PR02MB0974.eurprd02.prod.outlook.com> In-Reply-To: <57807BFF.6090408@ShaneWare.Biz> References: <VI1PR02MB0974223B28F5508AD160D48EF63C0@VI1PR02MB0974.eurprd02.prod.outlook.com> <57807BFF.6090408@ShaneWare.Biz>
index | next in thread | previous in thread | raw e-mail
Yes, that was the first command (sorry, I did not include it in the output) : truncate -s 20G wxp.img On Sat, Jul 9, 2016 at 9:52 AM, Shane Ambler <FreeBSD@ShaneWare.Biz> wrote: On 09/07/2016 02:45, Manish Jain wrote: I am trying to see if I can achieve Windows XP virtualization with my FreeBSD 10.2 amd64 host. For a first step, I am trying to get a FreeBSD 10.2 guest up and running with the instructions at : https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html But I just get the error message "vm_create: Device not configured". What could be wrong ? My commands and loaded kld's are listed underneath. Thank for any help. kldload vmm ifconfig tap0 create sysctl net.link.tap.up_on_open=1 ifconfig bridge0 create ifconfig bridge0 addm re0 addm tap0 ifconfig bridge0 up # sh /usr/share/examples/bhyve/vmrun.sh -c 4 -m 1024M -t tap0 -d wxp.img -i -I FreeBSD-10.3-RELEASE-amd64-disc1.iso fbsd10dot3vm Launching virtual machine "fbsd10dot3vm" ... vm_create: Device not configured Did you create wxp.img that you want to use as the drive? The truncate command between the ifconfig and vmrun.sh is the one that creates the empty file to be used. Unless you are running a very recent build of FreeBSD current (last 5 days) you will need some extra work for windows. To get windows running you need to setup an unattended install for windows as there is no gui available during boot. https://wiki.freebsd.org/bhyve/Windows -- FreeBSD - the place to B...Software Developing Shane Amblerhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VI1PR02MB0974E3EFDC1C905A262B6F4AF63D0>
