Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2016 08:10:05 +0100
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Harry Schmalzbauer <freebsd@omnilan.de>, freebsd-stable@freebsd.org
Subject:   Re: boot1.efifat's FAT12 volume label prevents booting (some systems)
Message-ID:  <6230313A-3141-44F9-B056-4CAD8536B6FE@punkt.de>
In-Reply-To: <B2D1285B-917A-43DA-9A45-EFA92E0C9463@FreeBSD.org>
References:  <581F4748.9030706@omnilan.de> <B2D1285B-917A-43DA-9A45-EFA92E0C9463@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_1427A05D-6AFF-4127-BB56-C7016DBC7E1C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi, all,

> Am 06.11.2016 um 18:14 schrieb Dimitry Andric <dim@freebsd.org>:
>=20
> Please do, so it is not forgotten.  It is relatively easy to change =
the
> volume label, by editing sys/boot/efi/boot1/generate-fat.sh, and then
> regenerating the FAT templates.

Why use the pre-generated image at all when you can easily
create the EFI boot volume like this?

gpart add -t efi -l efi -a 512k -s 512k <device>
newfs_msdos /dev/gpt/efi
mount_msdosfs /dev/gpt/efi /mnt
mkdir -p /mnt/efi/boot
cp /boot/boot1.efi /mnt/efi/boot/bootx64.efi
umount /mnt


Kind regards,
Patrick
--
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info@punkt.de       http://www.punkt.de
Gf: J=C3=BCrgen Egeling      AG Mannheim 108285


--Apple-Mail=_1427A05D-6AFF-4127-BB56-C7016DBC7E1C
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJYICjOAAoJEJBvLuLt2olc49cH/jKcodud0ajSz7nBT9+cfwv2
q1myPDTstBFCyd+KuF8OhtYbI9GwBtxSXuLIy9HXzTSezPV1NkPegs4ZTFnOSeEA
FOCMOl4q6LoMKbo2ccnrx6VTyKziBYeJlIeSlVaiHhzBDobJ2SeP84GSsTI/w0Ol
FrX7of31sOpSqOLQrUAeLGaFNi66efpBsodN15VbC3X8yp2/PazeHMu8IwgMV4bF
flDjt8P1ETidiNKl3V5MYB2AU77O3Ctvt/IsiN/RY3/3BQiecVyEWXvlshlFqdV0
B83W9FMDFtF9XMoosdkznSuDExqvpNKshB+t3SlfwJzOtpuoIVm4t7zeOGTGaVM=
=wUWa
-----END PGP SIGNATURE-----

--Apple-Mail=_1427A05D-6AFF-4127-BB56-C7016DBC7E1C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6230313A-3141-44F9-B056-4CAD8536B6FE>