Start in shell mode because ubilinux not found anymore after unplug power supply

MarwinMarwin 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

Comments

  • MarwinMarwin New Member Posts: 4
    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
  • DCleriDCleri Administrator, AAEON Posts: 1,163 admin
    To permanently fix the issue, once booted, you can run this command from the terminal:

    $ sudo grub-install --removable
  • MarwinMarwin New Member Posts: 4
    Thank you, it works.
  • dennisdennis New Member Posts: 5
    edited November 2016
    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
  • roarroar New Member Posts: 5
    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 running
    sudo grub-install --removable
    
    once the OS booted.

    Will running
    sudo 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.
  • DCleriDCleri Administrator, AAEON Posts: 1,163 admin
    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.
Sign In or Register to comment.