我之前认为这是由于安装了i386架构,而实际上是因为最新的Ubuntu20.04.10 LinuxKernel5.11.0.25.27
$ dpkg --list | grep linux-image
ii linux-image-5.11.0-25-generic 5.11.0-25.27~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-42-generic 5.4.0-42.46 amd64 Signed kernel image generic
rc linux-image-5.4.0-52-generic 5.4.0-52.57 amd64 Signed kernel image generic
rc linux-image-5.4.0-53-generic 5.4.0-53.59 amd64 Signed kernel image generic
ii linux-image-5.8.0-63-generic 5.8.0-63.71~20.04.1 amd64 Signed kernel image generic
ii linux-image-generic-hwe-20.04 5.11.0.25.27~20.04.10 amd64 Generic Linux kernel image这是最后一个显然是造成问题的惠普展馆dv7-3130eo。我能够在5.8.0-63通用内核中启动,现在我试图找到一种方法来删除最新的内核。
我试过运行这个:
sudo apt-get remove "linux-image-5.11*"
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-image-5.11.0-1009-gcp' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-1007-azure' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-1008-oracle' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-25-generic' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-1013-oracle' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-22-lowlatency' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-1014-aws' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-1014-gcp' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-1012-azure' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-22-generic' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-1009-aws' for glob 'linux-image-5.11*'
Note, selecting 'linux-image-5.11.0-25-lowlatency' for glob 'linux-image-5.11*'
Package 'linux-image-5.11.0-1007-azure' is not installed, so not removed
Package 'linux-image-5.11.0-1008-oracle' is not installed, so not removed
Package 'linux-image-5.11.0-1009-aws' is not installed, so not removed
Package 'linux-image-5.11.0-1009-gcp' is not installed, so not removed
Package 'linux-image-5.11.0-1012-azure' is not installed, so not removed
Package 'linux-image-5.11.0-1013-oracle' is not installed, so not removed
Package 'linux-image-5.11.0-1014-aws' is not installed, so not removed
Package 'linux-image-5.11.0-1014-gcp' is not installed, so not removed
Package 'linux-image-5.11.0-22-generic' is not installed, so not removed
Package 'linux-image-5.11.0-22-lowlatency' is not installed, so not removed
Package 'linux-image-5.11.0-25-lowlatency' is not installed, so not removed
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool linux-headers-generic-hwe-20.04 thermald
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
linux-image-unsigned-5.11.0-25-generic
Suggested packages:
fdutils linux-doc | linux-hwe-5.11-source-5.11.0 linux-hwe-5.11-tools linux-modules-extra-5.11.0-25-generic
The following packages will be REMOVED:
linux-generic-hwe-20.04 linux-image-5.11.0-25-generic linux-image-generic-hwe-20.04 linux-modules-extra-5.11.0-25-generic
The following NEW packages will be installed:
linux-image-unsigned-5.11.0-25-generic不确定,我应该按“是”。或者找到另一种方法来完全卸载最新版本?请帮我解决这个问题?如何准确地删除或停用有问题的内核,并确保工作的内核被保存和保护?
关于Ubuntu20.04.2 LTS内核5.11.0-25的错误报告
类似的帖子: 20.04.2在Linux-Image-5.11.0-22之后不会启动-泛型:amd64 64自动安装
这似乎与我的Nvidia驱动程序( Ubuntu系统附带的)内核更新有关。
下面是一些类似的经验,但是除了删除内核之外,这些线程并没有提供任何明确的解决方法,但是如何正确地解决这些问题呢?:
老问题解决了:这不是问题的真正原因!在这里的好人的帮助下,我得到了如何进入恢复模式的指导,在那里,我决定尝试删除几个月前安装的i386体系结构。我运行了以下命令:sudo apt-get remove libc6:i386。
我的电脑有Nvidia Geforce,64位Ubuntu。可能是一些新的更新使我无法启动。我以前安装i386架构是为了运行一个电脑游戏(敌人领地),但它没有工作。现在我删除了i386,我的电脑又工作了。谢谢大家!
我的惠普展馆dv7-3130eo电脑突然无法启动。所有的东西都加载,甚至Ubuntu的标志也会出现。我按下"ESC“跟随终端输出。我只能快速浏览:GRUB failed boot detection. (通过检查boot.log1确认)在某个时候屏幕变成黑色。唯一可见的元素是:
_在左上角。屏幕仍然像那样卡住了。当我点击电源按钮时,它会在几分钟后自动关闭。也有
我想做的是:首先,我能够从一个新的Ubuntu安装USB键启动,我做了很多次。在这里,我首先尝试挂载硬盘并删除一些文件。我很快就发现硬盘还远远没有满。它还是无法启动。
然后,我在USB启动时安装了启动修复包,并试图修复引导。在尝试这样做时,我遇到了以下消息:当前会话处于BIOS兼容模式.请在您的UEFI固件中禁用BIOS兼容性/CSM/Legacy模式。
然后重新启动并输入BIOS,查看如何启用UEFI。然而,BIOS没有提供任何这样的选项,总的来说,它似乎是一个非常简单或旧版本的BIOS。
我重新启动并再次从USB启动,在那里我使用启动修复包来运行一个测试。这是完整的pastebin输出:引导修复试验的Pastebin
这就是我在烤箱里注意到的:
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[76976]) leaked on lvs invocation. Parent PID 22927: /bin/bash
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda5,
using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
Confirmation request before suggested repair: __________________________________
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to EFI mode.
Alternatively, you may want to retry after deactivating the [Separate /usr partition:] option.
Are you sure you want to continue anyway?
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.2 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.我搜索网页,找出如何启用UEFI。由于我无法立即找到任何解决方案,我再次尝试启动-修复,这一次我在高级选项中找到一个盒子,它忽略了UEFI。我试着去修理,它是成功的。这是我打开的框:独立引导/efi分段
这是启动修复修复给我的巴斯特箱:修理巴斯托
我试着重新启动电脑。但一切都没有改变。它还是不能启动。
有人有任何线索或建议吗?所有的帮助都是非常感谢的!
澄清一下:问题仍然是一样的。我无法成功地加载Ubuntu,中途它停止,一个带有_标志的黑色屏幕出现在左上角。
在BIOS中,它说我正在运行BIOS版本F.1A InsydeG20安装实用程序。这台电脑有一张Nvidia Geforce图形卡。
谢谢你的帮助
真诚雅典娜
发布于 2021-08-12 15:49:46
我想我找到了一个基于其他经验的解决方案:
sudo add-apt-repository ppa:kelebek333/nvidia-legacysudo apt install xorg-modulepath-fix从Nvidia到nouveau司机。
尝试用5.11重新启动。
对我来说,这是一个有效的组合。
注意: lib32gcc1和libgc6xx肯定有一些错误,它们与这个和以后的内核更新不兼容。我们得等待nvidia司机的修复。
发布于 2021-10-15 05:48:04
在将发行版从20.04升级到21.04时,我也遇到过类似的问题,这是一个更新得多的内核(5.8到5.11)。工作PC自大流行以来一直无所事事)。更新gcc包为我修正,它的编译器实际上试图运行和配置的nvidia驱动程序包,和5.11显然有一个新的版本,发行版升级没有更新,或至少没有配置使用。所以一个简单的sudo apt install gcc为我修复了它。
https://askubuntu.com/questions/1356344
复制相似问题