Comment 16 for bug 1829805

Revision history for this message
TJ (tj) wrote : Re: Lubuntu Eoan Daily Image fails to boot after install on KVM

Or is it? Actually I not, because the test in update-initramfs::get_sorted_versions() expects an existing initrd.img-$version:

get_sorted_versions()
{
        version_list="$(
                linux-version list |
                while read -r version; do
                      test -e "${BOOTDIR}/initrd.img-$version" && echo "$version"
                done |
                linux-version sort --reverse
                )"
        verbose "Available versions: ${version_list}"
}

I confused myself because I'd added a workaround for this in calamares by executing a shell

"touch /boot/initrd.img-$(uname -r)"

and forgotten it was there whilst chasing the missing kernel!