Bug #1043: No /etc/os-release: os-prober of other distros lists SliTaz as an unknown Linux

Closed opened 2026-11-11 22:43 UTC, updated 2026-11-11 22:57 UTC

I write an os-release file to recognize and boot from other disto's grub.

file=/etc/os-release

content is below


NAME="SliTaz"
ID="slitaz"
PRETTY_NAME="SliTaz Linux"
VERSION_ID="cooking"
HOME_URL="https://slitaz.org/"
DOCUMENTATION_URL="https://doc.slitaz.org/"
LOGO="slitaz-logo"
DISTRIB_ID="slitaz"

now it shows SliTaz Linux cooking at grub list. Not unknown distro.

System:
filature_report=1
date=2026-11-11
release=cooking
flavor=firefox
arch=x86_64
kernel=6.12.115-slitaz
boot=efi
live=no
cpu=Intel(R) Celeron(R) CPU N3450 @ 1.10GHz
cpu_cores=4
ram_mb=3774
gpu=8086:5a85 i915
packages=500
locale=tr_TR.UTF-8

Questions to the reporter

pankso asked, 2026-11-11 22:43 UTC

Thanks, good idea. slitaz-base-files will ship /etc/os-release (NAME, ID=slitaz, PRETTY_NAME="SliTaz GNU/Linux" and the URLs). No VERSION_ID on purpose: the version lives in /etc/slitaz-release, which changes with the release, and os-prober only needs ID and PRETTY_NAME. Your own file can stay until the package upgrade.

Changesets

History