Losing bootable OS, possibly caused by BIOS battery failure
For a project I'm working on, I've installed Ubilinux 3.0 on eight UP boards so far. After between about 2 weeks and about 4 months of use, three of them have stopped booting their operating system. Once I get to the EFI shell, I can find and boot manually by running:
and the operating system comes back. Running:
fixes the booting problem and the operating system boots automatically.
But I need for this to not happen in the first place, as once a unit fails to boot, without physical access to it I can't rescue it. My belief is that the cause is a faulty or intermittent BIOS battery - the CR2032 stuck to the top of the network socket - as a) this is something that could conceivably degrade over time and b) if I unplug it and replug it, I can induce the issue I described above.
My current best guess at a permanent fix for this is to run:
cp /boot/efi/EFI/ubilinux/grubx64.efi /boot/efi/EFI/boot/bootx64.efi
as part of the installation of the operating system - as suggested in https://forum.up-community.org/discussion/935/up-board-without-rtc-battery-doesnt-boot-from-emmc as this then means that the operating system will still boot even if the battery fails.
But - if my guess about the battery being the cause is right - the number of batteries that have failed is far higher than I'd expect for this kind of battery. And given that the battery failing means it will no longer boot, that seems like an big problem, and one that I would like to have seen UP officially address.
To boil this down into some questions:
- is faulty or intermittent BIOS batteries a known issue? And have UP addressed it officially at all?
- are the batteries replaceable? They're wired into their little plastic jackets - is it possible to open and securely close these to use a new battery?
- is copying the bootloader to EFI's default location the right thing to do here? And if so, why isn't it done by ubilinux 3.0? Is it done by ubilinux 4.0?
- is there a way of forcing the UP to boot into the EFI shell? Currently, I have to insert the USB stick I used for flashing the BIOS to get to the shell.
- 302 All Categories
- 104 Announcements & News
- 50 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 50 Unboxing & Project Sharing
- 24 Tech Updates
- 478 UP Products
- UP Element i12 Edge
- 1 UP Squared V2
- 2 UP 4000
- 23 UP Xtreme i11
- 30 UP Squared 6000
- 42 UP Squared Pro
- 137 UP Xtreme
- 806 UP Squared
- 1.4K UP Board
- 87 UP Core Plus
- 219 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral