From owner-freebsd-hackers@freebsd.org Fri Jan 15 12:47:32 2016 Return-Path: Delivered-To: freebsd-hackers@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 91E78A84EB1 for ; Fri, 15 Jan 2016 12:47:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 4FC0A1C95; Fri, 15 Jan 2016 12:47:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aK3mo-000GhZ-VQ; Fri, 15 Jan 2016 15:47:26 +0300 Date: Fri, 15 Jan 2016 15:47:26 +0300 From: Slawa Olhovchenkov To: Steven Hartland Cc: Renato Botelho , Eric McCorkle , freebsd-hackers@freebsd.org, Gabor Radnai Subject: Re: EFI/ZFS Update: successful tests, need more complex vdevs Message-ID: <20160115124726.GR4535@zxy.spb.ru> References: <9418E44F-114E-4ABA-A32D-416297BCDA9F@metricspace.net> <56985C6A.6040209@multiplay.co.uk> <5698E483.4000808@multiplay.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5698E483.4000808@multiplay.co.uk> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2016 12:47:32 -0000 On Fri, Jan 15, 2016 at 12:22:27PM +0000, Steven Hartland wrote: > On 15/01/2016 11:51, Renato Botelho wrote: > >> On Jan 15, 2016, at 00:41, Steven Hartland wrote: > >> > >> Just wanted to let everyone know that I just finished committing these changes to the tree. > >> > >> Huge thanks to Eric's for his work on this, as well as everyone else who contributed. > >> > >> I've set the target for MFC of 2 weeks, so I hope to be able to get this into stable/10 before the 10.3 slush, so if you're interested in this change please test a head build > r294068 ASAP. > > Great work, thanks! > > > > Is there a way to move a installed ZFS system to EFI? > > All EFI needs is an valid EFI partition on a GPT disk and the updated > loader.efi so if your devices is GPT based and you have space for an > extra 800k partition then yes. > > The following should be the basic steps you need (untested so backup > your data) > 1. gpart add -t efi -s 800k > 2. gpart bootcode -p /boot/boot1.efifat -i > 3. Ensure your root filesystem has EFI ZFS boot compatible world e.g. > cd /usr/src && make buildworld -jXX && make installworld > > If you have an active MBR then you will likely need to disable this as > EFI seems to ignore disks with active MBR even if they have a valid EFI > partition. What you mean "active MBR" and "ignore disks with active MBR"? > If you don't have space then you'll need to migrate to a difference > device to change the disk partition layout. > > Regards > Steve > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"