॥ श्री ॥

System Requirements

Installation 2026-08-28

Hardware Requirements

ComponentMinimumRecommended
Processorx86_64 dual-core with VT-x/AMD-Vx86_64 quad-core or better
Memory4 GB RAM8 GB RAM or more
Storage32 GB (dual-image architecture)64 GB or more
FirmwareUEFI (required)UEFI with TPM 2.0
Installation Media8 GB USB drive16 GB USB 3.0 drive
Why 32GB minimum? Shanios maintains two complete system images (@blue and @green) for atomic updates. However, Btrfs Copy-on-Write shares unchanged data between them, resulting in only ~18% overhead compared to traditional systems. In practice the installer itself only refuses disks smaller than 28 GB — the lower enforced floor accounts for the real usable capacity of media nominally sold as "32 GB" (partition tables, wear-leveling, etc.), but 32 GB+ is still what we recommend for comfortable headroom.

Disk Partition Layout

Shanios uses a simple two-partition layout — there are no separate /home, /var, or swap partitions. All subvolumes live within the single Btrfs partition.

PartitionFilesystemSizePurpose
EFI System Partition (ESP)FAT321 GBBootloader, UKI images — mounted at /boot/efi
Root partitionBtrfs (or LUKS2 → Btrfs)Remainder of diskAll system subvolumes (@blue, @green, @home, @data, etc.)

When full-disk encryption is chosen, the Btrfs partition is wrapped in a LUKS2 container (/dev/mapper/shani_root), formatted with the argon2id key-derivation function. The ESP is never encrypted — only the root partition is.

Firmware Requirements

  • UEFI required — legacy BIOS is not supported
  • Secure Boot — optional but recommended; Shanios signs its bootloader and kernel with a MOK (Machine Owner Key) that is baked into the system image at build time — every machine installed from the same signed ISO shares the same key
  • TPM 2.0 — optional; required for automatic LUKS2 unlock without passphrase

Not Supported

  • Legacy BIOS / CSM mode
  • 32-bit (x86) CPUs
  • Dual-boot configurations (not recommended — other OSes may break the bootloader)

Checking Your Hardware

Before installing, verify your hardware meets the requirements:

# Check CPU architecture (must be x86_64)
uname -m
# x86_64

# Check virtualization support (must be present)
grep -E 'vmx|svm' /proc/cpuinfo | head -1
# vmx = Intel VT-x, svm = AMD-V

# Check RAM (minimum 4 GB)
free -h | grep Mem
# Mem:    15Gi   ...

# Check disk size (minimum 28 GB enforced, 32 GB+ recommended)
lsblk -d -o NAME,SIZE | grep -v loop
# NAME   SIZE
# nvme0n1  476G

# Check UEFI (not legacy BIOS)
[ -d /sys/firmware/efi ] && echo "UEFI" || echo "Legacy BIOS"
# UEFI

# Check TPM 2.0 (optional, needed for auto-unlock)
ls /dev/tpm*
# /dev/tpm0  /dev/tpmrm0

Troubleshooting

SymptomCauseFix
uname -m shows i68632-bit systemShanios does not support 32-bit — install an Arch-based 32-bit distro instead
grep vmx returns nothingVirtualization disabled in BIOSEnable VT-x (Intel) or AMD-V (AMD) in BIOS under CPU settings
/sys/firmware/efi doesn't existSystem booted in Legacy BIOS/CSM modeReboot into BIOS and disable CSM / enable UEFI mode
TPM shows as not availableTPM disabled or set to Intel PTTEnable TPM 2.0 in BIOS under Security settings
lsblk shows disk < 28 GBActual usable space too lowUse a larger disk; 32 GB minimum is recommended

See Also