Package Details: ramroot 2.0.1-1

Git Clone URL: https://aur.archlinux.org/ramroot.git (read-only, click to copy)
Package Base: ramroot
Description: Load root file system to zram during boot
Upstream URL: https://github.com/arcmags/ramroot
Keywords: boot live RAM
Licenses: GPL
Conflicts: liveroot
Submitter: arcmags
Maintainer: arcmags
Last Packager: arcmags
Votes: 5
Popularity: 0.000011
First Submitted: 2017-10-31 22:40
Last Updated: 2019-10-27 07:14

Latest Comments

tomjtoth commented on 2020-06-15 17:23

SOLVED sudo nano /etc/mkinitcpio.conf change MODULES() to MODULES(lzo) then save, do mkinitcpio -P and reboot

I get a weird message after last system-wide package update:

dmesg | grep zram [ 6.734791] zram: Added device: zram0 [ 6.739533] zram: Cannot initialise lzo compressing backend

journalctl | grep lzo - 2 type of entries show up: jún 15 17:13:00 k128 kernel: zswap: loaded using pool lzo/zbud jún 15 18:26:36 k128 kernel: zram: Cannot initialise lzo compressing backend

pacman's log:

[2020-06-15T17:41:11+0000] [PACMAN] Running 'pacman -Syy' [2020-06-15T17:41:12+0000] [PACMAN] Running 'pacman -Su --noconfirm'

last reboot

reboot system boot 5.7.2-arch1-1 Mon Jun 15 18:26 - 18:30 (00:03) reboot system boot 5.6.15-arch1-1 Mon Jun 15 17:12 - 18:25 (01:12)

it's funny, because I followed the steps in /usr/lib/initcpio/hooks/ramroot and I successfully created the /dev/zram0 with 8000MiB

further investigating grep -R . /sys/module/zswap/parameters /sys/module/zswap/parameters/same_filled_pages_enabled:Y /sys/module/zswap/parameters/enabled:Y /sys/module/zswap/parameters/max_pool_percent:20 /sys/module/zswap/parameters/compressor:lz4 /sys/module/zswap/parameters/zpool:z3fold /sys/module/zswap/parameters/accept_threshold_percent:90

after adding zswap.enabled=1 zswap.compressor=lzo zswap.zpool=zbud to the boot parameters I noticed something like the "../dev/zram0 devices is busy.."

dmesg | lzo says kernel: zswap: compressor lzo not available, using default lz4

arcmags commented on 2019-10-27 07:16

Upgrading from previous versions requires that you first uninstall your current version.