Home/Wiki

Wiki

Documentation and guides for Basalt Linux.

System Administration

Common system administration tasks for Basalt Linux.

User Management

Add, remove, and manage user accounts:

$ sudo adduser <username>         # Create a new user sudo passwd <username>          # Change user password sudo deluser <username>         # Remove a user sudo usermod -aG sudo <user>    # Add user to sudo group

Graphical: Open Settings > Users and Groups.

System Services (systemd)

Basalt Linux uses systemd. Common service management commands:

$ systemctl status <service>      # Check service status sudo systemctl start <service>  # Start a service sudo systemctl stop <service>   # Stop a service sudo systemctl enable <service> # Enable at boot sudo systemctl disable <service># Disable at boot sudo systemctl restart <service># Restart a service

List all services: systemctl list-units --type=service

Disk & Storage

Check disk usage and manage partitions:

$ df -h                     # Check disk space usage lsblk                     # List block devices sudo fdisk -l             # View partition table sudo gparted              # Graphical partition editor

Basalt Linux supports ext4, Btrfs, and XFS file systems.

System Monitoring

Monitor system performance and resource usage:

$ htop                      # Process viewer (install with sudo apt install htop) free -h                   # Memory usage df -h                     # Disk usage uptime                    # System uptime journalctl -xe            # System logs

Firewall

Basalt Linux includes iptables/nftables. For a simpler firewall:

$ sudo apt install ufw sudo ufw enable sudo ufw status sudo ufw allow ssh sudo ufw allow 80/tcp

Secure Boot

Secure Boot is supported via shim-signed. You can keep it enabled during installation. To check Secure Boot status:

$ mokutil --sb-state

If you need to enroll custom keys, use mokutil --import and reboot.

Recovery & Rescue

If the system fails to boot:

  • Hold Shift during boot to access GRUB menu
  • Select "Advanced options" to boot into recovery mode
  • Use the live USB to repair the system
  • Timeshift can restore system snapshots from a live environment