SLAX 2026.12

Boot & USB setup

Install Slax on USB or disk, choose how to keep your changes.

Install Slax on USB or disk

The Slax ISO includes a graphical installer for USB drives and supported internal disks. It copies the system files and prepares BIOS and UEFI booting according to the destination’s layout.

Open Slax Installer

  • Windows: Open or mount the ISO, then run slax/installer/slax-install.exe and approve administrator access. The executable supports Windows XP and later; older Windows versions may need an ISO-mounting or extraction tool.
  • Linux: Mount the ISO and run slax/installer/slax-install-linux as root. It needs glibc 2.27 or newer, GTK 3.22 or newer, libudev, libblkid and liblzma5.
  • Already running Slax: Open Slax Installer in the application launcher. It uses the running Slax source, including a source copied to RAM.

Choose the source and destination

The wizard opens with Welcome, followed by Slax source, Target drive, Installation and Finish. Browse offers an ISO image or Slax directory; a parent containing slax/ also works. A detected source stays available for review before you continue.

Choose the destination and press Next to review the installation plan. Eligible data partitions are larger than 1 GB; EFI System Partitions are reserved for boot files. The installer can add Slax alongside an existing system on supported layouts, without resizing existing filesystems.

Leave Erase entire selected disk unchecked to preserve unrelated files and existing systems. Updating an existing slax/ folder replaces matching source files and keeps extra files and the complete slax/changes/ history. Turning Erase on deletes every partition and file on that physical disk, including hidden partitions and other drive letters. Check the concrete plan before choosing Install.

Boot your computer

Restart and open your computer’s boot-device menu. The key is often F11, F9, F12 or Esc; check the startup screen or the computer’s instructions. Choose the USB drive or select Slax from the boot menu on your internal disk. Slax includes a signed UEFI bootloader and kernel, so Secure Boot can stay enabled on compatible systems.

Using the remaining space after writing an ISO

A dedicated image-writing utility can write the ISO directly to a USB drive. This replaces the disk’s contents and leaves a read-only Slax system partition, an EFI partition and a small SLAX-DATA partition containing instructions. It does not automatically use the space beyond the image.

  1. In Slax, open Partition Manager and select that USB drive. If offered, apply Repair layout through Review changes and Apply changes.
  2. Unmount SLAX-DATA and add its deletion to the plan. This removes its README and any files you added there. Keep the existing ISO and EFI partitions.
  3. Select the unallocated space after EFI, choose New partition, then Use all space and FAT32. Choose Add to plan.
  4. Review the plan: only SLAX-DATA should be deleted and the replacement data partition created. Apply it, then select that writable drive for saved changes at the next boot.

In Windows Disk Management, delete only SLAX-DATA and create a maximum-size New Simple Volume in the resulting free space, using exFAT or FAT32 if offered. If Windows cannot delete the volume or show the expected free space, use Partition Manager in Slax. Slax Installer is the alternative when you want editable Slax system files instead of a raw ISO layout.

Slax on CD/DVD

Burn the ISO using your disc-burning software’s Burn image option. The ISO is a complete disc image; copying the ISO file onto an ordinary data disc will not create a bootable Slax disc. Either a CD or DVD with enough capacity can be used.

Choose the optical drive in the computer’s boot menu. A disc is read-only, but you can still keep a saved changes on another writable drive by choosing Choose a saved state.

Slax boot options

The Slax logo appears with a five-second countdown. Press Enter to start immediately, or Esc to open the full menu. Use the arrow keys and Enter to choose an option.

  • Resume previously saved changes (if any) continues the most recently selected drive’s kept changes. With no previous selection, a writable boot medium can be prepared automatically.
  • Choose a saved state lets you choose a writable drive, then a point in its history.
  • Run Slax from RAM (with no automount) copies the complete Slax source into memory, keeps changes temporarily and leaves automatic mounting of other drives disabled.
  • Start Slax in text mode only (no desktop) opens a console. Run startx to open the desktop. This entry uses nomodeset and keeps changes in RAM unless you add a persistence parameter.

Choose a drive and saved state

Select a drive to see its saved-state tree. Last saved state continues its kept changes; selecting a named or automatic state returns to that point. Fresh start returns to the clean Initial state while keeping the existing history. On an unused drive, it prepares storage.

Press F5 in the drive list to detect a newly connected disk. Esc from history returns to the drive list; Esc there continues in RAM. The selected drive becomes the choice for later automatic resume, which continues its latest kept changes rather than repeatedly restoring the same point.

During graphical startup, the dots under the logo are blue for changes in RAM, green for disk-backed changes and red when Slax falls back to RAM because the changes drive needs attention. They remain neutral during storage selection. Esc reveals the boot log.

If boot cannot locate the Slax files, the recovery screen shows device search results and mount errors. In its shell, more /var/log/live-data.log opens the full diagnostic report. This report is held in RAM and disappears after reboot.

Persistent changes

Slax keeps installed applications, settings and saved files on the selected writable drive. Each drive has one history of saved states. Booting Slax and choosing storage are separate: changes can live on another drive even when Slax starts from a CD, ISO or read-only USB system partition.

Open Slax Status from the stacked-drive tray icon to check the active storage and available space. Keep changes after restart controls whether this run carries over. Turning it off returns to this run’s starting state at the next activation; explicitly saved named states remain available. See Saved states for saving and restoring.

Storage on FAT, exFAT, NTFS and Linux filesystems

All supported backing filesystems, including ext4, use a DynFileFS container at /slax/changes/changes.dat. Its numbered data parts and changes.dat.snapshots/ directory belong to the same store. An XFS filesystem inside the container supplies Linux permissions and metadata to OverlayFS.

The virtual capacity follows the backing filesystem’s capacity and can grow when that capacity increases. Data parts allocate space as needed; the full virtual capacity is not reserved. Actual free space on the drive still limits usable storage. Slax no longer uses the perchsize= boot parameter.

For a backup, shut down normally, boot from another source or use another computer, then copy the complete inactive slax/changes/ directory, including hidden files and snapshot metadata. Do not copy only changes.dat or back up a store while it is in use.

Earlier saved sessions

On first use, Slax can import the numbered DynFileFS session selected by the older last_session.txt marker. Its container moves into slax/changes/; other numbered sessions remain on disk. An imported history may not have a clean Initial state. Current DynFileFS automatically upgrades format-500 containers. Back up older storage before using it with a newer release.

When storage needs checking

An interrupted shutdown, an unclean filesystem or a mount failure can make Slax continue in RAM. Slax Status identifies the drive and offers Check and repair. Save important files from the current RAM run elsewhere first. After a successful check, choose Restart Slax to resume the drive’s saved changes, or Continue in RAM. Restart discards the RAM run.

The same checker is available from Check required drive rows in File Manager and native Open/Save dialogs. FAT, exFAT, ext2/3/4 and XFS can be checked and repaired. Btrfs is checked read-only first; attempting repair needs a separate confirmation and can lose data. NTFS needs Windows drive repair. Slax keeps hibernated or unverifiable NTFS storage read-only. If the boot drive cannot be released for checking, start Slax from another medium.

Open a copy of an inactive container

For ordinary saved-state browsing, use Open files in Slax Status. For manual recovery, work on a complete copy of an inactive changes directory. Replace the example path with its changes.dat file; both mount directories must be empty.

mkdir -p /mnt/changes-storage /mnt/changes-files
/run/initramfs/bin/@mount.dynfilefs -f /path/to/copy/changes.dat -m /mnt/changes-storage --no-auto-snapshots
mount -t xfs -o loop,ro,nouuid,norecovery /mnt/changes-storage/virtual.dat /mnt/changes-files

The first mount exposes DynFileFS’s virtual disk. The second opens its XFS filesystem read-only without journal replay. Modified system files are under /mnt/changes-files/changes/; this upper layer is not a complete copy of the base system. An unclean XFS image may not open this way; keep the original intact and use the filesystem-repair workflow. Unmount in reverse order:

umount /mnt/changes-files
umount /mnt/changes-storage

Shutting down Slax safely

Choose a power action in the launcher’s Session category, or use poweroff or reboot in a terminal. Wait for shutdown to finish before removing drives used by Slax.

The boot drive can still supply system files, and a persistent session may still be writing to its own drive. Slax releases those mounts at the end of shutdown. Also unmount any other drive before unplugging it if you opened files there.

Running from memory

Run Slax from RAM (with no automount) copies the complete Slax source into memory. After startup releases the original medium, you can remove it. System changes disappear at shutdown; save important documents to a mounted drive or remote storage.

Other filesystems remain available in File Manager’s sidebar: click one to mount it manually. Boot and active changes storage are still exposed under /media when required by another boot configuration; noautomount does not detach storage Slax is using.

To enable future saving from a RAM run, open Slax Status → Saved states, choose a mounted writable drive and Enable and restart. Existing saved changes are retained. This sets up future runs; it cannot transfer or save the current RAM run. Copy important files elsewhere before confirming the restart.

Allow RAM for the complete system image and the applications you use. If a custom copy-to-RAM boot also uses persistent changes, its changes drive must stay connected.

Cheatcodes for Slax

Boot parameters, also called cheatcodes, change how Slax starts. Press Esc during the countdown, select an entry in GRUB and press e. Add your parameters to the end of the line beginning with linux. Press Ctrl+X to boot the edited entry. These edits apply to that boot only.

ParameterMeaningExample
from=Choose the Slax directory or ISO, or ask which device to search. For HTTP ISO loading, add ip=dhcp to obtain a network address.from=/slax/
from=/Downloads/slax.iso
from=/dev/sda1/slax
from=ask
from=http://server/slax.iso ip=dhcp
noload=Skip matching .sb module names at boot. Quote or escape special characters as required by GRUB.noload=04-chromium
noload=firmware,chromium
nosoundMute sound when the desktop starts.nosound
toramCopy Slax data to RAM. Remove persistence parameters too if you want to release all boot and changes storage.toram
perchdir=Resume saved changes or choose a drive and saved state. An explicit device/directory restricts storage to that filesystem.perchdir=resume
perchdir=ask
perchdir=/dev/sda1/slax/changes
noautomountLeave other filesystems unmounted until you mount them manually.noautomount
textStart in a text console instead of launching the graphical desktop.text
debugEnable diagnostic output and interactive early-boot debugging.debug

Separate parameters with spaces. Device names in the examples are placeholders for your own drives. The manual page man bootparam describes additional general Linux kernel parameters.

Next: get to know your desktop