Dietpi not starting after update Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
The_freeman
Posts: 3
Joined: Wed Jun 09, 2021 6:16 pm

Dietpi not starting after update

Post by The_freeman »

Hi everyone,

I updated Dietpi on PC Lenovo Thinkcenter but after that it won't start . Please see the attached pictures . I don't want to lose the files :( .

whatever option I chose it leads to the same error . Please help
Attachments
20210609_202731.jpg
20210609_202704.jpg
User avatar
Joulinar
Posts: 4783
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi not starting after update

Post by Joulinar »

There seems to be an issue with the grub boot loader. Not sure if we can do anything on this.

@MichaIng
Can you have a look please. Thx
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
The_freeman
Posts: 3
Joined: Wed Jun 09, 2021 6:16 pm

Re: Dietpi not starting after update

Post by The_freeman »

Thank you @Joulinar for replaying . Waiting for @MichaIng
The_freeman
Posts: 3
Joined: Wed Jun 09, 2021 6:16 pm

Re: Dietpi not starting after update

Post by The_freeman »

I was able to fix the problem ! I just followed these steps :-

https://help.ubuntu.com/community/Grub2 ... via_ChRoot

Thanks everyone !
User avatar
MichaIng
Site Admin
Posts: 2987
Joined: Sat Nov 18, 2017 6:21 pm

Re: Dietpi not starting after update

Post by MichaIng »

EDIT: Ah lol, great that you were able to solve it already :D. The underlying issue seems to be that on upgrade grub was flashed to the wrong drive. Similar to this. It seems that the underlying issue has never really been solved: The ability of the grub install script to reliably detect the correct drive it was booted from.
Hmm, doing some search:
- https://bugs.debian.org/cgi-bin/bugrepo ... bug=984520
- https://bugs.debian.org/cgi-bin/bugrepo ... bug=984426

Is it an EFI image or BIOS?

Do you have the ability at early boot to select the OS for some seconds? In this situation, hitting c should bring you into the grub command prompt. If so, it is possible to manually boot from there and then re-install grub: https://archived.forum.manjaro.org/t/so ... rive/80188

Else, and probably easier, is to boot form an attached USB drive, or attach the affected broken drive to another system and repair grub from there.
Post Reply