Upgrading from 13 to 14, caught in boot loader hell?

Hello!

I feel like I've been here before, and I was able to fix it with relative ease, but today, I'm stuck...

Upgraded 13.x to 14.x, reboot, and well -it won't. Okay, I've seen this before and research suggest I'm correct - I didn't update my bootloader files.

Running zfs as zroot.. Create 14.5-RELEASE USB stick, boot to interactive shell.

Mount /dev/ada0p1 on /tmp/foo. I can see the old bootloader: BOOTx64.efi.

Attempt to copy /boot/loader.efi to /tmp/foo/efi/boot/loader.efi..

"Input output error".. If I try to simply make a backup copy of the existing BOOTx64.efi, I get "arguement list too long".. Wtf?

Try various flavors of the same thing - try switching to the boot mirror at ada1p1.

All the same thing - for no amount of money and effort can I get the new boot loader to copy into the partition!

Working on the console via KVM, which makes cut and paste of actual error messages a pain in the ass, but I am following what appears to be a quite common recovery recipe that can be found on the web easily. So, I am not the first one to be stuck here..

mkdir /tmp/foo (this works.)
mount -t msdosfs -o longnames /dev/ada0p1 /mnt/foo (this works.)
cp /boot/loader.efi /mnt/foo/efi/boot/loader.efi (this fails..)

I can touch an empty file, but if I try to redirect some test into it, it fails with "write error on std out".

Thanks for any thoughts!


Any thoughts on what I might be doing wrong?
 
I'm not so sure that it's a problem with the loader unless you did zpool upgrade.
What are the messages you get when you try to boot normally?
 
  • Like
Reactions: mro
Back
Top