小编hai*_*ear的帖子

Ubuntu 22 升级需要启动分区中的大量空间

当尝试从 20.04 升级到 22.04 时,我收到一条错误消息,提示/boot. 但请求的空间量非常大(617M),这让我怀疑出了什么问题。

产生的错误消息do-release-upgrade

Not enough free disk space 

The upgrade has aborted. The upgrade needs a total of 617 M free 
space on disk '/boot'. Please free at least an additional 282 M of 
disk space on '/boot'. You can remove old kernels using 'sudo apt 
autoremove' and you could also set COMPRESS=xz in 
/etc/initramfs-tools/initramfs.conf to reduce the size of your 
initramfs.
Run Code Online (Sandbox Code Playgroud)

内容/boot

$ ls -lh /boot/
total …
Run Code Online (Sandbox Code Playgroud)

initramfs do-release-upgrade 20.04 22.04

13
推荐指数
2
解决办法
8423
查看次数

标签 统计

20.04 ×1

22.04 ×1

do-release-upgrade ×1

initramfs ×1