Skip to main content

butter-hopper

butter-hopper is a collection of tools to help making switching between multiple distros easier butter-hopper allows you to try out multiple distros on a single large BTRFS partition using BTRFS subvolumes.

Features:

  • butter-hopper uses systemd-nspawn to ch-boot into your desired distro
  • And if you wanna take it for an actual spin on your hardware you can do that too
  • butter-hopper will extract boot entries in the OS and present them in GRUB/rEFInd menu.
  • Installing and upgrading various common packages on many distros can be time consuming.
    butter-hopper uses nix as package management/cache which can be used from any distro
  • Support installing tools like IDE, VSCode which don't need to be packaged to /common
  • PLANNED: Using qemu/KVM to boot GUI to another distro

Pre:requesties

  • Make sure all of distro use systemd and support btrfs which should be any recent distro
  • For the boot to hardware you want to make sure you have a recent version of GRUB2 installed with
    support for btrfs.

butter hopper tools

  • btrhop : The main command line interface to btrhop which allows managing snapshots, running, upgrading distros
  • bootcrap : Command line tools to bootstrap a distro from rootfs or docker images.
  • mntem : A tool to help manage multiple mount points of BTRFS subvolumes/ shared storage.
  • nixy : Helper script to install nix and setup packages on common /nix/store

Sharing:

While using a default user of 1000 and allowing any user to change stuffs in /home works.
butter-hopper recommends using differnt user ids of your primary user and supports in the config.
To take a sample config of butter-hopper.conf look at my dotfile in your preferred Git hosting.
Github Gitlab Bitbucket

Tips:

Change your default subvol to "/staging" so you dont accidentally mount the real root
To do that simply run btrhop populate-distros --staging

Working

This is the layout pulled directly from my current install. butter-hopper installs distros to /distros in your btrfs partition

distros
       ├── arch
       │   ├── @
       │   └── home
       ├── debian-buster
       │   ├── @
       │   └── home
       ├── fedora
       │   ├── @
       │   └── home
       ├── tumbleweed
       │   ├── @
       │   └── home
       ├── ubuntu-latest
       │   ├── @
       │   └── home

License

Copyright (c) 2019 Cswl Coldwind cswl1337@gmail.com Licensed under the MIT License. See LICENSE.txt

Metadata

Release files for butter-hopper 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for butter-hopper 0.2.0
File Size Uploaded Provenance Actions
butter-hopper-0.2.0.tar.gz 7.2 kB Without provenance Details for butter-hopper-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for butter-hopper 0.2.0
File Interpreter ABI Platform Actions
butter_hopper-0.2.0-py3-none-any.whl Python 3 none any Details for butter_hopper-0.2.0-py3-none-any.whl

Total release size: 16.6 kB

Release files / butter-hopper-0.2.0.tar.gz

Download URL butter-hopper-0.2.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9547e72e9dc396a0fdabc6cfe3600c960e786d7ecce113e056f95070ce3e30de
BLAKE2b-256 checksum
How to use checksums
b48f76263679156e1b4db2fecbbd90a5158ea69638652638f3635d54f32d7cf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / butter_hopper-0.2.0-py3-none-any.whl

Download URL butter_hopper-0.2.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d475ffcc740c4d52c3d6d7f1b46a39a3f0742df1efb6ae5dc078647aa14813ce
BLAKE2b-256 checksum
How to use checksums
b7f8352c5090b549e7aa9841c7fd2870445acc7482b81dfdc71c34c4c04e07fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for butter-hopper 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page