[SOLVED] what did I do to debian 13.0? I can only access the backup install
from arsus5478@lemmy.ml to linux@lemmy.ml on 16 Aug 11:37
https://lemmy.ml/post/34763386
from arsus5478@lemmy.ml to linux@lemmy.ml on 16 Aug 11:37
https://lemmy.ml/post/34763386
I hope you understand what I mean.
On my grub screen there are 4 options, 2 regular booting and 2 recovery mode afair.
I cannot access the first regular one, only the second one. Cannot give you a screenshot or a picture because I’m scared of rebooting the computer again.
If I execute cat /etc/debian_version
it returns 13.0, so it’s already upgraded.
sudo apt update && sudo apt upgrade -y
doesn’t return any errors.
what is going on?
threaded - newest
What was the thing you did before this started happening?
upgraded from 12.11 to 13.0. I just deleted some old kernels and freed some space in the boot partition. Could this be the reason? not enough free boot space?
That doesn’t sound like a fresh install as is the question above. Sounds like an upgrade install. 🤔
Edit: Are you running Trixie now?
Edit 2: Did you update your sources list?
if by fresh install you mean nuking the old partitions and installing brand new 13.0 from an usb stick no, this is not a fresh install, fresh as in just now installed
I am running trixie
in /etc/apt/sources.list.d there is only one txt file named debian.sources, as explained in debian’s instructions page. Is that wyat you mean?
I also updated grub after freeing some boot space: sudo update-grub2
.
Did you free up space by manually deleting files from the boot partition? Then chances are you deleted some vital files and you should reinstall the kernels and grub.
I listed all installed kernels:
dpkg -l | grep linux-image | awk ‘{print$2}’
then removed several old kernels:
sudo apt remove --purge linux-image-XXX
then updated grub:
sudo update-grub2
Sound like they may not have been old 😅
Edit: Can you list the kernels now?
You can look at the /boot/grub/grub.cfg file for details as to what each option is on the grub menu. It’s not the prettiest file though. Search for
menuentry
, that should be followed by the name of the entry and below details for what kernel and options it uses.You should really just back up your files, do a fresh install, and don’t fuck with the system like that.
I’ve never had to manually delete kernels.
Apt autoremove automatically takes care of older kernels
Maybe try reinstalling your default stable kernel linux-image-amd64 (or whatever architecture)
Typically, no need to specify specific kernel versions like 6.12
Debian 12.7 is a year old. You’re supposed to upgrade to the latest version (currently 12.11) before doing the upgrade.
sorry, typed that wrong, debian 12.11
As per your other, previous post - I think you need to reinstall the broken packages so they can be configured properly.