From owner-freebsd-current@freebsd.org Sat Jan 19 13:27:32 2019 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 B130B14A9520 for ; Sat, 19 Jan 2019 13:27:32 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-ztdg10021101.me.com (pv50p00im-ztdg10021101.me.com [17.58.6.44]) (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 DA79081645 for ; Sat, 19 Jan 2019 13:27:31 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-ztdg10021101.me.com (Postfix) with ESMTPSA id B1ECF18011E; Sat, 19 Jan 2019 13:27:22 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: GPT boot has less features than legacy MBR-based one (Was: UEFI, loader.efi and /boot.config) From: Toomas Soome In-Reply-To: <912985968.20190119125228@serebryakov.spb.ru> Date: Sat, 19 Jan 2019 15:27:20 +0200 Cc: Warner Losh , Emmanuel Vadot , "Rodney W. Grimes" , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <5CE830A3-27A1-4586-8742-0ED3803EC520@me.com> References: <201901181935.x0IJZ4tX057034@pdx.rh.CN85.dnsmgr.net> <49056065-1e62-f0dc-c7a4-8c358de4266e@FreeBSD.org> <20190118221013.81c8729c7bf17038e1823b52@bidouilliste.com> <912985968.20190119125228@serebryakov.spb.ru> To: Lev Serebryakov X-Mailer: Apple Mail (2.3445.102.3) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-19_08:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=18 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1901190110 X-Rspamd-Queue-Id: DA79081645 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_COMPOSITE_RCVD_IN_DNSWL_MED_DWL_DNSWL_LOW(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[me.com]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_FIVE(0.00)[5]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[me.com:+]; RCVD_IN_DNSWL_MED(-0.20)[44.6.58.17.list.dnswl.org : 127.0.5.2]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; MX_GOOD(-0.01)[cached: mx1.mail.icloud.com]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; RECEIVED_SPAMHAUS_PBL(0.00)[148.52.235.80.zen.spamhaus.org : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[me.com]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[me.com:s=04042017]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-1.50)[ip: (-4.52), ipnet: 17.58.0.0/20(-1.55), asn: 714(-1.38), country: US(-0.08)]; DWL_DNSWL_LOW(0.00)[me.com.dwl.dnswl.org : 127.0.5.1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[44.6.58.17.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Sat, 19 Jan 2019 13:27:32 -0000 > On 19 Jan 2019, at 11:52, Lev Serebryakov wrote: >=20 > Hello Warner, >=20 > Saturday, January 19, 2019, 12:17:29 AM, you wrote: >=20 >> Also most UEFI BIOSes I've used (which isn't a lot) allow one to = choose >> which BootXXXX variable to use to boot. Some will even create new = BootXXXX >> variables that they use when you choose a raw device to boot from. > I have never seen such item in BIOS Setup. I've checked two MoBos now = (one is > Supermicro X9something and other is brand-new Goldmont-based Chinese = MiniPC > like Intel NUK): both have one knob in setup about boot type > (Legacy/UEFI/Auto) and if UEFI is selected, Supermicro MoBo (but not = Chinese > one) could be booted to "UEFI Console" which is not documented = anywhere. >=20 > Ok, I've checked my desktop Asus Z170-A, but it is graphical and I = could > not find or understand anything in this home-rown UI with crazy-fast = mouse. >=20 > I have never seen documentation in MoBo manuals about such features, = BTW. >=20 > And, again, GPT/Legacy still left behind, and it could be very useful = for > small systems, as sometimes 4 partitions of MBR is not enough (2 code > partitions + 1 config partition + 1 persistent data partition, and > SOMETIMES, there is place for swap, for example, but MBR is full = already). >=20 you can always create BSD label inside MBR slice. Also you can add = chain_disk=3Ddevicename: into loader.conf and get same one key = selection in boot menu (or Boot Enviroments for that matter). There is = no need to struggle with 446 byte asm code when you have full power from = your boot loader. rgds, toomas