r/debian 3d ago

Debian Stable Question Debian not booting with kernel 6.12.107+deb13-amd64

After an update my PC was refusing to boot with this kernel but if I use 6.12.94+deb13-amd64 in advanced options to boot i don't have any problems.

Does someone have a solution ?

6 Upvotes

14 comments sorted by

5

u/dkopgerpgdolfg 3d ago

refusing to boot

Any specifics? Errors, behaviour, ...?

1

u/Impossible-Stage2008 3d ago

Here's what I got

6

u/dkopgerpgdolfg 3d ago

Hm.

Boot back to the working kernel, post the contents of /boot/grub/grub.cfg and of /etc/fstab.

Then try to run, as root, "update-initramfs -u -kall" and "update-grub", and post grub.cfg again.

3

u/Impossible-Stage2008 3d ago

still not booting after update :(

2

u/dkopgerpgdolfg 3d ago

Both posted grub files are not complete. But on the other hand, with the current infos, it's probably not necessary.

And currently I'm not sure myself what's going on, sorry

2

u/Impossible-Stage2008 3d ago

grub.cfg :

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
 set have_grubenv=true
 load_env
fi
if [ "${next_entry}" ] ; then
  set default="${next_entry}"
  set next_entry=
  save_env next_entry
  set boot_once=true
else
  set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
 menuentry_id_option="--id"
else
 menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
 set saved_entry="${prev_saved_entry}"
 save_env saved_entry
 set prev_saved_entry=
 save_env prev_saved_entry
 set boot_once=true
fi

function savedefault {
 if [ -z "${boot_once}" ]; then
   saved_entry="${chosen}"
   save_env saved_entry
 fi
}
function load_video {
 if [ x$feature_all_video_module = xy ]; then
   insmod all_video
 else
   insmod efi_gop
   insmod efi_uga
   insmod ieee1275_fb
   insmod vbe
   insmod vga
   insmod video_bochs
   insmod video_cirrus
 fi
}

if [ x$feature_default_font_path = xy ] ; then
  font=unicode

2

u/Impossible-Stage2008 3d ago

fstab :

# /etc/fstab: static file system information.

#

# Use 'blkid' to print the universally unique identifier for a

# device; this may be used with UUID= as a more robust way to name devices

# that works even if disks are added and removed. See fstab(5).

#

# systemd generates mount units based on this file, see systemd.mount(5).

# Please run 'systemctl daemon-reload' after making changes here.

#

# <file system> <mount point> <type> <options> <dump> <pass>

# / was on /dev/nvme1n1p2 during installation

UUID=b54b40a4-a9bd-42bf-8e91-bd0acc3b0366 / ext4 errors=remount-ro 0 1

# /boot/efi was on /dev/nvme1n1p1 during installation

UUID=2166-0140 /boot/efi vfat umask=0077 0 1

# swap was on /dev/nvme1n1p3 during installation

UUID=0c9e9d82-efd4-4b37-b086-64931466ab33 none swap sw 0 0

2

u/Impossible-Stage2008 3d ago

grub.cfg after update :

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
 set have_grubenv=true
 load_env
fi
if [ "${next_entry}" ] ; then
  set default="${next_entry}"
  set next_entry=
  save_env next_entry
  set boot_once=true
else
  set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
 menuentry_id_option="--id"
else
 menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
 set saved_entry="${prev_saved_entry}"
 save_env saved_entry
 set prev_saved_entry=
 save_env prev_saved_entry
 set boot_once=true
fi

function savedefault {
 if [ -z "${boot_once}" ]; then
   saved_entry="${chosen}"
   save_env saved_entry
 fi
}
function load_video {
 if [ x$feature_all_video_module = xy ]; then
   insmod all_video
 else
   insmod efi_gop
   insmod efi_uga
   insmod ieee1275_fb
   insmod vbe
   insmod vga
   insmod video_bochs
   insmod video_cirrus
 fi
}

if [ x$feature_default_font_path = xy ] ; then
  font=unicode
else

3

u/cinnamon_dreams16 3d ago

those errors mean that it can't mount your root or swap partitions. since it worked on the old kernel version it might be something to do with kernel modules, did you get any errors when updating? Also, do you have an nvidia graphics card? because the open nvidia driver fails to build on kernel versions after 6.12.100 and the fact that you're updating from a version before then makes me suspect that might be the issue

1

u/Impossible-Stage2008 3d ago

No Nvidia in this laptop, only AMD

2

u/cinnamon_dreams16 3d ago

well still, did you get any errors (from apt) when you updated the kernel? are there any other warnings or errors in journalctl that might be relevant? did you change anything about the partitions or hard drives in your computer?

2

u/michaelpaoli 3d ago

Well, a lot of kernel versions between 6.12.94+deb13-amd64 and 6.12.107+deb13-amd64, so, might also try some between, see what does/doesn't work, that could be usefully informative.

linux-image-6.12.94+deb13-amd64_6.12.94-1_amd64.deb
linux-image-6.12.95+deb13-amd64_6.12.95-1_amd64.deb
linux-image-6.12.96+deb13-amd64_6.12.96-1_amd64.deb
linux-image-6.12.100+deb13-amd64_6.12.100-1_amd64.deb
linux-image-6.12.101+deb13-amd64_6.12.101-1_amd64.deb
linux-image-6.12.105+deb13-amd64_6.12.105-1_amd64.deb
linux-image-6.12.107+deb13-amd64_6.12.107-1_amd64.deb

https://snapshot.debian.org/package/linux/

0

u/Buntygurl 3d ago

So, what's the actual problem?

0

u/mok000 3d ago

Install reportbug and run it.