Hi All,
After upgrade to 12.2-RELEASE from 12.1-RELEASE, I also upgrade zpool:
My zroot is install in ada0, so I run follow command:
But after run this command, I recognize that I boot from UEFI, and the efi partition can't mount anymore
So, I try write boot1.efifat to /dev/ada0p1, but efi partition still can't mount:
How could I fix my uefi partition, rebuild fat and copy files?
Thank you.
After upgrade to 12.2-RELEASE from 12.1-RELEASE, I also upgrade zpool:
Code:
root@T620:/usr/local/vm # zpool upgrade zroot
This system supports ZFS pool feature flags.
Enabled the following features on 'zroot':
allocation_classes
If you boot from pool 'zroot', don't forget to update boot code.
Assuming you use GPT partitioning and da0 is your boot disk
the following command will do it:
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
My zroot is install in ada0, so I run follow command:
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
But after run this command, I recognize that I boot from UEFI, and the efi partition can't mount anymore
Code:
root@T620:/ # mount /dev/ada0p1 /mnt
mount: /dev/ada0p1: No such file or directory
So, I try write boot1.efifat to /dev/ada0p1, but efi partition still can't mount:
Code:
root@T620:/ # gpart bootcode -p /boot/boot1.efifat -i 1 ada0
partcode written to ada0p1
root@T620:/ # mount /dev/ada0p1 /mnt
mount: /dev/ada0p1: No such file or directory
How could I fix my uefi partition, rebuild fat and copy files?
Thank you.
Last edited by a moderator: