From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 17 01:07:19 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88948DAB; Wed, 17 Sep 2014 01:07:19 +0000 (UTC) Received: from mail.westryn.net (mail.westryn.net [199.48.135.251]) (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 65AA1883; Wed, 17 Sep 2014 01:07:19 +0000 (UTC) Received: from sneffels.westryn.net (225x169.ouraynet.com [204.16.225.169]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.westryn.net (Postfix) with ESMTPSA id 948849432D3; Tue, 16 Sep 2014 18:59:31 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Resuming old EFI project From: Kim Shrier In-Reply-To: <541714E0.90609@freebsd.org> Date: Tue, 16 Sep 2014 18:57:39 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <54159AC5.1010800@metricspace.net> <1410716250.4174.3.camel@bruno> <5415F505.3070206@metricspace.net> <541604F1.9010402@freebsd.org> <5416D6EB.7020803@metricspace.net> <541714E0.90609@freebsd.org> To: "freebsd-hackers@freebsd.org" X-Mailer: Apple Mail (2.1878.6) Cc: Eric McCorkle , Nathan Whitehorn X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2014 01:07:19 -0000 On Sep 15, 2014, at 10:33 AM, Nathan Whitehorn = wrote: >=20 > On 09/15/14 05:09, Eric McCorkle wrote: >> On 09/14/2014 17:13, Nathan Whitehorn wrote: >>=20 >>>>> What specifically are you looking to work on? >>>>>=20 >>>>=20 >>>> Well, I had been trying to get it to boot on a mac EFI = implementation >>>> as well. There's some funny things that have to happen there >>>> (notably, an HFS+ image). >>>=20 >>> People seem to have had luck with our FAT32 EFI system partitions on >>> macs so far, but this in general is one of the big missing bits: = hunting >>> down weird firmwares, testing them, and fixing them when they don't >>> work. We also need the EFI boot1 both to (a) have a better algorithm = for >>> finding the right UFS partition to boot from and (b) learn how to = boot >>> from ZFS as well as UFS. >>=20 >> I have a 100% ZFS system, so the current boot block doesn't work for = me (though I can tell it's being loaded and run). GELI should probably = be added to that list as well... >>=20 >> I assume the best thing would be to link in the ZFS code? Or would = it be better to install loader into the system partition as well? >>=20 >=20 > It's hard to integrate having loader on the ESP with the way loader = and installworld work, so better to keep it on UFS/ZFS. The sparc64 = boot1, on which the UEFI boot1 is based, has ZFS support already, so = that's the place to look I think. > -Nathan I have a mac-mini server that I purchased in October 2013. I would like = to use GPT on the internal drives and boot FreeBSD. I currently have = the drives using MBR and booting FreeBSD 10.0. I understand that in = order to use GPT instead, I have to have an Apple_boot partition that = would then boot FreeBSD. Are the UEFI code and disk partitioning tools = able to handle this? I am also interested in switching from UFS to ZFS. = Is that possible? I have looked around in the source some, and it appears that most of the = pieces are there but maybe not tested. I am willing to use this = mac-mini as a test bed and I would be willing to help iron out any = issues. Kim