更新完成,但是在重新启动grub时加载,然后计算机冻结。恢复模式也是如此,如照片所示。它可以很好地引导内核版本5.15.0-56,并且我从它的恢复模式运行修复包,但是它对5.15.0-58内核没有影响。

发布于 2023-01-31 23:37:53
引导到较旧的内核版本并重新运行sudo apt dist-upgrade -y。此过程将重新安装内核,并升级更新内核的卷组头,以便正确启动。
Processing triggers for linux-image-5.15.0-58-generic (5.15.0-58.64) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-58-generic
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25
update-initramfs: failed for /boot/initrd.img-5.15.0-58-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.15.0-58-generic (--configure):
installed linux-image-5.15.0-58-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.15.0-58-generic
Log ended: 2023-01-29 21:29:12
Log started: 2023-01-31 15:17:43
(Reading database ... 143232 files and directories currently installed.)
Removing linux-headers-5.15.0-56-generic (5.15.0-56.62) ...
Removing linux-modules-extra-5.15.0-56-generic (5.15.0-56.62) ...
Removing linux-image-5.15.0-56-generic (5.15.0-56.62) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-56-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
Found linux image: /boot/vmlinuz-5.15.0-58-generic
Found linux image: /boot/vmlinuz-5.15.0-57-generic
Found initrd image: /boot/initrd.img-5.15.0-57-generic
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Removing linux-modules-5.15.0-56-generic (5.15.0-56.62) ...
Setting up linux-image-5.15.0-58-generic (5.15.0-58.64) ...
I: /initrd.img is now a symlink to boot/initrd.img-5.15.0-58-generic
Processing triggers for linux-image-5.15.0-58-generic (5.15.0-58.64) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-58-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
Found linux image: /boot/vmlinuz-5.15.0-58-generic
Found initrd image: /boot/initrd.img-5.15.0-58-generic
Found linux image: /boot/vmlinuz-5.15.0-57-generic
Found initrd image: /boot/initrd.img-5.15.0-57-generic
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
WARNING: PV /dev/sda5 in VG dev-vm-vg is using an old PV header, modify the VG to update.
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done发布于 2023-02-10 18:23:16
这就是对我起作用的原因,而年长的Geek提供了有用的链接。
运行在终端中,以查看安装了哪些映像。
apt-mark showauto 'linux-image-.*'这个回来了
linux-image-5.15.0-56-lowlatency
linux-image-unsigned-5.15.0-58-lowlatency然后跑
sudo apt-get purge linux-image-unsigned-5.15.0-58-lowlatency然后再运行这个
apt-mark showauto 'linux-image-.*'这次又回来了
linux-image-5.15.0-56-lowlatency
linux-image-5.15.0-58-lowlatency然后跑(根据老人的链接)
sudo apt-get purge linux-image-5.15.0-58-lowlatency
sudo dpkg --purge linux-headers-5.15.0-58-lowlatency现在linux 5.15.0-58-低延迟已经完全消失了,计算机在linux 5.15.0-56-低延迟上启动得很好。我将等待一个较新的版本变得可用,并尝试再次更新。谢谢你的帮助。
https://askubuntu.com/questions/1452683
复制相似问题