fedora的/boot分区快满了怎么办?

参考

问题

我的fedora的/boot分析下面有一些老的内核,导致/boot分区可用空间不足,如何安全的清理旧的安装包呢?

pengdl@localhost-live:~$ ls /boot/                                                                                                 11:09:47 [8/8]
config-6.5.6-300.fc39.x86_64                             initramfs-6.7.9-200.fc39.x86_64.img  System.map-6.7.9-200.fc39.x86_64
config-6.7.9-200.fc39.x86_64                             loader                               vmlinuz-0-rescue-09e447b9c5b4459c983840bbb5d3c3e2
efi                                                      lost+found                           vmlinuz-6.5.6-300.fc39.x86_64
grub2                                                    symvers-6.5.6-300.fc39.x86_64.xz     vmlinuz-6.7.9-200.fc39.x86_64
initramfs-0-rescue-09e447b9c5b4459c983840bbb5d3c3e2.img  symvers-6.7.9-200.fc39.x86_64.xz
initramfs-6.5.6-300.fc39.x86_64.img                      System.map-6.5.6-300.fc39.x86_64

解决

sudo dnf remove --oldinstallonly

posted @ 2024-03-26 11:12  摩斯电码  阅读(17)  评论(0编辑  收藏  举报