Nirvati OS - Installation Guide
Nirvati
Guide to install Nirvati on a x86 pc. Since Nirvati is not offering an installation image to install the OS as in a regular Linux distribution, then this guide will help you install Nirvati directly on a drive.
Applicable to Nirvati 0.4.0, as of October 2025
Installation
Download from:
- Hardware platform: x86_64 UEFI (Intel/AMD) systems
- Base system: K3S
- Storage: Advanced Storage Layer
- Disk: Separate disk
- Download image
Prepare the drive(s)
Connect the drive(s) to another pc by usb.
- First, decompress the image:
xz -vdk nirvati-os-006921a.img.xz
# -vdk: v is for verbose to see the progress, d is to decompress and k is to keep the compressed input file otherwise it deletes it.
Primary drive
- Identify your drive:
lsblk
# or
sudo fdisk -l
Note: If using USB adapters, your drives may appear as /dev/sdb, /dev/sdc, etc. Internal SATA drives are typically /dev/sda, /dev/sdb, etc. NVMe drives appear as /dev/nvme0n1, /dev/nvme1n1, etc.
- Unmount (if mounted) any mounted partitions on the SSD:
sudo umount /dev/sdX* # Replace X with your drive letter
WARNING: The following commands will PERMANENTLY ERASE all data on the target drives. Double-check drive identifications before proceeding!
- Write the image:
sudo dd if=nirvati-os-006921a.img of=/dev/sdX bs=4M status=progress
# Replace X with your drive letter
- Sync to ensure everything is written:
sync
Secondary Drive
- Identify your data drive:
lsblk
# or
sudo fdisk -l
WARNING: The following commands will PERMANENTLY ERASE all data on the target drives. Double-check drive identifications before proceeding!
- Unmount (if mounted) any mounted partitions on the secondary drive:
sudo umount /dev/sdX* # Replace X with your drive letter
- Create a partition table:
sudo fdisk /dev/sdX # Replace X with your drive letter
In fdisk:
- Type g (create GPT partition table)
- Type n (new partition)
- Press Enter for default values (uses whole drive)
- Type w (write changes)
- Format with ext4 filesystem:
sudo mkfs.ext4 /dev/sdX1 # Note the "1" - it's the first partition
- Add a label (optional but helpful):
sudo e2label /dev/sdX1 "Data"
Post-installation
- Connect the drives back in the pc.
- Start up the device and wait until it boots and adjusts everything on its own.
- Wait until it has finished booting and take note of the ip address that it’s shown.
- Type the ip address to the browser of another pc in the same LAN network.
Commands
Useful commands when ssh in the Nirvati pc.
To connect with ssh from another computer in the same LAN:
ssh root@<ip-address>
password: freedom
Kubernetes Status
Check cluster status:
kubectl cluster-info
kubectl get nodes
kubectl get pods --all-namespaces
Check specific services:
kubectl get services --all-namespaces
kubectl get deployments --all-namespaces
Longhorn Status
Check Longhorn pods and services:
kubectl get pods -n longhorn-system
kubectl get services -n longhorn-system
kubectl get daemonset -n longhorn-system
Check Longhorn volumes and storage:
kubectl get pv
kubectl get pvc --all-namespaces
kubectl get storageclass
Write a comment