![Fedora の /boot パーティションがいっぱいです](https://rvso.com/image/1618738/Fedora%20%E3%81%AE%20%2Fboot%20%E3%83%91%E3%83%BC%E3%83%86%E3%82%A3%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%8C%E3%81%84%E3%81%A3%E3%81%B1%E3%81%84%E3%81%A7%E3%81%99.png)
システムを起動すると、 がいっぱいであるというエラー メッセージが表示され/boot
、 を試行するとdnf upgrade
、に 38 MB 必要であるTransaction test error
というメッセージが表示されます。では 3 つの異なるカーネルが示されたため、すでに 2 回 使用しているため、現在使用しているカーネルのみを残しました。 を使用しようとしましたが、何らかの理由で、そのオプションは利用できないという メッセージが表示されます: 。kernel-core-5.5.10-200.fc31.x86_64
/boot
sudo dnf remove <old kernels>
rpm -qa kernel
package-cleanup --oldkernels --count=2
--oldkernels
package-cleanup has to be executed with one of the options: --dupes, --leaves, --orphans, --problems or --cleandupes
これは私のls -Shla /boot
:
total 218M
-rw-------. 1 root root 80M 03-16 01:07 initramfs-0-rescue-4251ae127a3e4220b94ebab6645dba6c.img
-rw-------. 1 root root 31M 03-16 01:08 initramfs-5.3.7-301.fc31.x86_64.img
-rw-------. 1 root root 29M 03-19 09:06 initramfs-5.5.9-200.fc31.x86_64.img
-rw-------. 1 root root 27M 03-16 04:40 initramfs-5.5.8-200.fc31.x86_64.img
-rwxr-xr-x. 1 root root 11M 03-05 22:42 vmlinuz-5.5.8-200.fc31.x86_64
-rwxr-xr-x. 1 root root 11M 03-12 15:10 vmlinuz-5.5.9-200.fc31.x86_64
-rwxr-xr-x. 1 root root 8,9M 03-16 01:08 vmlinuz-0-rescue-4251ae127a3e4220b94ebab6645dba6c
-rwxr-xr-x. 1 root root 8,9M 10-21 21:34 vmlinuz-5.3.7-301.fc31.x86_64
-rw-------. 1 root root 4,9M 03-12 15:09 System.map-5.5.9-200.fc31.x86_64
-rw-------. 1 root root 4,9M 03-05 22:42 System.map-5.5.8-200.fc31.x86_64
-rw-------. 1 root root 4,3M 10-21 21:33 System.map-5.3.7-301.fc31.x86_64
-rw-r--r--. 1 root root 213K 03-05 22:42 config-5.5.8-200.fc31.x86_64
-rw-r--r--. 1 root root 213K 03-12 15:09 config-5.5.9-200.fc31.x86_64
-rw-r--r--. 1 root root 209K 10-21 21:33 config-5.3.7-301.fc31.x86_64
-rw-r--r--. 1 root root 181K 2019-08-02 elf-memtest86+-5.01
-rw-r--r--. 1 root root 179K 2019-08-02 memtest86+-5.01
drwx------. 6 root root 16K 1970-01-01 efi
drwx------. 2 root root 12K 03-16 01:05 lost+found
dr-xr-xr-x. 18 root root 4,0K 03-16 05:29 ..
drwxr-xr-x. 2 root root 3,0K 10-24 01:12 extlinux
dr-xr-xr-x. 7 root root 1,0K 03-19 09:06 .
drwx------. 3 root root 1,0K 01-13 18:14 grub2
drwxr-xr-x. 3 root root 1,0K 03-16 01:07 loader
-rw-r--r--. 1 root root 166 10-21 21:30 .vmlinuz-5.3.7-301.fc31.x86_64.hmac
-rw-r--r--. 1 root root 166 03-05 22:40 .vmlinuz-5.5.8-200.fc31.x86_64.hmac
-rw-r--r--. 1 root root 166 03-12 15:07 .vmlinuz-5.5.9-200.fc31.x86_64.hmac
さらに、/boot
インストール中にパーティションのスペースを割り当てるときに、250 MiB に設定しました。
どうすれば解決できますか? これらのファイルの一部を削除するか、マジック コマンドを使用するか、あるいは他の何かを使用する必要があるでしょうか?