Compile kernel from source

Paul Smith paul at mad-scientist.net
Wed Jan 4 22:10:28 UTC 2023


On Wed, 2023-01-04 at 17:01 -0500, Jerry Geis wrote:
> # update-initramfs -u -k 6.2-rc2
                           ^^^^^^^
> depmod: ERROR: could not open directory /lib/modules/6.2-rc2: No such file or directory
                                                       ^^^^^^^
But:

> # ls -l /lib/modules
> drwxr-xr-x 3 root root 4096 Jan  4 14:39 6.2.0-rc2
                                           ^^^!!^^^^

Seems pretty straightforward to me... one of these things is not like
the other...

Did you try:

  update-initramfs -u -k 6.2.0-rc2
                            ^^
??



More information about the ubuntu-users mailing list