From owner-freebsd-virtualization@freebsd.org Wed Jan 23 20:14:58 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8A0014B1930 for ; Wed, 23 Jan 2019 20:14:58 +0000 (UTC) (envelope-from kusuriya@corrupted.io) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED3F489503 for ; Wed, 23 Jan 2019 20:14:57 +0000 (UTC) (envelope-from kusuriya@corrupted.io) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 4F484221E3; Wed, 23 Jan 2019 15:14:57 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute7.internal (MEProxy); Wed, 23 Jan 2019 15:14:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corrupted.io; h= message-id:from:to:cc:mime-version:content-transfer-encoding :content-type:references:in-reply-to:date:subject; s=mesmtp; bh= Nr2cYsH7lkQZ9T1uFQGQgeagzDu1Tf8c+sf/zSGVE9k=; b=LWpWyWJnoOwLYpYq 60uc0KcgLuwfYjBSNTdx2FTrhtVF5faH+BcbOhy4G22f5iuOVlsCWqmxeHKNtj2f Cg52doo0zflXqInsFTHnX5k2o6ZqRrZ/QecYc27S4AXOUBRTXoOnPGx2QFcL6y80 Xb39BNfELlr78+T0k9VrVH7rozQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Nr2cYsH7lkQZ9T1uFQGQgeagzDu1Tf8c+sf/zSGVE 9k=; b=s1Y8UsKe9wYKSOXCGi1k2QPib8AMNB0LHrFHQbckV02p7Nwn/vqZyIT53 W5ZFbqsEI2SBqc8Xozsmeckds6U7/VPNtE8v70NtkZCjwdEXtb4NOKYMXcuqljEY YxqFdfTOmw7KluAZWKFjikTbvYMMTn0wP/8vpmeHDcU7S9J6lz20EIsJsX6M9rXv pMeje2Bh48GSuOj2Cc/7BlTX0itVoNdH2jzuN8WyVQwZNdMzt09/d5zzvQ230p5x 6vi2slbzOYcKUWevg5TBPUW+oz2+HQ+mwX2o8DKnnyMdOe7t9BpsxGR6CmhYK0kZ zh6Tj8oJ1GYquZr6/ZvYhYL/a9kvg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledriedtgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkhffvggfgtg fofhgjfffusegrjeerreertdejnecuhfhrohhmpeflrghsohhnuceurghrsghivghruceo khhushhurhhihigrsegtohhrrhhuphhtvggurdhioheqnecuffhomhgrihhnpehfrhgvvg gsshgurdhorhhgnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkuhhsuhhrihihrgestgho rhhruhhpthgvugdrihhonecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 52E749E5BB; Wed, 23 Jan 2019 15:14:56 -0500 (EST) Message-Id: <1548274496.1463039.1642010280.7FCB74C1@webmail.messagingengine.com> From: Jason Barbier To: Darren David Cc: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface - ajax-36e4bfd3 References: <1548272228.1450234.1641981832.6112D0A4@webmail.messagingengine.com> In-Reply-To: Date: Wed, 23 Jan 2019 12:14:56 -0800 Subject: Re: Installing drivers onto WinPE image for bhyve X-Rspamd-Queue-Id: ED3F489503 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=corrupted.io header.s=mesmtp header.b=LWpWyWJn; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=s1Y8UsKe; dmarc=pass (policy=none) header.from=corrupted.io; spf=pass (mx1.freebsd.org: domain of kusuriya@corrupted.io designates 66.111.4.29 as permitted sender) smtp.mailfrom=kusuriya@corrupted.io X-Spamd-Result: default: False [-6.73 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[corrupted.io:s=mesmtp,messagingengine.com:s=fm1]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-3.63)[ip: (-9.71), ipnet: 66.111.4.0/24(-4.70), asn: 11403(-3.67), country: US(-0.08)]; URI_COUNT_ODD(1.00)[3]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: aspmx.l.google.com]; DKIM_TRACE(0.00)[corrupted.io:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; DMARC_POLICY_ALLOW(-0.50)[corrupted.io,none]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[29.4.111.66.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2019 20:14:59 -0000 Yeah there really isnt an RTFM for this one. so what I would try is using the raw image file just like you would a drive, technically you should be able to DD it to the zvol but lets try to retrace the baby steps here. Also I would make sure the windows image is actually setup for UEFI boot or try the UEFI-CSM firmware for it. if you look in the same folder you installed the UEFI firmware there should be a file that contains UEFI- CSM in the name. That is just a legacy boot mode for UEFI that I have had luck getting somethings that are picky about EFI to boot. --- Jason Barbier | E: kusuriya@corrupted.io On Wed, Jan 23, 2019, at 12:00 PM, Darren David wrote: > Certainly, Jason. I should also mention I'm running this VM under > FreeNAS 11.2-RELEASE. Basic details (from FreeNSD UI) are:> * Type Bhyve > * Autostart: false > * Virtual CPUs: 2 > * Memory: 4096 > * BootLoader: UEFI > * Com Port: /dev/nmdm8B> The ISO is simply mounted as a CDROM. > > I've got two other VMs working just fine on this server (Linux and > Windows 10), but both were created/installed from original ISO > installers. The VM with issues is a Windows 7 VM I'm attempting to > port from ESXi. So far, I have converted the .vmdk to a RAW image with > virtualbox, dd'd the RAW file to a ZFS zvol, and set that as the > primary storage for this VM. The good news is that the drive shows up, > but upon boot the VM just dumps out into EFI shell. My thinking was to > boot into a third-party windows EFI partition fixer (in this case, > it's a WinPE disk that loads EaseUS Partition Master, which is the > application having the input driver issues - only the Tab key works. I > did try using the OEM Windows recovery utils, but it didn't solve my > boot woes). Mind you, I've not found any evidence of folks > successfully porting VMs from ESXi to bhyve, so please stop me now if > it's known that this isn't something that can be done!> > FWIW, I'm fairly new to bhyve virtualization, so if there's a very > clear RTFM pointer out there that might clear some of this up, I'm > happy to review on my own time.> > Darren > > On Wed, Jan 23, 2019 at 11:39 AM Jason Barbier > wrote:>> Giving us your launch options/VM Configs would probably help. >> depending on how you have the disks attached you may not need any >> drivers.>> >> --- >> Jason Barbier | E: kusuriya@corrupted.io >> >> >> On Wed, Jan 23, 2019, at 11:30 AM, Darren David wrote: >> > Hey all- >> > >> > I'm working on a project to migrate some VMs over from ESXi to >> > bhyve. I'm>> > making a bit of progress (and will absolutely document what I've >> > learned if>> > and when I get it to work!), but I'm hung up on doing some EFI >> > boot repair.>> > I've got a WinPE disk image with some partition fixing software >> > I'm wanting>> > to try, but when the VM boots into the partition software, the >> > only thing>> > that works under VNC is the Tab key (!). No other keys, no mouse.>> > >> > I'm guessing I need to load some additional drivers to get this to >> > play>> > nice, but can anyone possibly tell me what drivers I need to get >> > additional>> > input working in Windows under Bhyve? >> > >> > Thank you in advance for any and all help, >> > Darren >> > _______________________________________________ >> > 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" >> _______________________________________________ >> 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"