젠투 서버에서는 EFI 파티션이 가득 차서 커널을 업데이트하려고 할 때 문제가 발생합니다.
ls
/boot는 다음을 표시합니다.
config-6.1.27-gentoo-dist config-6.3.8-gentoo-dist initramfs-6.3.4-gentoo-dist.img.old System.map-6.3.3-gentoo-dist vmlinuz-6.1.27-gentoo-dist vmlinuz-6.3.6-gentoo-dist
config-6.3.10-gentoo-dist config-6.3.9-gentoo-dist initramfs-6.3.5-gentoo-dist.img System.map-6.3.4-gentoo-dist vmlinuz-6.3.10-gentoo-dist vmlinuz-6.3.7-gentoo-dist
config-6.3.3-gentoo-dist EFI initramfs-6.3.6-gentoo-dist.img System.map-6.3.4-gentoo-dist.old vmlinuz-6.3.11-gentoo-dist vmlinuz-6.3.8-gentoo-dist
config-6.3.4-gentoo-dist grub initramfs-6.3.7-gentoo-dist.img System.map-6.3.5-gentoo-dist vmlinuz-6.3.12-gentoo-dist vmlinuz-6.3.9-gentoo-dist
config-6.3.4-gentoo-dist.old initramfs-6.1.27-gentoo-dist.img initramfs-6.3.8-gentoo-dist.img System.map-6.3.6-gentoo-dist vmlinuz-6.3.3-gentoo-dist vmlinuz-6.4.3-gentoo-dist
config-6.3.5-gentoo-dist initramfs-6.3.10-gentoo-dist.img initramfs-6.3.9-gentoo-dist.img System.map-6.3.7-gentoo-dist vmlinuz-6.3.4-gentoo-dist vmlinuz-6.4.4-gentoo-dist
config-6.3.6-gentoo-dist initramfs-6.3.3-gentoo-dist.img System.map-6.1.27-gentoo-dist System.map-6.3.8-gentoo-dist vmlinuz-6.3.4-gentoo-dist.old vmlinuz-6.4.4-gentoo-dist.old
config-6.3.7-gentoo-dist initramfs-6.3.4-gentoo-dist.img System.map-6.3.10-gentoo-dist System.map-6.3.9-gentoo-dist vmlinuz-6.3.5-gentoo-dist
현재 부팅된 커널 버전은 입니다 6.1.27-gentoo-dist
.
부팅 파티션에서 오래된 이미지를 제거하는 올바른 방법은 무엇입니까?
답변1
~에서https://wiki.gentoo.org/wiki/Kernel/Removal:
$ emerge eclean-kernel
$ eclean-kernel -a
@Artem S. Tashkinov에게 감사드립니다.