From owner-freebsd-virtualization@freebsd.org Wed Jan 13 18:11:37 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0881CA816D5 for ; Wed, 13 Jan 2016 18:11:37 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FAE411A6 for ; Wed, 13 Jan 2016 18:11:36 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: by mail-lb0-x230.google.com with SMTP id bc4so294608402lbc.2 for ; Wed, 13 Jan 2016 10:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XMJSV698Imju0o1SsyJCXyM21MMrkf1eIOr3TXZA26Q=; b=g8+FIMXZed/xtKwa8i38O87aBOxKt3xY8hg1mADYuwZEins/NIyb94n+tZ86rrua22 TqJzYiwnllc5MQ/IxT7fO7BmhB5lsdPfuGdbdmJ5eSEswBNZvPaGdMfB1RUdLZyWy7ds 8ckkCG1wBARe6HkjM7D30GQ84vHGzrAHfMxZU2Q+295KGDG2wG+BkETIJtLRbRDTgA9t jyI11hEyAEvM7fl9LDbiz1yOnEYGdIrnfe+zJE6PD0IXysPQT9dgw3V5xu5wJvoCXy6u MY2KWBkmKTqIDOq+f2KdJjXsltfr3j07b84bqpzo0WPVjWrYqmg+muGcxdoCTGGTbLaC YiDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=XMJSV698Imju0o1SsyJCXyM21MMrkf1eIOr3TXZA26Q=; b=M3tM6Z5xygiVPOSqNbCn2tAkFWDxURZLb1obvInTUNSH2VWgb8gWyJfeCuV+ahq+QD WxVwVRETqOfxTE6/nzu3pdFhmeLzJpFPUZotjWQf3dNxQ1Yi2IDWsVCTKD0l8S1a4IYM GwqzU79OGEVK6QNTxKNzmWw08PImrHdsA4k2fPHWf1u2i1yRQUjO4YRIWlSa/2CkK1aP wK3a4Sro11/VS/UNnIKiHBBdHzsbvb4WUnPP6nK4tTf1OPlVLBFKppPYq5VP538NGCH+ 1ekUz6WGw6G6sl+LrdSsKM0ka9Q8pDacZvSjrBEopwkNu06nfNlcUt8JdGxty/LxW0iC OzlA== X-Gm-Message-State: ALoCoQloaV29n8cagxs8jGcj1suSOQXTLsQoiuqidy5ApVDnBuEWv5K4AuaTwjKPEeqtTlXlZtlgiiFCueNrzNXk2OXBV1E7bw== MIME-Version: 1.0 X-Received: by 10.112.157.69 with SMTP id wk5mr51501374lbb.74.1452708693346; Wed, 13 Jan 2016 10:11:33 -0800 (PST) Received: by 10.25.170.83 with HTTP; Wed, 13 Jan 2016 10:11:33 -0800 (PST) In-Reply-To: <1452703487.2393.2.camel@yahoo.com> References: <1452703487.2393.2.camel@yahoo.com> Date: Wed, 13 Jan 2016 11:11:33 -0700 Message-ID: Subject: Re: UEFI with Linux guests From: Trent Thompson To: Georgios Amanakis Cc: FreeBSD virtualization Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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, 13 Jan 2016 18:11:37 -0000 George, I've had limited success in running Linux guests using UEFI. When using the NON-CSM firmware, I can manually edit the GRUB menu to force a serial console to be used. I can then boot into the install environment and get the distro installed to the hard disk. After installation is done, I can start the guest with UEFI firmware again and have a usable OS. There is a pretty major catch though, after I destroy the guest using bhyvectl, then try to boot it once more with UEFI, it will fail to boot correctly (hard drive error, if I recall). I never got as far as trying it out with the CSM firmware, though. I've tried this on a few different Linux "flavors" but I have not tried Arch specifically. I hope any of this helps! -Trent