I have a live CD on USB that's customized and will run from RAM. As of Ubuntu 20, my procedure was as follows:

  1. Mount the ISO and copy filesystem.squashfs
  2. Unsquash and chroot
  3. Add/update/remove programs as needed
  4. Squash, write the ISO to a USB, and replace the squashfs file
  5. Update grub so that it has a menu entry with the parameter "toram"


With Ubuntu 24, there are multiple squashfs files. After updating the one listed as "minimal", booting gets hung up on "kerneloops".

If one wanted to customize their live CD to run from RAM, what's the proper way?