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?

    • arsus5478@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      4 days ago

      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
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        5 days ago

        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.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          5 days ago

          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

      • Technopagan@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        5 days ago

        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.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          5 days ago

          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

          • 9488fcea02a9@sh.itjust.works
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            5 days ago

            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

          • A Mouse@midwest.social
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 days ago

            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
            link
            fedilink
            arrow-up
            1
            arrow-down
            3
            ·
            5 days ago

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

      • Leaflet@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 days ago

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