Date: Wed, 30 Oct 2019 23:02:29 +0700 From: Victor Sudakov <vas@sibptus.ru> To: freebsd-questions@freebsd.org Subject: Re: replacing zfs disk (freebsd-boot vs freebsd-efi) Message-ID: <20191030160229.GA97870@admin.sibptus.ru> In-Reply-To: <c2bb2150-586f-cd40-ff28-ce4def01d200@sentex.net> References: <5bf91c8b-a101-a174-a08b-cda42a43a0b5@sentex.net> <20191030085329.GA77044@admin.sibptus.ru> <c2bb2150-586f-cd40-ff28-ce4def01d200@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable mike tancsa wrote: [dd] > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0 > > The above ^^^^^ should be unnecessary. Your UEFI firmware will find the > > partition of the "efi" type and try to load /EFI/BOOT/BOOTX64.EFI from > > there, which in turn will sniff your ZFS filesystems for the loader. >=20 > I think FreeBSD's install added it by default. I wonder if that was done > to make the disks portable between EFI and non EFI systems ? I will have > to test to see if thats the case. If you select "GPT (UEFI)" during installation, FreeBSD's install does not even create a freebsd-boot partition. If you select "GPT (BIOS)", it may create it, I think. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --huq684BweRXVnRxX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdubQVAAoJEA2k8lmbXsY0HAYIAKBIi3HJXKbZPKqn5QNfr54D woDCd0mMfmYxIjsYaYL3Syj1ALBcFmeml+u9yTH0cwzmu3C40bLhx81cQkPWmqdI WQtyfoxFNOQQAOvvPCJaz5yQdJRf5s/yGXiMOKTPg5/AoNTFXqH1pP06Gr/95dMC 66VUrqCvjpXRoI9gHSQyt1Ut6qCruV8uj6oc2nCIVHfHp2BOvJrGhOlOqAP5CyWc k37ItB9vDRsFiDNO8xk1+zXAI2coKQxsst49DZ0UKZjEp/cfit5xVy3sYaMLaoon IPwxCdHW3U+UHU4TjZ9by7Z9OONFLBmb6f/PMgTOAYxm0k/I2xreZezMOg8FskE= =LNq/ -----END PGP SIGNATURE----- --huq684BweRXVnRxX--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191030160229.GA97870>