Package Details: ramroot 2.0.2-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: mags
Maintainer: mags
Last Packager: mags
Votes: 8
Popularity: 0.000593
First Submitted: 2017-10-31 22:40 (UTC)
Last Updated: 2021-08-26 00:51 (UTC)

Latest Comments

« First ‹ Previous 1 2

audioarch commented on 2021-07-26 03:11 (UTC)

I got this error. zramctl: /dev/zram0: failed to set disksize when aval: 15899M of ram available and ramroot only requires reqd:13191M

blackhole commented on 2021-02-27 22:22 (UTC)

I see that the /usr/lib/initcpio/hooks/ramroot file is different from ramroot repository and has some problems in specific systems.

Can you update it?

tomjtoth commented on 2020-06-15 17:23 (UTC) (edited on 2020-06-15 19:21 (UTC) by tomjtoth)

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

mags commented on 2019-10-27 07:16 (UTC) (edited on 2019-10-27 07:16 (UTC) by mags)

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