When running sudo modprobe zram (or modinfo for that matter) I get the following error:
modprobe: FATAL: Module zram not found in directory /lib/modules/4.13.0-21-generic
Has zram been removed from Ubuntu 17.10?
No. Kernel modules are pretty rarely removed from the upstream kernel. However, many modules are split into a separate (versioned) linux-image-extra package in Ubuntu, and you may be missing said package for your kernel version.
sudo apt-get install linux-image-extra-virtual which installed the version specific linux-image-extra stuff too. :)
– Ru Hasha
Dec 25 '17 at 07:30
sudo apt install linux-modules-extra-5.15.0-1006-raspi thanks to your help. I just realized this was in 2017 but found the newer stuff using that package search.
– Firsh - justifiedgrid.com
May 17 '22 at 07:22
filename: /lib/modules/4.13.0-21-generic/kernel/drivers/block/zram/zram.ko. – Jos Dec 24 '17 at 22:40