Help needed to update bootloader

Started by hushcoden, Today at 07:30:24 PM

Previous topic - Next topic
My installation is about 3.5 years old, and I read somewhere that before upgrading from v26.1 to v26.7, I should update the disk bootloader. Is that correct?

I ran the following command: ./loaders-update show-me

and this is the output: loaders-update v1.3.2

One or more efi partition(s) have been found.

Examining ada1p1...
mount -t msdosfs /dev/ada1p1 /mnt
Would run: cp /boot/loader.efi /mnt/efi/freebsd/loader.efi
Would run: cp /boot/loader.efi /mnt/efi/boot/bootx64.efi
umount /mnt

Examining ada0p1...
Efi partition ada0p1 is already mounted in /boot/efi.
Would run: cp /boot/loader.efi /boot/efi/efi/freebsd/loader.efi
Would run: cp /boot/loader.efi /boot/efi/efi/boot/bootx64.efi

One or more freebsd-boot partition(s) have been found.
The root file system is zfs.

Examining ada1...
Would run: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada1

Examining ada0...
Would run: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0

-------------------------------
Your current boot method is BIOS.
Updatable EFI loader: 4
Updatable BIOS loader: 2
-------------------------------

Could some kind soul guide me on the next steps?

Tia.

Not entirely correct. You should uninstall any os-cpu-microcode-* plugin you have installed before upgrading, and update the bootloader after upgrading to 26.7. Because there's an important bootloader bug fix in FreeBSD 15.1. You can then reinstall the microcode plugin.

For updating the bootloader: just use that script. Output looks ok.

Caveat: always have a backup. Create a snapshot before you do anything.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

So, (1) remove the intel cpu microcode; (2) upgrade to v26.7; (3) update bootloader.

As for point (3), is there any sort of step-by-step, fool-proof guide?

Besides: loaders-update is neither installed nor available on OpnSense, is it?
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, Leox LXT-010H-D

1100 down / 450 up, Bufferbloat A+

Hello.
I'm not sure if I'm in the right place here or if I'm hijacking the forum thread. If so, please accept my apologies.
My installation is getting on in years, too—four years old.
The update to 26.7 went smoothly, as usual.

Many thanks to the team!

However, before I could bring myself to proceed, I closely followed the discussion regarding the bootloader update and the "microcode problem." There were several discussions about it. This raises the question for me: who actually needs a bootloader update? And how do I determine whether I need this bootloader update?
Many thanks,
Bernd
Supermicro M11SDV-4C-LN4F AMD EPYC 3151 4x 2.7GHz RAM 8GB DDR4-2666 SSD 250GB