Start in shell mode because ubilinux not found anymore after unplug power supply
Marwin
New Member Posts: 4 ✭
Hi,
I have trouble with my upboard.
I have installed ubilinux on it. After installation, every is fine, grub appears and I can boot on ubilinux.
But when I unplug the power supply, up board starts in the uefi shell.
Thanks
I have trouble with my upboard.
I have installed ubilinux on it. After installation, every is fine, grub appears and I can boot on ubilinux.
But when I unplug the power supply, up board starts in the uefi shell.
Thanks
Comments
-
Okay,
I am able to start using commands in shell :
mount blk0 ubi
ubi:
cd EFI/ubilinux
grubx64.efi
Is there a way to automate that ?
Thanks -
To permanently fix the issue, once booted, you can run this command from the terminal:
$ sudo grub-install --removable -
Thank you, it works.
-
I've got the same issue, but can't find EFI/ubilinux... I can mount EFI but that's it......
Can you please tell me where you found this solution so i can adapt it to my needs ?
EDIT: never mind my boot sector was on blk1 instead of blk0
Thanks -
This has happened to two of our UPBoards running Ubilinux.
Both of our UPBoards were fixed by running:mount fs0 ubi ubi: cd EFI cd ubilinux grubx64.efi
Then runningsudo grub-install --removable
once the OS booted.
Will runningsudo grub-install --removable
on all our UPBoards that have not experienced this problem yet be an effective preemptive measure? We cannot afford to have this problem occurring if our devices do not shutdown gracefully i.e. have their power unplugged by force. -
Hi roarcor,
If you run the command:
$ sudo grub-install --removable
It will prevent the grub boot issue from happening.
Unfortunately eMMC corruption issues may still happen after many power loss events unless you set it as read only.