如何修复或删除损坏的内核(Ubuntu 20.04)

您所在的位置:网站首页 Ubuntu更新内核强制中断 如何修复或删除损坏的内核(Ubuntu 20.04)

如何修复或删除损坏的内核(Ubuntu 20.04)

2024-06-16 11:30| 来源: 网络整理| 查看: 265

我买了一台新笔记本电脑并在上面安装了 Ubuntu,触摸板无法正常工作,所以我按照此处的说明进行操作: IdeaPad 5 15are05 - elan touchpad not working on 20.04 or on 18.04 并安装了自定义配置的内核。所以我从 5.4.0-37-generic 升级到了 5.7.5。

我的笔记本电脑在我重新启动之前就冻结并崩溃了,当我重新启动它时,我收到了以下错误消息:

记不清。按任意键继续...

然后第二次重新启动,我得到了这个错误:

内核恐慌 - 不同步:VFS:无法在未知块(0,0)上挂载根 fs

当我转到 Ubuntu 的高级选项并选择 5.7.5 内核时,我收到此内核恐慌错误消息。当我启动 5.4.0-37-generic 内核时,它工作正常。

我听说这个内核恐慌问题可能是由 /boot 分区空间不足引起的。这是我的 /boot 分区中的内容:

$ ls -l /boot total 805492 -rw-r--r-- 1 root root 237718 Tay 20 11:33 config-5.4.0-26-generic -rw-r--r-- 1 root root 237753 Teg 3 09:24 config-5.4.0-37-generic -rw-r--r-- 1 root root 242913 Teg 23 20:30 config-5.7.5 drwx------ 2 root root 4096 Sak 31 1969 efi drwxr-xr-x 4 root root 4096 Teg 23 22:20 grub lrwxrwxrwx 1 root root 27 Teg 23 17:48 initrd.img -> initrd.img-5.4.0-37-generic -rw-r--r-- 1 root root 49453383 Teg 23 17:48 initrd.img-5.4.0-26-generic -rw-r--r-- 1 root root 55362853 Teg 23 20:24 initrd.img-5.4.0-37-generic -rw-r--r-- 1 root root 668761446 Teg 23 21:19 initrd.img-5.7.5 lrwxrwxrwx 1 root root 27 Teg 23 17:22 initrd.img.old -> initrd.img-5.4.0-26-generic -rw-r--r-- 1 root root 182704 Kup 13 18:09 memtest86+.bin -rw-r--r-- 1 root root 184380 Kup 13 18:09 memtest86+.elf -rw-r--r-- 1 root root 184884 Kup 13 18:09 memtest86+_multiboot.bin -rw------- 1 root root 4736015 Tay 20 11:33 System.map-5.4.0-26-generic -rw------- 1 root root 4738082 Teg 3 09:24 System.map-5.4.0-37-generic -rw-r--r-- 1 root root 5369711 Teg 23 20:30 System.map-5.7.5 lrwxrwxrwx 1 root root 13 Teg 23 20:30 vmlinuz -> vmlinuz-5.7.5 -rw-r--r-- 1 root root 11657976 Tay 22 21:48 vmlinuz-5.4.0-26-generic -rw------- 1 root root 11662080 Teg 3 10:32 vmlinuz-5.4.0-37-generic -rw-r--r-- 1 root root 11760704 Teg 23 20:30 vmlinuz-5.7.5 lrwxrwxrwx 1 root root 24 Teg 23 17:48 vmlinuz.old -> vmlinuz-5.4.0-37-generic

我可以看到 initrd.img-5.7.5 文件与其中的所有其他文件相比是巨大的。这可能是问题吗?为什么这么大,我想知道。

谷歌浏览器是导致笔记本电脑崩溃的应用程序。

当我运行时:

dpkg --list | grep linux-image

输出是:

ii linux-image-5.4.0-26-generic 5.4.0-26.30 amd64 Signed kernel image generic ii linux-image-5.4.0-37-generic 5.4.0-37.41 amd64 Signed kernel image generic ii linux-image-generic-hwe-20.04 5.4.0.37.40 amd64 Generic Linux kernel image

它实际上并没有显示 5.7.5。但是 5.7.5 出现在 Grub 菜单中,它是启动的默认内核。

有没有办法修复 5.7.5 内核?如果没有,我该如何删除它?



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3