Issue installing on HPT620 SSD Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
User avatar
MichaIng
Site Admin
Posts: 3514
Joined: Sat Nov 18, 2017 6:21 pm

Re: Issue installing on HPT620 SSD

Post by MichaIng »

It is safe to remove the old kernel, when you reboot directly. I suggest to do:

Code: Select all

apt purge linux-image-5.10.0-8-amd64
reboot
And confirm to remove to running kernel.

I'll update our x86_64 images to not contain a dedicated boot partition. This causes more issues than it solves, especially when no single kernel package is used like on RPi but a meta package, so that multiple kernel versions + related initramfs can be installed concurrently. RPi doesn't even use an initramfs by default, so there it is not an issue.
TommySharpNZ
Posts: 10
Joined: Thu Mar 04, 2021 10:26 pm

Re: Issue installing on HPT620 SSD

Post by TommySharpNZ »

Thanks for looking into this guys.... In my machine's current state... What commands or steps should I be doing to resolve the issue? Or is it better just wait for a possible new image without the dedicated boot partition?
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Issue installing on HPT620 SSD

Post by Joulinar »

try this as stated above

Code: Select all

apt purge linux-image-5.10.0-8-amd64
reboot
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
TommySharpNZ
Posts: 10
Joined: Thu Mar 04, 2021 10:26 pm

Re: Issue installing on HPT620 SSD

Post by TommySharpNZ »

Thanks! running that appears to resolve the issue.... I will continue and hopefully this doesn't bite me in the ass months down the track and I have to rebuild :-)
User avatar
MichaIng
Site Admin
Posts: 3514
Joined: Sat Nov 18, 2017 6:21 pm

Re: Issue installing on HPT620 SSD

Post by MichaIng »

At least the solution will always be the same. When you install a new kernel and the space in /boot isn't sufficient for some step, either remove the old kernel files manually (the initrd should always be sufficient as it is by far the largest file) or purge the old kernel package, then dpkg --configure -a and reboot.
Post Reply