Compile kernel from source
Aaron Rainbolt
arraybolt3 at ubuntu.com
Thu Jan 5 13:59:59 UTC 2023
On 1/5/23 07:44, Jerry Geis wrote:
>
>
> 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.
Try editing /etc/initramfs-tools/initramfs.conf, and change the
"MODULES=most" line to "MODULES=dep", then rebuild the initramfs and see
if that fixes it.
>
> Thanks,
>
> Jerry
>
--
Aaron Rainbolt
Lubuntu Developer
https://github.com/ArrayBolt3
https://launchpad.net/~arraybolt3
@arraybolt3:lubuntu.me on Matrix, arraybolt3 on irc.libera.chat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x6169B9B4248C0464.asc
Type: application/pgp-keys
Size: 4853 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230105/48f41c96/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230105/48f41c96/attachment.sig>
More information about the ubuntu-users
mailing list