*** This bug is a duplicate of bug 1842320 ***
    https://bugs.launchpad.net/bugs/1842320

I have an Asus G752VY and encountered this issue when upgrading from
Kubuntu 20.04 to 22.04 this morning.  Neither my new kernel nor my old
one would boot, whether into recovery mode or not.  I ended up spending
a lot of time figuring out how to fix it through the USB live disk.

While I know this is a bug tracker and not a how-to guide, I'm posting
the steps I used to recover because this is one of the first results
that comes up in Google for this problem and I'd hope to save others
from my hours of frustration this morning.  My root partition is on
/dev/nvme0n1p1, so you'll need to adjust if yours is elsewhere.

1) Boot USB disk and select Try It.
2) Open a command line.
3) sudo mount /dev/nvme0n1p1 /mnt
4) sudo mount --bind /dev /mnt/dev && sudo mount --bind /proc /mnt/proc && sudo 
mount --bind /sys /mnt/sys && sudo chroot /mnt
5) Use your favorite command line text editor to edit 
/etc/initramfs-tools/initramfs.conf as noted above.  I used:

MODULES=dep
COMPRESS=xz

6) For safety, I made a backup copy of my existing init file, not that it 
worked in the first place, but it seemed smart.
7) update-initramfs -c -k all
8) update-grub
9) Reboot system.

With all of that, it booted successfully.  Hope it helps someone.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Confirmed
Status in initramfs-tools source package in Jammy:
  Confirmed

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to