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

Marwin
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

Comments

  • Marwin
    Marwin 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
  • DCleri
    DCleri Administrator, AAEON Posts: 1,213 admin
    To permanently fix the issue, once booted, you can run this command from the terminal:

    $ sudo grub-install --removable
  • Marwin
    Marwin New Member Posts: 4
    Thank you, it works.
  • dennis
    dennis 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
  • roar
    roar New Member Posts: 9
    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.
  • DCleri
    DCleri Administrator, AAEON Posts: 1,213 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.
Privacy Policy