Hello!
Just recently I updated desktop machine from 12.1 to 12.2. Compiled wold and custom kernel, installed and everything looked good. Then updated the zpool version, which then advised me to update the boot partition. Agree, that updating the boot loader with command
After that, you can guess, the system refused to boot. It showed the normal BSD boot menu, but after starting kernel, it hanged up. Looking the computer settings it did not show UEFI drives as before. Even stranger, when I tried to boot from USB stick, it actually booted up my HDD system. Everything was OK and stable, no errors.
I had saved the 12.1 source as a separate zfs dataset, so I tried to recompile the /usr/src/stand/ but the compile ended with errors. After that I recompiled the 12.2 /usr/src/stand/ which was OK. Then updated the boot partitions with /usr/obj/usr/src/amd64.amd64/stand/efi/boot1/boot1.efifat and the boot got better but not completely OK as it was before. Still it does not show my UEFI disks as bootable and a strange Windows boot appeared. Selecting that boots up my FreeBSD (writing this message on the very machine), but it is not stable and I am still worried.
What is wrong? Please help!
Just recently I updated desktop machine from 12.1 to 12.2. Compiled wold and custom kernel, installed and everything looked good. Then updated the zpool version, which then advised me to update the boot partition. Agree, that updating the boot loader with command
gpart bootcode -p ./boot1.efifat -i 1 ada0
was my mistake. Unfortunately I did it on both mirror drives.After that, you can guess, the system refused to boot. It showed the normal BSD boot menu, but after starting kernel, it hanged up. Looking the computer settings it did not show UEFI drives as before. Even stranger, when I tried to boot from USB stick, it actually booted up my HDD system. Everything was OK and stable, no errors.
I had saved the 12.1 source as a separate zfs dataset, so I tried to recompile the /usr/src/stand/ but the compile ended with errors. After that I recompiled the 12.2 /usr/src/stand/ which was OK. Then updated the boot partitions with /usr/obj/usr/src/amd64.amd64/stand/efi/boot1/boot1.efifat and the boot got better but not completely OK as it was before. Still it does not show my UEFI disks as bootable and a strange Windows boot appeared. Selecting that boots up my FreeBSD (writing this message on the very machine), but it is not stable and I am still worried.
What is wrong? Please help!