[Bug 1970402] Re: Initrd out of memory error after upgrade to 22.04
Sébastien Le Callonnec
1970402 at bugs.launchpad.net
Tue May 24 16:58:32 UTC 2022
I had the same issue compiling a 5.15.36 kernel on Ubuntu 22.04,
initrd.img (.tmp) below was causing Out of memory:
-rw-r--r-- 1 root root 13628696 May 23 22:58 initrd.img-5.15.36+
-rw-r--r-- 1 root root 515731970 May 23 22:58 initrd.img-5.15.36+.tmp
Switching MODULES=most (which produced .tmp above) to MODULES=dep in
/etc/initramfs-tools/initramfs.conf produced the smaller initrd.img, and
fixed the issue.
$ cat /proc/meminfo
MemTotal: 16065036 kB
...
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1970402
Title:
Initrd out of memory error after upgrade to 22.04
Status in initramfs-tools package in Ubuntu:
Incomplete
Bug description:
After upgrading to 22.04 system is unbootable because of "out of memory" error when loading initial ramdisk. I was able to fix it by editing cat /etc/initramfs-tools/initramfs.conf
and changing configuration to:
MODULES=dep
COMPRESS=xz
RUNSIZE=15%
Not sure which one helped, but I can test it if needed.
System information:
Description: Ubuntu 22.04 LTS
Release: 22.04
initramfs-tools:
Installed: 0.140ubuntu13
Candidate: 0.140ubuntu13
Version table:
*** 0.140ubuntu13 500
500 http://pl.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://pl.archive.ubuntu.com/ubuntu jammy/main i386 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1970402/+subscriptions
More information about the foundations-bugs
mailing list