ramroot
Load root file system to ram during boot. (by arcmags)
zram-init
A wrapper script for the zram linux kernel module with zsh and openrc support (by vaeth)
ramroot | zram-init | |
---|---|---|
5 | 3 | |
265 | 79 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | over 2 years ago | |
Shell | Shell | |
GNU General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ramroot
Posts with mentions or reviews of ramroot.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Arch Linux done right
Now I can use ramroot and run the whole OS on RAM.
-
Linux install to a USB
Anyway, I wrote and maintain a guide to make this setup: https://mags.zone/help/arch-usb.html. I also made a package to optionally load everything to RAM during boot: https://github.com/arcmags/ramroot.
-
Tips on: Arch linux on usb as a daily driver
I wrote a tool to load root entirely into RAM on Arch. It checks available RAM and prompts on boot.
- How to make rescue/recovery partition that copies into RAM (live cd)?
-
USB stick longevity as a boot drive
You could also use the Arch Linux guide above and install Arch Linux on the USB drive, making sure the boot and root partition sizes are less than the amount of ram in the machine you are booting on. Then install ramroot which will load up your system into ram on boot. This will mean the system runs off ram and not USB. If you need to make changes, install applications or update, you could boot it normally so it runs off USB as any changes won't be saved if it is booted into ram. If your home folder is on another partition on the USB, I don't think that is loaded into ram on boot so you can still save files to it and any personalisations should also be kept between boots.
zram-init
Posts with mentions or reviews of zram-init.
We have used some of these posts to build our list of alternatives
and similar projects.
-
What are some things that could mount swap that isn't /etc/fstab?
I found a github issue here that seemed to explain things.
-
Why does compiling packages in zram work, but not the Linux kernel?
Also, sys-block/zram-init::gentoo Scripts to support compressed swap devices or ramdisks with zRAM (https://github.com/vaeth/zram-init/)
-
Does Gentoo support zswap (openrc) as seen on fedora 33? I cannot find any explicit guidance in the handbook. I’m looking for disk backed zsawp not swap in zram. Is this only achievable with systemd?
IIRC zswap is zram used for swap, so as long as your kernel has zram support, you can use zswap. You can use zram with zramctl from util-linux. However, there is also the sys-block/zram-init package: it's a wrapper around zramctl which offers an openrc script to automatically create zram devices at boot. It also provides configuration for zswap. Configuration is in /etc/conf.d/zram-init.
What are some alternatives?
When comparing ramroot and zram-init you can also consider the following projects:
zfsbootmenu - ZFS Bootloader for root-on-ZFS systems with support for snapshots and native full disk encryption
log2ram - ramlog like for systemd (Put log into a ram folder)
wireguard-initramfs - Use dropbear over wireguard.
init - KISS Linux - Init Framework