From owner-freebsd-virtualization@freebsd.org Wed Jan 23 20:00:54 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 7B39C14B1463 for ; Wed, 23 Jan 2019 20:00:54 +0000 (UTC) (envelope-from darrendavid@gmail.com) Received: from mail-it1-x12f.google.com (mail-it1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8307088AE0 for ; Wed, 23 Jan 2019 20:00:53 +0000 (UTC) (envelope-from darrendavid@gmail.com) Received: by mail-it1-x12f.google.com with SMTP id m62so1106534ith.5 for ; Wed, 23 Jan 2019 12:00:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DkGSyS0DoJat9Lb6/aV5lb+g+mhnCFb2YYHMc2fhb1w=; b=EbpJnCcOLpdx+wPsDcDJcabGlCped8AtbGlPKA3Xqk1khzG0DQuVqQ9qDeD9Nh2Keg DCCK65lDvLxWgMM05Gs1D+PEwQE2spNUQA/S0Qdv/jIeA1hQrpDDDG4oFgTCcJtnLOwn nqk3fp9dPKJ+BCb13NAPcCC3vFMfMIo1pPHGp3RsjG9Tigbaba965g+SNEaNMNOceoyW 22rojoaOVCgphn6XdBFwAr1+jFDwTm6TN8+4LkaJx5zoquE04k2XzbpRsjcjFaZrGBEM x7KMl7ZrT0At9fQSF+jTQQ27iOUB41P9jKsimnpS38Y8QbxWcKZBq2gTB6HCD1Zjib8r +z+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DkGSyS0DoJat9Lb6/aV5lb+g+mhnCFb2YYHMc2fhb1w=; b=ZjPv28knWwdfS/mJC6o4DPZLkpKPX2Eyg12iLGIXKkQcvvDV1Sc2eM4turJVgZxm5u G/mmim4FtNJaUigRLbYndGAabgX6TsLwIrAbQcZ8Guyy3p4fgol/IlKKBEiIa5eCrzD1 /AdnSFVurevhzKhTYOTR8l3Cq8rcnnq36Vy7BZin2fQPADejhqMQ2seC/5WHxhXnZfeL Vk/9YXHRyOFERrNkQL3pLBkOrVnHG9MQb9qzR1ruZHtrEtjPeQqg0B30M88s9xcZDMpY x3usIA+pjxBq5rqhaI7EDSCe5gVTrtGGwzyHHdmObIceP8lq8MQjH48DPMQ8zcHW5MgY pqwQ== X-Gm-Message-State: AJcUuke7zZ+xTXAOHXvtoJiJ0gqYqyGo9oCDFC/y7SfM5ScuJiBTnG4N gINMMUokd1eq8jrDpdtV5DLpdoyWUAubtGqpDqc= X-Google-Smtp-Source: ALg8bN5xfSbawGMdUGXjXgEpSdIAphKEbq4fYHokfewxQPCR/j4d4a/AKd3iFIvWyPyawkQ5HDZFrlBuCWtM1aMqykE= X-Received: by 2002:a24:c187:: with SMTP id e129mr2933306itg.68.1548273652512; Wed, 23 Jan 2019 12:00:52 -0800 (PST) MIME-Version: 1.0 References: <1548272228.1450234.1641981832.6112D0A4@webmail.messagingengine.com> In-Reply-To: <1548272228.1450234.1641981832.6112D0A4@webmail.messagingengine.com> From: Darren David Date: Wed, 23 Jan 2019 12:00:27 -0800 Message-ID: Subject: Re: Installing drivers onto WinPE image for bhyve To: Jason Barbier Cc: freebsd-virtualization@freebsd.org X-Rspamd-Queue-Id: 8307088AE0 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=EbpJnCcO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of darrendavid@gmail.com designates 2607:f8b0:4864:20::12f as permitted sender) smtp.mailfrom=darrendavid@gmail.com X-Spamd-Result: default: False [-6.66 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[f.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.66)[ip: (-8.86), ipnet: 2607:f8b0::/32(-2.47), asn: 15169(-1.90), country: US(-0.08)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" 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:00:54 -0000 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" >