From owner-freebsd-current@freebsd.org Tue Mar 17 13:50:01 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B673E2669FD; Tue, 17 Mar 2020 13:50:01 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from dec.sakura.ne.jp (dec.sakura.ne.jp [210.188.226.8]) (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 48hZKz0PHPz3xCs; Tue, 17 Mar 2020 13:49:58 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (124-18-96-116.dz.commufa.jp [124.18.96.116]) (authenticated bits=0) by dec.sakura.ne.jp (8.15.2/8.15.2/[SAKURA-WEB]/20080708) with ESMTPA id 02HD79fA070588; Tue, 17 Mar 2020 22:07:10 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 17 Mar 2020 22:07:09 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Cc: bsd-lists@BSDforge.com, freebsd-stable@freebsd.org Subject: Re: what 3rd party boot mgr is required to boot multiple freebsd versions? Message-Id: <20200317220709.7f373ad9ed39ebb07878ac42@dec.sakura.ne.jp> In-Reply-To: References: <89828bad8ceede6e2377dde200d98a98@udns.ultimatedns.net> Reply-To: junchoon@dec.sakura.ne.jp Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48hZKz0PHPz3xCs X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 210.188.226.8) smtp.mailfrom=junchoon@dec.sakura.ne.jp X-Spamd-Result: default: False [6.18 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[junchoon@dec.sakura.ne.jp]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; HAS_ORG_HEADER(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[116.96.18.124.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:9370, ipnet:210.188.224.0/19, country:JP]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; IP_SCORE(1.78)[ipnet: 210.188.224.0/19(4.95), asn: 9370(3.93), country: JP(0.04)]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body] X-Spam: Yes 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: Tue, 17 Mar 2020 13:50:01 -0000 On Tue, 17 Mar 2020 01:31:59 +0300 Andrey Fesenko wrote: > On Tue, Mar 17, 2020 at 1:24 AM Chris wrote: > > > > I'm attempting to boot multiple versions of FreeBSD. > > I started with an install of older 11 with a (u)efi > > boot partition installed. I then grabbed an current 11 > > usbstick, and installed that. Which stated it needed to > > install a (u)efi boot partition. I let it do it. But the > > new (additional) install doesn't show up at boot. Altho > > my UEFI BIOS sees it. > > I guess there are just too many uefi bios versions, > > and too many changes in the FreeBSD uefi boot code > > to expect consistent results over the long haul. > > Should I just convert the 1st efi (GPT) boot partition > > to a PMBR, and delete the second efi partition. Or is > > there a recommended bootmanager I can use to boot multiple > > versions of FreeBSD? Windows? > > > > upgrade system and use > https://www.freebsd.org/cgi/man.cgi?query=efibootmgr&sektion=8&manpath=freebsd-release-ports > ;) > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Or if you want boot-time selection, try the patch proposed on Bug 207940 [1]. efibootmgr can be used only for "next boot and later", IIUC. The latest patch is for head and stable/12. Applicable on top of /usr/src. Patch for stable/11 is NOT tested / maintained for more than one year, so possibly doesn't apply / work anymore. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207940 -- Tomoaki AOKI