Ath*_*ena 6 boot nvidia kernel uefi
几乎解决了 - 请帮忙!
我之前以为是因为安装了 i386 架构,实际上是因为最新的 Ubuntu 20.04.10 Linux Kernel 5.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
Run Code Online (Sandbox Code Playgroud)
这是最后一个显然导致我的 HP Pavilion dv7-3130eo 出现问题的问题。我能够在 5.8.0-63-generic 内核中启动,现在试图找到一种方法来删除最新的内核。
我试过运行这个:
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
Run Code Online (Sandbox Code Playgroud)
不确定,我应该按“是”……还是找到另一种方法来完全卸载最新版本?请帮我解决这个问题? 如何准确删除或停用有问题的内核并确保工作的内核得到保留和保护?
关于 Ubuntu 20.04.2 LTS 内核 5.11.0-25 的错误报告
类似帖子:linux-image-5.11.0-22-generic:amd64 自动安装后 20.04.2 无法启动
似乎与我的 Nvidia 驱动程序(随 Ubuntu 系统一起提供)配对的内核更新有关。
这里有一些类似的经验,但这些线程没有提供任何明确的方向来解决它,除了删除内核之外,但是如何以正确的方式做到这一点?:
将内核 5.8 更新到 5.11 ubuntu 20.1 无法启动
已解决:这不是问题的真正原因!在好心人的帮助下,我被指导如何进入恢复模式,在那里我决定尝试删除几个月前安装的 i386 架构。我运行了以下命令:sudo apt-get remove libc6:i386.
我的电脑有 Nvidia Geforce,是 64 位 Ubuntu。可能是一些新的更新使我无法启动。我之前安装了i386架构为了运行一个电脑游戏(敌方领土),但是没有用。现在我删除了 i386,我的电脑又可以工作了。谢谢大家!
旧帖子:无法启动计算机的第一次经历的描述,不知道是什么导致了问题:
我的HP Pavilion dv7-3130eo电脑突然无法启动。一切都加载了,甚至出现了 Ubuntu 标志。我按“ESC”跟随终端输出。我只能够快速浏览:GRUB failed boot detection.(通过检查boot.log1证实在某些时候屏幕变黑)。唯一可见的元素是:
_
Run Code Online (Sandbox Code Playgroud)
在左上角。屏幕就这样卡住了。当我单击电源按钮时,它会在几分钟后自行关闭。还有
我试图做的事情: 首先,我能够从新的 Ubuntu 安装 USB 密钥启动,我这样做了很多次。在这里,我首先尝试挂载硬盘并删除一些文件。我很快发现硬盘远远没有满。它仍然无法启动。
然后我在 USB-Boot 中安装了 Boot-repair 软件包,并尝试修复引导。尝试执行此操作时,遇到此消息: 当前会话处于 BIOS 兼容模式。请在您的 UEFI 固件中禁用 BIOS 兼容性/CSM/传统模式。
然后我重新启动并进入 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.
Run Code Online (Sandbox Code Playgroud)
我在网上搜索以了解如何启用 UEFI。由于无法立即找到任何解决方案,我再次尝试启动修复,这次我在高级选项中找到了一个忽略 UEFI 的框。我尝试运行修复,它成功了。这是我取消勾选的框:单独的引导/efi 分区
这是引导修复修复给我的pastebin:修复 pastebin
我尝试重新启动计算机。但一切都没有改变。它仍然不会启动。
有没有人有任何线索或建议?一切帮助将不胜感激!
澄清:问题仍然存在。我无法成功加载 Ubuntu,中途停止,_左上角出现带有标志的黑屏。
在 BIOS 中,它说我正在运行BIOS 版本 F.1A InsydeG20 设置实用程序。Rev. 3.5 计算机有一个 Nvidia Geforce 图形卡。
感谢您的帮助
真诚的雅典娜
小智 1
我想我根据其他经验找到了解决方案:
对 5.11 内核应用修复:
sudo add-apt-repository ppa:kelebek333/nvidia-legacysudo apt install xorg-modulepath-fix从 Nvidia 更改为 nouveau 驱动程序。
尝试使用 5.11 重新启动。
对我来说,这是工作组合。
注意:lib32gcc1 和 libgc6xx 肯定存在一些错误,并且它们与此及更高版本的内核更新不兼容。我们必须等待 nvidia 驱动程序的修复。
我在将发行版从 20.04 升级到 21.04 时遇到了类似的问题,它附带了更新的内核(5.8 到 5.11.. 自大流行以来工作 PC 一直闲置)。更新为我修复的 gcc 软件包,它实际上是尝试运行和配置 nvidia-driver 软件包的编译器,并且 5.11 显然附带了发行版升级未更新的新版本,或者至少未配置为使用。所以一个简单的方法sudo apt install gcc就为我解决了。