#13006·talos

Max Size of Kernel Command Line doesn't match documentation

Author: stereobutterCreated Mar 19, 2026Updated Sep 16, 2026
LabelsStale

Bug Report

The documentation for talos.config.inline states that

Note: The kernel command line has a limited size (4096 bytes), so this method is only suitable for small configuration documents.

When trying to use talos.config.inline in a way similar to the use case from the documentation I discovered the kernel was not seeing the arg because apparently it had been truncated. I investigated a bit and found that the limit is actually defined as 2048 for ARM and x86.

Apparently some folks patch this e.g. raspberrypi and some platforms even have or add a kernel config.

I checked pkgs but didn't find a similar patch for talos. Would it be possible to patch this in talos to 4096 to match the documentation and support the use case mentioned in the docs?

Environment

  • Talos version: v1.13.0-alpha.2
  • Platform: baremetal