LexiVirt OS 2.4.1Testing Only lexi-cloud.com

Installing LexiVirt OS

2.4.1 is marked Testing Only. It runs on Debian 13. It has been installed in emulated servers only (see TEST-REPORT.md), and it is signed with test keys. Do not install it on a server that holds data you need. Fresh installation only. There is no in-place upgrade from AlmaLinux-based 2.2.x hosts or from the legacy LexiVirt 2.1.x line. Installing 2.4.1 erases the disks you select. Keep copies of your VM disks first: moving VMs from a 2.2.x host has not been tested (UPDATES.md).

What you need

Check the download first:

sha256sum -c SHA256SUMS --ignore-missing

lexivirt-os-2.4.1.release.json is the signed release manifest (SHA-256 and size of the ISO, the control-plane release and the update package, signed through the release key chain). This build is signed with test keys.

The installation wizard

Boot the ISO. The boot menu starts Install LexiVirt OS 2.4.1 (Debian 13, Testing Only) after 30 seconds (or press Enter). Other entries start the full-screen installer, the installer on the serial console (ttyS0, 115200), or a hardware and disk report that changes nothing. The installer runs on the live system; no network is needed. Every step shows where you are (step 3 of 8: Storage configuration); long screens stop with -- more: press Enter --; b goes back.

  1. Hardware. CPU model and its x86-64-v2 level, hardware virtualization, memory, firmware (BIOS or UEFI, Secure Boot), every storage controller with its disks, network adapters. A CPU below x86-64-v2 stops the installation. Without VT-x/AMD-V you are asked whether to continue (VMs would run in slow emulation).

Before listing the disks the installer waits for the storage controllers: until udev has finished and the set of disks has not changed for 8 seconds, and, while a RAID or SAS controller shows no disk at all (drives still spinning up, controller firmware still starting), up to 90 seconds (lexivirt.diskwait=SECONDS on the kernel command line changes the limit). If no disk is usable, Scan again looks again without restarting; a RAID controller needs a virtual disk made in its own setup utility first.

  1. Mode. A new installation, or a hardware and disk report that changes nothing. Upgrades use their own boot menu entry.
  2. Storage configuration. Every disk the installer sees, with device name, size, type (HDD, SSD, NVMe or logical volume), model, serial number, bus, controller (PCI address and name), state, and what it holds now (partitions, file systems, LVM, an existing LexiVirt OS installation). Members of existing software or firmware RAID arrays are marked. Disks that can never be used are listed with the reason (the installation medium, USB/removable, read-only, a second path to the same disk). Nothing is selected for erasing until you choose. Then choose a layout:

| Layout | Disks | What it does | |---|---|---| | Single disk | 1 | LexiVirt OS and VM storage on one disk (LVM, XFS) | | Mirror (software RAID 1) | — | Not available in 2.4.x: it cannot be selected or requested unattended. | | System disk + VM storage disks | 1 + 1 or more | LexiVirt OS on one disk; each other selected disk gets one XFS file system and becomes its own VM storage pool (data1, data2, …) | | RAID 10 | 4, 6 or 8 | Linux software RAID 10 for OS and VMs; /boot and the EFI partition are RAID 1 over the same disks |

A layout that the disks cannot support is shown with the reason (for example, too few disks). ZFS, RAID 5/6 and LVM spanning several disks are not offered: they are not implemented and tested.

Hardware RAID controllers (Dell PERC and other MegaRAID, HPE Smart Array, Adaptec) usually present logical volumes, not the physical drives. The wizard marks them, shows the controller, and never builds a software RAID 10 out of two logical volumes of the same controller: they may sit on the same drives. Use the controller's own RAID for redundancy (configure it in the controller's setup utility before installing) and install on its logical volume using the single-disk or separate OS and VM storage layout. Disconnect duplicate paths to a disk before using it as an installation target.

Spinning disks (HDD), 512e and 4Kn. Rotational disks and RAID logical drives are installed like any other disk. The disk list shows sectors 512e (512-byte logical, 4096-byte physical sectors) or sectors 4Kn (4096-byte logical sectors). A 4Kn disk can only start the system through UEFI: a BIOS installation on it is refused before anything is written (boot the installer in UEFI mode). Rotational disks get the mq-deadline I/O scheduler and a 180-second command timeout (instead of 30 s), so a drive that retries a bad sector, or a RAID controller busy with a rebuild, is not reset or dropped from a software RAID while it recovers. File systems are made without a discard pass (it can take many minutes on large SSD or thin-provisioned RAID volumes).

Before going on, the wizard lists the disks that will be erased and the disks that will not be touched. Disks you do not select are invisible to the installer.

  1. Network. Adapters by MAC address with link state, speed and driver. Choose the management adapter, then dhcp or a static address with prefix (10.10.0.63/24), gateway and DNS servers. The address is checked (gateway inside the subnet, not the network or broadcast address). Only this adapter is configured; the others stay down until they are given a role, so no second DHCP lease or default route appears.
  2. Host name. lexivirt-1 by default; a full name is allowed.
  3. Administrator. User name (lower case, not a system account name) and password, typed twice. The password needs 8 characters or more and must not contain the user name or be one of the most common passwords; longer passphrases are welcome (up to 1024 characters). A password that does not meet the policy is refused with the reason, for example at least 8 characters (this one has 7). This user:
  4. signs in to the web console as administrator;
  5. signs in on the host's console and over SSH with administrator rights (sudo, group sudo). The root account stays locked and root cannot sign in over SSH. There is no default password anywhere.
  6. Summary. Everything chosen; type 3, 4, 5 or 6 to change that step, q to stop without changing anything.
  7. Confirmation. The disks to erase with size, model, serial number and ID, and what they hold now. Type ERASE to install; anything else goes back. Existing RAID or pool members must be decommissioned separately. A selection that shares an LVM volume group with an unselected disk is refused.

The installer then erases the confirmed disks, installs from the ISO (no internet needed) and shows its progress. Alt+F2 opens a root shell on the installer (live medium only; the installed system keeps root locked) to follow /var/log/lexivirt-install.log or look at the disks; Alt+F1 returns. Before it restarts the host it checks the result (services enabled, administrator accounts, root locked, SSH, network profile, firewall, storage) and stops with the reasons on the screen if a check fails, instead of restarting into a broken host. The result is kept in /root/lexivirt-install/install-check.txt, the wizard's transcript (without passwords) in /root/lexivirt-install/wizard.log.

After the restart: the web console starts by itself

The web console starts at boot without any command. A health service checks it with a real HTTPS request to the management address, checks that the firewall allows port 443, and only then shows on the console's sign-in screen:

Web console READY: https://10.10.0.63/   (HTTPS checked 2026-11-20 08:01:02 UTC)

Until then it shows NOT READY with the reason (no link on the management adapter, no address, the service starting, port 443 blocked, …) and keeps checking. If the web console service fails or stops answering, it is started again (failed: at once, then with growing pauses; running but not answering for 3 minutes: restarted). Virtual machines are not affected: they keep running whatever happens to the web console. Every event is in the journal and in /var/log/lexivirt/health.log; the current state in /run/lexivirt/console-status.json.

The browser warns about the self-signed certificate until you install your own.

Unattended installation (lab and CI only)

Add to the kernel command line:

lexivirt.auto=1 lexivirt.layout=single|separate|raid10
lexivirt.disks=<by-id>[,<by-id>...] [lexivirt.data=<by-id>[,...]]
lexivirt.confirm=<every disk above, in the same order, comma separated>
lexivirt.nic=<MAC> lexivirt.hostname=<name> lexivirt.ip=dhcp|<CIDR> lexivirt.gw=<gw> lexivirt.dns=<dns>
lexivirt.admin=<user> lexivirt.adminpw=<password>

Disks are erased only when lexivirt.confirm lists exactly the disks named in lexivirt.disks and lexivirt.data. The same rules as in the wizard apply (layouts, password policy, RAID members). The administrator password is visible on the kernel command line of the installer; change it after the first sign-in.

First sign-in

Open the address the console shows and sign in with the administrator from step 6. Then, in this order:

  1. My account → Two-factor authentication: enroll an authenticator app.
  2. Hosts → <host> → Compatibility: confirm virtualization is hardware (KVM) and read the requirement checks.
  3. Storage pools: a default pool exists under /var/lib/libvirt/images/lexivirt (on the system disk or array); with the system disk + VM storage disks layout, data1, data2, … exist too, one per disk, created at the first start only if the disk is mounted.
  4. Virtual networks: a shared NAT network default exists; create project networks as needed.
  5. Organizations & projects: create tenants, then users and role assignments in Users & access.

If the installer did not create an administrator (for example a manual control-plane install), the first visit shows Set up LexiVirt OS, which needs the setup token printed on the host console and stored in /var/lib/lexivirt/secrets/setup-token (root only).

Updates

2.4.1 is installed fresh, like 2.4.0: no update package leads into it (a running 2.4.0 host needs nothing from 2.4.1 except, with spinning disks, the disk rule in UPDATES.md, 2.4.0 hosts and 2.4.1). Later Debian-line releases come as signed update packages, installed from System → Updates or with lexivirt-update. No update feed is published yet. A 2.2.x (AlmaLinux) or legacy 2.1.x host cannot be updated to 2.4.x: the updater refuses a package for another operating system and changes nothing. Details, rollback and recovery: UPDATES.md.

Sign-in protection

The installer sets up the administrator's sign-in like this, on the console and over SSH:

Recovery mode

The installed system's boot menu shows LexiVirt OS (<kernel>) and a LexiVirt OS recovery entry. Sign in locally with a Linux administrator account and run sudo lexivirt-recovery to:

If you can still sign in with another account in the sudo group, run sudo passwd <linux-admin> to recover Linux access. If all Linux administrator credentials are lost, arrange an authorized maintenance window and boot trusted rescue media from the physical console. Identify and mount the installed system root read-write, then enter it with chroot. Read /etc/lexivirt/installer-admin to identify the installer-created account and run passwd <linux-admin>. Exit and reboot from the installed disk. Leave root locked. After signing in, use sudo lexivirtctl reset-password <web-admin> if Web Console access also needs recovery. Treat physical and BMC boot access as privileged.

Building the ISO

The full procedure, with the pinned Debian archive, the reproducible build and the release files, is in debian13/BUILD.md. In short (rootless podman; the build keeps its files in RAM under /dev/shm):

make deb13-images                    # builder and Debian 13 development images
cd console && npm ci && npm run build && cd ..
make deb13-bundle                    # control-plane bundle for Python 3.13 (Debian 13)
make deb13-iso DEB13_KEYS=<keys>     # the installer ISO, signed manifest checked against <keys>/root.pub

hostos/debian/build-iso.sh builds only from the Debian line (STAGE), and only a release version (X.Y.Z) or a lab build (X.Y.Z-deb13.proto.N).