Skip to content

Instantly share code, notes, and snippets.

@Adito5393
Adito5393 / Install FreeNAS SCALE on a partition and create a mirror.md
Created February 19, 2023 18:20 — forked from gangefors/Install FreeNAS SCALE on a partition and create a mirror.md
How to install TrueNAS SCALE on a partition instead of the full disk

Install TrueNAS SCALE on a partition instead of the full disk

The TrueNAS installer doesn't have a way to use anything less than the full device. This is usually a waste of resources when installing to a modern NVMe which is usually several hundred of GB. TrueNAS SCALE will use only a few GB for its system files so installing to a 16GB partition would be helpful.

Unfortunately this is only possible by using an intermediate device to act as the installation disk and later move this data to the NVMe.

@Adito5393
Adito5393 / archlinuxzbm.md
Last active March 13, 2025 11:48 — forked from jimboy-701/archlinuxzbm.md
Arch Linux with ZFS root, zfs-dkms, ZFSBootMenu, and Secure Boot enabled (nothing changed compared to the upstream - last merged upstream revision 2024-02-22)

Install Arch Linux with ZFS root filesystem, zfs-dkms, ZFSBootMenu, Pacman Auto-snapshots, Secure Boot enabled

Configure system BIOS

Disable Secure Boot. ZFS modules can not be loaded if Secure Boot is enabled.

ZFS automated install script

Before moving on I need to point out that there exists a script that can automate the configuration and install of a ZFS root system. However as convenient as it sounds the script is limited in flexibility and scope. These limitation cannot be overcome unless one has the time and compacity to edit the script to their liking. If you want to install a ZFS root system as quickly as possible and don't care about any particulars than take a good look at this github page.

@Adito5393
Adito5393 / truenas_install
Created December 1, 2022 10:57 — forked from jose-pr/truenas_install
Truenas Install mods on install for zfsbootmenu with encryption in zpool
#!/bin/sh
# vim: noexpandtab ts=8 sw=4 softtabstop=4
# Setup a semi-sane environment
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export PATH
HOME=/root
export HOME
TERM=${TERM:-xterm}