[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

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?

#linux

threaded - newest

Crazyslinkz@lemmy.world on 16 Aug 12:00 next collapse

What was the thing you did before this started happening?

arsus5478@lemmy.ml on 16 Aug 12:03 collapse

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?

Crazyslinkz@lemmy.world on 16 Aug 12:06 next collapse

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?

arsus5478@lemmy.ml on 16 Aug 12:16 collapse

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

[deleted] on 16 Aug 12:19 next collapse

.

technopagan@lemmy.world on 16 Aug 12:20 next collapse

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.

arsus5478@lemmy.ml on 16 Aug 12:23 collapse

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

Crazyslinkz@lemmy.world on 16 Aug 12:27 next collapse

Sound like they may not have been old 😅

Edit: Can you list the kernels now?

mouse@midwest.social on 16 Aug 12:28 next collapse

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.

frongt@lemmy.zip on 16 Aug 13:24 next collapse

You should really just back up your files, do a fresh install, and don’t fuck with the system like that.

9488fcea02a9@sh.itjust.works on 16 Aug 14:18 collapse

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

that_leaflet@lemmy.world on 16 Aug 16:36 collapse

Debian 12.7 is a year old. You’re supposed to upgrade to the latest version (currently 12.11) before doing the upgrade.

arsus5478@lemmy.ml on 16 Aug 17:26 collapse

sorry, typed that wrong, debian 12.11

despotic_machine@lemmy.dbzer0.com on 16 Aug 12:21 collapse

As per your other, previous post - I think you need to reinstall the broken packages so they can be configured properly.