Why there are two Kernals in my Raspberry Pi4

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version |
  • G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=12
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
  • Distro version | `bookworm 0
  • Kernel version | `Linux HMENTP 6.12.25+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30) aarch64 GNU/Linux
  • Architecture | arm64
  • SBC model | `RPi 4 Model B (aarch64)
  • Power supply used | ( 5V 1A RAVpower)
  • SD card used | (SanDisk ultra)

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

Why is my RPI4 listing both V8 and 2712 Kernals as installed. Isnt the 2712 only applicable for RPI5?

ii  linux-image-6.12.25+rpt-rpi-2712 1:6.12.25-1+rpt1               arm64        Linux 6.12 for Raspberry Pi 2712, Raspberry Pi
ii  linux-image-6.12.25+rpt-rpi-v8   1:6.12.25-1+rpt1               arm64        Linux 6.12 for Raspberry Pi v8, Raspberry Pi
ii  linux-image-rpi-2712             1:6.12.25-1+rpt1               arm64        Linux for Raspberry Pi 2712 (meta-package)
ii  linux-image-rpi-v8               1:6.12.25-1+rpt1               arm64        Linux for Raspberry Pi v8 (meta-package)

Expected behaviour

Only the V8 kernel should be installed and the RPI5 kernel 2712 should be removed

Actual behaviour

Extra details

probably you selected the RPi5 kernel to be installed in parallel. You can check this within dietpi-config.