高山绿水 發表於 2024-3-26 11:12:00

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

<h1 id="参考">参考</h1>
<ul>
<li>https://discussion.fedoraproject.org/t/boot-nearly-full-how-to-free-space/73206</li>
</ul>
<h1 id="问题">问题</h1>
<p>我的fedora的/boot分析下面有一些老的内核,导致/boot分区可用空间不足,如何安全的清理旧的安装包呢?</p>
<pre><code class="language-bash">pengdl@localhost-live:~$ ls /boot/                                                                                                 11:09:47
config-6.5.6-300.fc39.x86_64                           initramfs-6.7.9-200.fc39.x86_64.imgSystem.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.imgsymvers-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
</code></pre>
<h1 id="解决">解决</h1>
<pre><code class="language-bash">sudo dnf remove --oldinstallonly
</code></pre>
<p>完</p>


</div>
<div id="MySignature" role="contentinfo">
    <p>本文来自博客园,作者:dolinux,未经同意,禁止转载</p><br><br>
来源:https://www.cnblogs.com/pengdonglin137/p/18096201
頁: [1]
查看完整版本: fedora的/boot分区快满了怎么办?