Skip to content

Instantly share code, notes, and snippets.

@whiskerz007
Last active July 5, 2024 12:12
Show Gist options
  • Save whiskerz007/fdf49bf09666610f7dae2553771f7b64 to your computer and use it in GitHub Desktop.
Save whiskerz007/fdf49bf09666610f7dae2553771f7b64 to your computer and use it in GitHub Desktop.
Fedora 40 setup ZFS support from live ISO
source /etc/os-release
rpm -e --nodeps zfs-fuse
dnf install --setopt=fastestmirror=1 --disablerepo=updates -y \
--repofrompath zfsonlinux,http://download.zfsonlinux.org/fedora/${VERSION_ID}/x86_64 \
--setopt=zfsonlinux.gpgkey=https://raw.githubusercontent.com/zfsonlinux/zfsonlinux.github.com/master/zfs-release/RPM-GPG-KEY-openzfs-key2 \
https://dl.fedoraproject.org/pub/fedora/linux/releases/${VERSION_ID}/Everything/x86_64/os/Packages/k/kernel-devel-$(uname -r).rpm \
zfs
modprobe zfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment