From owner-freebsd-current@freebsd.org Sun Sep 23 22:15:30 2018 Return-Path: Delivered-To: freebsd-current@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 E5BDF109B871 for ; Sun, 23 Sep 2018 22:15:29 +0000 (UTC) (envelope-from allanjude@FreeBSD.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (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 9B33685A7F; Sun, 23 Sep 2018 22:15:29 +0000 (UTC) (envelope-from allanjude@FreeBSD.org) Received: from android-f37ecd244ba9fba3.localdomain (unknown [85.186.98.118]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 3D0471CCEC; Sun, 23 Sep 2018 22:15:22 +0000 (UTC) Date: Mon, 24 Sep 2018 01:15:17 +0300 User-Agent: K-9 Mail for Android In-Reply-To: References: <6ebccd3b-5849-4ace-1b20-6afabade91e1@freebsd.org> <966F98F8-B11B-43DF-B283-9EE7FAF4E212@dpdtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: UEFI layout includes a freebsd-boot? To: freebsd-current@freebsd.org, Sean Bruno , "David P. Discher" CC: freebsd-current From: Allan Jude Message-ID: <8AD96C7F-258B-4F8D-B931-DCB86FD48C05@FreeBSD.org> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2018 22:15:30 -0000 On September 24, 2018 12:58:40 AM GMT+03:00, Sean Bruno wrote: > > >On 9/23/18 3:57 PM, David P=2E Discher wrote: >> This is correct for a EFI+BIOS map=2E If the installer did this for an >EFI >> only map, then that is a bug=2E >>=20 > >Is it supposed to "Detect" BIOS vs UEFI booting in the installer? > >sean > >> My 12-Alpha7 install I just did, with BIOS only: >>=20 >> dpd@amd:~ % gpart show >> =3D> =C2=A0 =C2=A0 =C2=A0 40 =C2=A0234441568 =C2=A0ada0 =C2=A0GPT =C2= =A0(112G) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A040 =C2=A0 =C2=A0 =C2=A0 1024 =C2=A0 = =C2=A0 1 =C2=A0freebsd-boot =C2=A0(512K) >> =C2=A0 =C2=A0 =C2=A0 =C2=A01064 =C2=A0 =C2=A0 =C2=A0 =C2=A0984 =C2=A0 = =C2=A0 =C2=A0 =C2=A0- free - =C2=A0(492K) >> =C2=A0 =C2=A0 =C2=A0 =C2=A02048 =C2=A0 =C2=A04194304 =C2=A0 =C2=A0 2 = =C2=A0freebsd-swap =C2=A0(2=2E0G) >> =C2=A0 =C2=A0 4196352 =C2=A0230244352 =C2=A0 =C2=A0 3 =C2=A0freebsd-zfs= =C2=A0(110G) >> =C2=A0 234440704 =C2=A0 =C2=A0 =C2=A0 =C2=A0904 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- free - =C2=A0(452K) >>=20 >>=20 >>=20 >> The =E2=80=9Cfree=E2=80=9D section seems a bit aggressive (large) =E2= =80=A6 assuming for >sector >> alignment=2E =C2=A0( Would be cool for future feature if freebsd-boot c= an be >> encapsulated in the EFI partition=2E )=C2=A0 >>=20 >>=20 >> -- >> David P=2E Discher=C2=A0 >> https://davidpdischer=2Ecom/ >> dpd@dpdtech=2Ecom >>=20 >>> On Sep 23, 2018, at 1:57 PM, Sean Bruno >> > wrote: >>> >>> I don't think this layout from the installer is correct, but I could >be >>> wrong=2E =C2=A0Is there any reason to have a freebsd-boot in this layo= ut >>> created by the installer when using UEFI? >>> >>> % gpart show >>> =3D> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A040 =C2=A0537234688 =C2=A0ada0= =C2=A0GPT =C2=A0(256G) >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A040 =C2=A0=C2=A0=C2=A0= =C2=A0409600 =C2=A0=C2=A0=C2=A0=C2=A01 =C2=A0efi =C2=A0(200M) >>> =C2=A0=C2=A0=C2=A0=C2=A0409640 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0102= 4 =C2=A0=C2=A0=C2=A0=C2=A02 =C2=A0freebsd-boot =C2=A0(512K) >>> =C2=A0=C2=A0=C2=A0=C2=A0410664 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0984 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0- free - =C2=A0(492K) >>> =C2=A0=C2=A0=C2=A0=C2=A0411648 =C2=A0=C2=A067108864 =C2=A0=C2=A0=C2=A0= =C2=A03 =C2=A0freebsd-swap =C2=A0(32G) >>> =C2=A0=C2=A067520512 =C2=A0469712896 =C2=A0=C2=A0=C2=A0=C2=A04 =C2=A0f= reebsd-zfs =C2=A0(224G) >>> =C2=A0537233408 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01320 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0- free - =C2=A0(660K) >>> >>> >>=20 I made the default (for both UEFI and legacy iirc) be both, so you can fli= p back and forth at will=2E Especially since UEFI is going to be 200mb or m= ore now, better to reserve the same and not need it than the other way arou= nd=2E --=20 Allan Jude