Some days ago I have installed a new server with 11.2-RELEASE-p6 and all was fine. Today I have upgraded to 12.0-RELEASE and the server reboots also correct. I have checked the installation and my zpool and have done a "zpool ugprade" to the latest feature-set. I'm not a newbie to FreeBSD (since 3.0-RELEASE) but now I have seen that the origin installation routine of FeeBSD 11.2 has created the following GPT map. I'm now a little bit "scared" to reboot the server after I have entered the following commands (see below) because I'm haven't enough experiences with EFI (KI don't need it). This machine is too far away from me for any experiments and I don't know what type of boot mode the "System" is using.
Commands entered after upgrade was completed:
Commands entered after upgrade was completed:
Code:
760 10:56 gpart bootcode -p /boot/boot1.efi -i1 ada0
761 10:56 gpart bootcode -p /boot/boot1.efi -i1 ada1
762 10:56 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0
763 10:56 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada1[/FONT]
[FONT=Courier New]# gpart show
#
=> 40 3907029088 ada0 GPT (1.8T)
40 409600 1 efi (200M)
409640 1024 2 freebsd-boot (512K)
410664 984 - free - (492K)
411648 16777216 3 freebsd-swap (8.0G)
17188864 3889840128 4 freebsd-zfs (1.8T)
3907028992 136 - free - (68K)
=> 40 3907029088 ada1 GPT (1.8T)
40 409600 1 efi (200M)
409640 1024 2 freebsd-boot (512K)
410664 984 - free - (492K)
411648 16777216 3 freebsd-swap (8.0G)
17188864 3889840128 4 freebsd-zfs (1.8T)
3907028992 136 - free - (68K)
# zpool status
#
pool: zroot
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada0p4 ONLINE 0 0 0
ada1p4 ONLINE 0 0 0
errors: No known data errors