From owner-freebsd-virtualization@freebsd.org Thu Jan 14 03:27:02 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 8D89EA6D5D2 for ; Thu, 14 Jan 2016 03:27:02 +0000 (UTC) (envelope-from g_amanakis@yahoo.com) Received: from nm16-vm3.bullet.mail.ne1.yahoo.com (nm16-vm3.bullet.mail.ne1.yahoo.com [98.138.91.146]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5308718EA for ; Thu, 14 Jan 2016 03:27:01 +0000 (UTC) (envelope-from g_amanakis@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1452741887; bh=LKgeED91t0tQJLne9b5E11F3PwXUuzvmBwF2on5xE3w=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From:Subject; b=HVajom4dSjFwvInLIEcKm1tNJib5DYK7tMWwDXLmvU6KkheyPjCvYH2MNznrjHu3ApielHYP6Rt9FyLVbrzFpEdYLWcs8Dat3iGaO4RY3w/ziFyfK5/f1sOZWm5JB7qY9Pr6++6PNJ3oyFPCHlxxCI6C9PQZbN8R37n1MDVn7F/8Ns5Qjz6N4NpC/pacvLrOaNX3AXV3EirtWekEtbOmwb32cBwrFqscc8d29zb3fbhzmhr/wxPMDMED+jdfge89TBt8KJ/caAIlNFDJrzAMHBHO9SpKRDUDXKHRebAkk1wtX/l0PEFS6BzJs7Pu7pFgyE5MRPr/lqE4OIykqnLKEQ== Received: from [98.138.100.102] by nm16.bullet.mail.ne1.yahoo.com with NNFMP; 14 Jan 2016 03:24:47 -0000 Received: from [98.138.84.46] by tm101.bullet.mail.ne1.yahoo.com with NNFMP; 14 Jan 2016 03:24:47 -0000 Received: from [127.0.0.1] by smtp114.mail.ne1.yahoo.com with NNFMP; 14 Jan 2016 03:24:47 -0000 X-Yahoo-Newman-Id: 432415.25522.bm@smtp114.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: upy4VzcVM1knhbT3.goUZdgaRbZ05kxtuHddTuBhxQxP3kx hLie4IAWZT2C4tWyMPwzIWHfJuHxelY.9WoOPmD6wJR5ZUMG48IGO2XqwaxS 966RBV8uX9ccOTWfgSxXCxqXTihH6UMucHSInIWfXGPH6ptItIyLbWGHy_ue hAOKQ_tOON3Z3m8vnLpgAaE_mrhdmouFWivxJbigOymZCOVHI.D5FDLNlR5a 5GZaKtpO3mwG8AZu_lVBHapMvRsuQGdJK9yVGgKyHokDvxIy4srDTW5cF.p5 qCeO.HHJSydAhhhMr.KeYso3GUfNJgQwuaF1ufWvIHqWaQzgjgpFA2Stm3yC voI9bqxylsdkyYb5SQpnCa4SC5UT9mIhaWx7E5cBzyXdLEZwl5Uz9VmA45y6 sNd9aBjqS.v2BRVoWdRDStfae6HpXmsovyQupNvpJoEMX.2sNylGpJryek1A IqZ0ny6_01BssE2CgrtkAUjdUMW0hzuEJjXTHq2OvvWmVL7soydiwW96RPBq QQohNTWz4ezo0JwOi8Tvy40u3vszXG4N69A-- X-Yahoo-SMTP: 6sUo5IiswBDB2TZm6JKJ6DaI.Rsz4O0- Message-ID: <1452741886.7959.1.camel@yahoo.com> Subject: Re: UEFI with Linux guests From: Georgios Amanakis To: Trent Thompson Cc: FreeBSD virtualization Date: Wed, 13 Jan 2016 22:24:46 -0500 In-Reply-To: References: <1452703487.2393.2.camel@yahoo.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.3 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: Thu, 14 Jan 2016 03:27:02 -0000 Trent, Thank you for the valuable feedback. Indeed I successfully run archlinux by using the UEFI binaries on the bhyve FAQ page and appending "console=3DttyS0" to the boot option of GRUB. Regards,=C2=A0 George On Wed, 2016-01-13 at 11:11 -0700, Trent Thompson wrote: > George, >=20 > 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.=C2=A0 >=20 > 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.=C2=A0 > 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). >=20 > I never got as far as trying it out with the CSM firmware, though.=C2=A0= =C2=A0 >=20 > I've tried this on a few different Linux "flavors" but I have not > tried Arch specifically.=C2=A0 >=20 > I hope any of this helps! >=20 > -Trent >=20