From owner-freebsd-questions@freebsd.org Tue May 26 17:57:11 2020 Return-Path: Delivered-To: freebsd-questions@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 C7EA32CF3D0 for ; Tue, 26 May 2020 17:57:11 +0000 (UTC) (envelope-from salvatorembartolotta@libero.it) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49WhVv4LpNz4cNf for ; Tue, 26 May 2020 17:57:11 +0000 (UTC) (envelope-from salvatorembartolotta@libero.it) Received: by mailman.nyi.freebsd.org (Postfix) id 939762CF3CF; Tue, 26 May 2020 17:57:11 +0000 (UTC) Delivered-To: questions@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 935E12CF3CE for ; Tue, 26 May 2020 17:57:11 +0000 (UTC) (envelope-from salvatorembartolotta@libero.it) Received: from libero.it (smtp-31-i2.italiaonline.it [213.209.12.31]) (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 49WhVt3Hbtz4cQW for ; Tue, 26 May 2020 17:57:10 +0000 (UTC) (envelope-from salvatorembartolotta@libero.it) Received: from oxapps-36-163.iol.local ([10.101.8.209]) by smtp-31.iol.local with ESMTPA id ddp5jY9qRGrpJddp5jZkF5; Tue, 26 May 2020 19:57:07 +0200 x-libjamoibt: 1601 X-CNFS-Analysis: v=2.3 cv=Ief5plia c=1 sm=1 tr=0 a=fBROpUeZSIJVkaCHzo7K7A==:117 a=DZuTm48PCEMA:10 a=IkcTkHD0fZMA:10 a=ZWAY9u5Z9IIA:10 a=w6ZPYIgxMwzNPHskkuoA:9 a=QEXdDO2ut3YA:10 Date: Tue, 26 May 2020 19:57:07 +0200 (CEST) From: salvatorembartolotta@libero.it To: questions@freebsd.org Message-ID: <1590634251.1341132.1590515827296@mail1.libero.it> Subject: rEFInd and _two_ FREEBSD systems on the same disk on the same UEFI laptop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.1-Rev30 X-Originating-IP: 151.63.32.103 X-Originating-Client: open-xchange-appsuite x-libjamsun: xqvFIXtU9cVQvdZXoTkn0P6GXcpw4rKir8KwS+mxE0o= x-libjamv: F5ZuU3KwGng= X-CMAE-Envelope: MS4wfOs0oLtWxIvoc9y2Jd15iJ/SKdeR2QQhXqS8hLAFGYWJRNvLejF7z//u9y/zZ6d5UINfHuE2UoX+IInk5/13z6F2/CImR2v1xxq7PHWoNuDKatDAtcTl BxJnqzCHPJOMu0y4O+XH+xd5S14SUPOkJNkndwhlVy34ph23Sl5Ju0ZkNfgbOZ+dL2r6iwzEM8h7uz1d0dP3lZ17NBEXTMgtZ0Q= X-Rspamd-Queue-Id: 49WhVt3Hbtz4cQW X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.93 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; FREEMAIL_FROM(0.00)[libero.it]; R_SPF_ALLOW(-0.20)[+ip4:213.209.8.0/21]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[libero.it:+]; DMARC_POLICY_ALLOW(-0.50)[libero.it,quarantine]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.91)[-0.910]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[libero.it]; ASN(0.00)[asn:8660, ipnet:213.209.0.0/18, country:IT]; DWL_DNSWL_NONE(0.00)[libero.it:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.979]; R_DKIM_ALLOW(-0.20)[libero.it:s=s2014]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.04)[-1.039]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[213.209.12.31:from]; WHITELIST_SPF_DKIM(-3.00)[libero.it:d:+,libero.it:s:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[213.209.12.31:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2020 17:57:11 -0000 Good afternoon, Has anyone installed two BSD (say -RELEASE and -STABLE) on the same disk on the same UEFI machine using rEFInd? Setting up dual booting - Windows 10 and FreeBSD-whatever - via rEFInd is just a matter of bcdediting a path and copying the appropriate .efi files. (duh). The /boot/boot1.efi copied in \EFI\FreeBSD-STABLE does its job and loads the _first_ FreeBSD system, as says uefi(8). What if I want to boot _another_ FreeBSD system on the _same_ GPT-partitioned disk? Specifying the GUID of the partition in the menuentry stanza i.e. ... volume GPTGUID loader boot/boot1.efi .... isn't enough and does not work(TM). I suppose rEFInd_x64.efi can't access the second system without an appropriate ufs driver. There are, indeed, drivers for linux filesystems (ext2, ext4, etc.) in the rEFInd directory. And FreeBSD? How am I supposed to solve the problem _within_ FreeBSD with rEFInd? My apologies for the crazy/mad question and many thanks in advance for your help, pointers, suggestions.