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

next in thread | previous in thread | raw e-mail | index | archive | help
Bezüglich Patrick M. Hausen's Nachricht vom 07.11.2016 08:10 (localtime):
> Hi, all,
> 
>> Am 06.11.2016 um 18:14 schrieb Dimitry Andric <dim@freebsd.org>:
>>
>> 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

It's what bsdinstall seems to do, which left the system unbootable, not
what I do.


> 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

You are missing startup.nsh...
See
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214282https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214282

-Harry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5820359F.7050307>