Am Tue, 16 Sep 2014 00:09:01 -0700 Nathan Whitehorn <nwhitehorn_at_freebsd.org> schrieb: > > On 09/15/14 22:51, O. Hartmann wrote: > > Am Mon, 15 Sep 2014 17:39:26 -0700 > > Nathan Whitehorn <nwhitehorn_at_freebsd.org> schrieb: > > > >> On 09/15/14 17:36, Allan Jude wrote: > >>> On 2014-09-15 20:05, O. Hartmann wrote: > >>>> Installing FreeBSD-11.0-CURRENT-amd64-20140903-r270990 on a Laptop works for UEFI > >>>> fine. After I updated the sources to r271649, recompiled world and kernel (as well > >>>> as installed), now I get stuck with the screen message: > >>>> > >>>>>> FreeBSD EFI boot block > >>>> Loader path: /boot/loader.efi > >>>> > >>>> and nothing happens. After a couple of minutes, the system reboots. > >>>> > >>>> What happened and how can this problem be solved? > >>>> > >>> You might need to update the boot1.efi file on the UEFI partition (small > >>> FAT partition on the disk) > >>> > >>> I am not sure how 'in sync' boot1.efi (on the fat partiton) and > >>> loader.efi have to be. > >>> > >>> https://wiki.freebsd.org/UEFI > >>> > >> boot1.efi is designed never to need updating. (It also hasn't changed > >> since April) > >> -Nathan > > > > But it has changed bytesize when I recompiled world with recent sources compared to > > the boot.efi size from the USB image I installed from (revision see above). > > Probably compiler updates or something? I really wouldn't worry about it > too much. I'd worry more about loader, since we know boot1 could use the > console but loader doesn't show up. Well, I have to worry about because the system is stuck and completely unusable. I installed the system from the very same USB drive image as mentioned above again. Then, after the newtork issue has been fixed, I was able to update sources and built world. As long as I do not attempt to use to use X, everything is fine. > > > How to update bootcode on UEFI layout? I created a GPT partition with type efi (1 GB) > > as well as a 512KB partition typed freebsd-boot. > > How did you set it up in the first place? If you have a FreeBSD-only > system partition (like the installer sets up), you just dd > /boot/boot1.efifat to the EFI partition. Otherwise, it's FAT and you > copy /boot/boot1.efi to somewhere your boot manager can find it. The setup was plain and vanilla. I used the installer of the USB image (see above). Creating GPT partition scheme and two partitions of type "efi" and "freebsd-boot", first 1MB, latter 512KB. All other partitions are freebsd-ufs, exept freebsd-swap. In that case, is it still /boot/boot1.efifat or is it /boot/boot1.efi? What is the difference? Is the efi partition FAT? > > > I'm new to EFI and the way the notebook now behaves is really strange. While the USB > > drive image used to boot with new console enabled, it now boots again with the old > > console and 800x640 resolution. This might indicate some minor but very effective > > mistake I made. > > > > The EFI boot block finds the first UFS partition -- on any disk -- and > tries to boot from it. If you have multiple FreeBSD disks connected, > that will very likely result in madness. > -Nathan It is one disk, dedicated to FreeBSD (a laptop disk). Is there any documentation readable for non-developer for that matter? I'm curious about how EFI works on FreeBSD. Oliver
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC