zfsbootmenu
fzf-scripts
| zfsbootmenu | fzf-scripts | |
|---|---|---|
| 165 | 5 | |
| 1,122 | 525 | |
| 1.1% | 0.6% | |
| 8.1 | 5.4 | |
| about 2 months ago | 4 months ago | |
| Shell | Shell | |
| MIT License | GNU General Public License v3.0 only |
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.
zfsbootmenu
- Diskless Linux boot using ZFS, iSCSI and PXE
-
The unpowered SSDs in your drawer are slowly losing your data
I use ZFS on both my desktop and laptop each with Linux (in addition to a server, also running ZFS, but on FreeBSD). It's actually really not terribly hard, but I might be biased since I've been doing since it 2011 :)
If you can/are willing to use UEFI, ZFSBootMenu is a Linux oriented solution that replicates the power of FreeBSD's bootloader, so you can manage snapshots and boot environments and rollback checkpoints all at boot without having to use recovery media (that used to be required when doing ZFS on Linux). Definitely worth looking into: https://zfsbootmenu.org/
- Timeshift: System Restore Tool for Linux
-
No more boot loader: Please use the kernel instead
As an aside I can heartedly recommend zfsbootmenu for anyone using zfs on linux:
https://github.com/zbm-dev/zfsbootmenu
-
Bash Debugging
We use a couple nice home-grown functions in ZFSBootMenu to help debug things. We have a zdebug logging function that's peppered liberally throughout the code base - https://github.com/zbm-dev/zfsbootmenu/blob/master/zfsbootme...
Hitting ctrl-t on our main menu will, when booting with debug logging enabled, show a screen like this: https://imgur.com/Ge75zkP
We also have a flamegraph profiling mechanism that can be enabled with https://github.com/zbm-dev/zfsbootmenu/blob/master/zfsbootme... . That will dump data to a serial port, which when re-assembled, can be used to produce a graph like https://raw.githubusercontent.com/zbm-dev/zfsbootmenu/master...
Bash is suprisingly flexible.
-
Pure Bash Bible
A lot of what's in the Pure Bash Bible is horrifically slow. Many of those things are substantially faster, even when paying the cost of starting a new process, when you use an external and commonly available tool. I wrote a bash performance profiler that outputs data in a format that flamegraph.pl recognizes - it really helped identify where we could improve the performance of ZFSBootMenu.
https://github.com/zbm-dev/zfsbootmenu/releases/tag/v1.12.0
Don't fall in the trap of thinking things have to be written entirely in bash; it's okay to use other tools to help fill in the gaps.
-
Some preinstalled options/defaults suggestion
If instead of "opensuse" you're asking for bootloader as grub can't boot from zfs, then, like i metnioned, i don't use grub2, i uninstalled it, instead i'm using https://github.com/zbm-dev/zfsbootmenu
-
ZFSBootMenu how to increase font resolution?
I thought the following was supposed to fix this issue: https://github.com/zbm-dev/zfsbootmenu/commit/84da18e64ebcc0c483e7b2c7d3972f7d91784e63
-
How do I configure the refind.conf and refind_linux.conf (and or config.yaml (for ZFSBootMenu)) files properly when installing Arch Linux with ZFS Native Encryption?
All release assets, including EFI executables and kernel/initramfs pairs, are signed with signify, which provides a simple method for verifying that the contents of the file are as this project intended. Once you've installed signify (that's left as an exercise, although Void Linux provides the signify package for this purpose), just download the desired assets from the ZFSBootMenu release page, download the file sha256.sig alongside it, and run:
-
How to keep Ubuntu from creating a dozen /var subdirectories?
I think the consensus is that you probably shouldn't be installing a ZFS on root using the native installer anymore. They aren't really maintaining the packages that make that work. Instead the suggestion is to go the zfsbootmenu route of installing.
fzf-scripts
-
dnf + fzf
You might also get some inspiration from https://github.com/DanielFGray/fzf-scripts/blob/master/pkgsearch which is actually cross-distro (Linux only) and has uses things like -C flag to use the system's cache itself rather than building one by hand.
- Fzf-WiFi: List and connect to WiFi networks via fzf (and other fzf scripts)
-
Fzf – a command-line fuzzy finder
For further inspiration, there are some interesting scripts making use of fzf here: https://github.com/DanielFGray/fzf-scripts
- Fzrepl: Interactive stream filters (Awk, sed, jq) using fzf
What are some alternatives?
zfs - OpenZFS on Linux and FreeBSD
rofi-mpd - shell script for mpd that uses rofi to add songs, albums, playlist, jump to a song in the current playlist etc.
archiso-zfs - Easily load ZFS kernel module on any Archiso.
kernel-modules-hook - Keeps your Arch Linux fully functional after a kernel upgrade
nonguix
reflex - Run a command when files change