小编Jab*_*er1的帖子

如何在 /etc/initramfs-tools 中设置选项 COMPRESS

我正在尝试将 Ubuntu 升级到最新版本,但收到此错误:

Not enough free disk space

The upgrade has aborted. The upgrade needs a total of 430 M free space on disk '/boot'. Please free at least an additional 37.8 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)

从 gparted 中我得知我的/boot分区大小为 732 MB,其中 425 MB 空闲。我很乐意分配更多空间来/boot避免这个问题,但考虑到我现在所处的位置,这就是我所做的:

  • 我跑了sudo apt autoremove——这没有什么区别。
  • 我正在尝试添加压缩,但说明只是说 …

upgrade partitioning boot

19
推荐指数
1
解决办法
1万
查看次数

标签 统计

boot ×1

partitioning ×1

upgrade ×1