mgorny/eclean-kernel — Issue #1: Genkernel created kernels not recognized
Author: cova-fe
Created: 2011-11-13 09:54:24+00:00
State: open

Hi, I'm using your tool (long time needed, many thanks!) but I'm facing an issue with kernels made with genkernel

Scenario:

calvin boot # eclean-kernel -p
Preserving currently running kernel (3.1.1)
These are the kernels which would be removed:
- 3.1.0: vmlinuz does not exist

but:

calvin boot # ls
boot initramfs-genkernel-x86_64-3.1.1 kernel-genkernel-x86_64-3.1.0 System.map-genkernel-x86_64-3.1.1
grub initramfs-genkernel-x86_64-3.1.0 kernel-genkernel-x86_64-3.1.1 System.map-genkernel-x86_64-3.1.0

So 3.1.0 image exists.

same result specifying grub as boot loader.

grub.conf (some options removed)
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30

title=Gentoo Linux (3.1.1)
kernel /kernel-genkernel-x86_64-3.1.1 console=tty1 quiet dolvm
initrd /initramfs-genkernel-x86_64-3.1.1

title=Gentoo Linux (3.1.0)
kernel /kernel-genkernel-x86_64-3.1.0 console=tty1 quiet dolvm
initrd /initramfs-genkernel-x86_64-3.1.0