23.09.1 - pfsense-boot fails to upgrade
-
-
Hi.
Same issue here, but only on one upgrade from 2.7.1 to 2.7.2 and this is the only one on virtual machine (VMware ESXi).
No issues on all the other upgrades on physical appliances (both CE and Plus).
Thanks.
-
Try running
gpart show
on the affected system. See if it has an unexpectedly small efi partition. -
-
since @stephenw10 "unexpectedly small" isn't clearly defined, just for reference my virtual test machine (2.7.2 installed fine) is
40 532480 1 efi (260M)but the production box (23.09) on a 2100
1 409600 1 efi (200M)won't be upgrading my production netgate box until Monday, because upgrade policy for production says no upgrades on a Friday! But also have never had an issue with upgrades in the past at the 200 level.
Q. give me "unexpectedly small for 200 please"
A. what is too small? -
Both those are expected sizes. If it was tiny, like <10M, that might be an issue but I don't think we've ever used that for amd64 installs.
We are still digging into this.
-
-
@stephenw10
I figured you we're talking really small. but it is also good to have a reference points..I honestly don't expect I'll have an issue at the 200 level on the 2100, never have.
I should also point out for reference that my 2.7.2 virtual is running on an Intel host.
-
Can we assume they are VMs configured as UEFI?
-
-
@pfBo said in 23.09.1 - pfsense-boot fails to upgrade:
I'm getting this error during the upgrade process (see attached logfile). I wanted to paste it in but kept getting tagged as spam....
Upgrade_error_log.txt
I assume those are just excepts from the upgrade log? Do you have the full log available?
-
Yes, EFI Virtual Machine on VMware ESXi.
-
-
I'm just running my test pfsense on a Virtual Box, hosted on a local intel MAC.
"Enable EFI" is selected and functioning.
-
What does this show for you (or anyone getting similar errors):
# df -hi /boot/efi/efi/boot/
-
@jimp said in 23.09.1 - pfsense-boot fails to upgrade:
What does this show for you (or anyone getting similar errors):
# df -hi /boot/efi/efi/boot/
[2.7.1-RELEASE][admin@<>]/root: df -hi /boot/efi/efi/boot/
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
zroot/ROOT/default 95G 1.1G 93G 1% 51k 196M 0% /[2.7.1-RELEASE][admin@<>]/root: gpart show
=> 40 234454960 ada0 GPT (112G)
40 409600 1 efi (200M)
409640 1024 2 freebsd-boot (512K)
410664 984 - free - (492K)
411648 4194304 3 freebsd-swap (2.0G)
4605952 229847040 4 freebsd-zfs (110G)
234452992 2008 - free - (1.0M) -
Please read https://forum.netgate.com/topic/184661/unable-to-upgrade-from-2-7-1-to-2-7-2-unmounting-boot-efi-done-failed/15
-
The EFI partition isn't mounted there.
Do you have either
/dev/msdosfs/EFISYS
or/dev/gpt/EFISYS
? If so, try this instead:# mount_msdosfs /dev/msdosfs/EFISYS /boot/efi
Or
# mount_msdosfs /dev/gpt/EFISYS /boot/efi
Followed by the
df -hi /boot/efi/efi/boot/
command. -
@jimp said in 23.09.1 - pfsense-boot fails to upgrade:
The EFI partition isn't mounted there.
Do you have either
/dev/msdosfs/EFISYS
or/dev/gpt/EFISYS
? If so, try this instead:# mount_msdosfs /dev/msdosfs/EFISYS /boot/efi
Or
# mount_msdosfs /dev/gpt/EFISYS /boot/efi
Followed by the
df -hi /boot/efi/efi/boot/
command.I have the same results as others in the other thread.
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/msdosfs/EFISYS 779K 386K 393K 50% 3 509 1% /boot/efiGuess there's a re-install in my future
-
Probably going to have to reinstall then in that case.
The old loader was quite a bit smaller. The newest version of the EFI loader is
643K
which would barely fit in that partition, and since the installer tries to copy the new one over before deleting the old, it fails because there isn't enough room to hold both.