Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Unable to install kernel



Hello, I accidentally deleted my kernels and now I find I'm currently unable to install any (I have tried both debian-sources and debian-sources-lts). I'm still using debian-sources because my computer is still on.

The problem seems to be during the installation, but I don't really understand what's going on. Here are the info and logs:

# emerge --info '=sys-kernel/debian-sources-lts-4.19.132_p1::core-kit'


# emerge -pqv '=sys-kernel/debian-sources-lts-4.19.132_p1::core-kit'

[ebuild  N    ] sys-kernel/debian-sources-lts-4.19.132_p1  USE="binary custom-cflags luks lvm -btrfs -ec2 -sign-modules -zfs" 


# less /var/tmp/portage/sys-kernel/debian-sources-lts-4.19.132_p1/temp/build.log


Any idea of what's going on? :(

Edited by quor
Moving logs to pastebin
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

There is no bug report about the failure to mv/rename all the files in /boot by appending their existing names with -debian-sources or -debian-sources-lts

You could either go to the root of the file system and extract the ./boot directory which contains the kernel,initramfs,and SystemMap files from the stage3 tarball or copy them from /var/tmp/portage/sys-kernel/debian-sources-lts-4.19.132_p1/image.

Edited by cardinal
Correct the image path.
Link to comment
Share on other sites

  • 0

Thanks for your reply. I have tried installing debian-sources with "-binary" USE and installing with genkernel, and it has worked so far. Thanks for your suggestion, in case of "disaster" I'll do that. I'm new to Funtoo and I'm still figuring out the directories, etc. of the kernel and such, as I'm not used to having this degree of low-level control.

In case debian-sources isn't still able to install the kernel, should I report it as a bug, or is it most likely an error on my side?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...