大网数据广告活动
服务器运维问答

Upgrading to debian 11 (from debian 10) not add the kernel in /boot/ (Dedibox Server)

· 52CE 我爱测

I have make upgrade on my server and reboot the server to use the last kernel, but after reboot, the server just use the old kernel (4.19.0-16-amd64). In /boot/ , I just seen files for kernel 4.19.0-16-amd64 . If I do apt install…

问题原文

原帖链接 · xandercagexxx · CC BY-SA 4.0

I have make upgrade on my server and reboot the server to use the last kernel, but after reboot, the server just use the old kernel (4.19.0-16-amd64).

In /boot/, I just seen files for kernel 4.19.0-16-amd64. If I do apt install linux-image-amd64 the result is linux-image-amd64 is already the newest version (5.10.46-4) but this kernel version is not available in /boot/, so update-grub do nothing.

What can be wrong on my serveur ?

If I do ls -l on /, I can seen this two line:

lrwxrwxrwx   1 root root    27 Aug 18 16:22 vmlinuz -> boot/vmlinuz-5.10.0-8-amd64
lrwxrwxrwx   1 root root    28 Aug 17 13:38 vmlinuz.old -> boot/vmlinuz-4.19.0-17-amd64

But this two kernel not exist in /boot/ folder.

FYI : my server use Raid5 also for /boot/ partition.

已采纳解答

原帖链接 · xandercagexxx · CC BY-SA 4.0

I reply to myself after find a solution.

I do apt install --reinstall linux-image-5.10.0-8-amd64 and after that the new kernel is correctly available in /boot folder.

The command update-grub give good result.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2021-08-19)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。