- Package:
- fai-server
- Source:
- fai
- Submitter:
- Michael Prokop
- Date:
- 2026-07-24 20:43:01 UTC
- Severity:
- wishlist
Hi, FAI currently hardcodes usage of debootstrap/qemu-debootstrap. Would be nice if we could add support for mmdebstrap, since it's *way* faster (debootstrap takes >2mins, while mmdebstrap takes only ~20 seconds). regards -mika-
> it's *way* faster (debootstrap takes >2mins, while mmdebstrap takes
> only ~20 seconds).
In my environment debootstrap only takes 31 sec and mmdebstrap
14 sec. So, the absolute gain is not that big. In debootstrap 1.0.112
my patches for a speedup of 2 where applied, so maybe you are still
using debootstrap from stretch.
* Thomas Lange [Thu Jul 11, 2019 at 11:19:08AM +0200]: I tested this with the version from Debian/buster back then. But even if it's "only" 31 vs 14 secs, that's still a speedup of >2. regards -mika-
The easiest way to implement this it to create a base.tar file using mmdebstrap and then call fai-make-nfsroot -B base.tar ..... Then no deboostrap is called.
The easiest way to implement this it to create a base.tar file using mmdebstrap and then call fai-make-nfsroot -B base.tar ..... Then no deboostrap is called.
For fai-make-nfsroot his is fixed in https://github.com/faiproject/fai/commit/4642ba92b9e9cf850351f80f73433dc2186d6ee9 for using mmdebstrap during the installation, this should work for now: class/DEFAULT.var: alias debootstrap=mmdebstrap But I will also fix this for the installation on the client