Compile kernel from source

Jerry Geis jerry.geis at gmail.com
Thu Jan 5 13:44:08 UTC 2023


On Wed, Jan 4, 2023 at 5:12 PM Paul Smith <paul at mad-scientist.net> wrote:

> 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
>                             ^^
> ??
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



update-initramfs -u -k 6.2.0-rc2

This help a bunch - I was leaving off the .0 - all errors are gone now...

However when I reboot I get "out of memory" press any key - I press enter
and I still get the
cannot find root device.

Thanks,

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230105/3c1e1e41/attachment.html>


More information about the ubuntu-users mailing list