miniBSD: the mini FreeBSD systemAbout miniBSD v1.0A script to create minimal, optimized FreeBSD images from an existing FreeBSD installation.
OverviewminiBSD creates a minimal FreeBSD image by extracting and optimizing components from an existing FreeBSD installation. The script must be run on a functioning FreeBSD system, which serves as the source for all binaries, libraries, and kernel modules. Features🔧 Optimizations
CompatibilityHypervisor Support
System Requirements
Quick Start# Download the script fetch https://github.com/ggiovannelli/work/raw/refs/heads/master/FreeBSD/my.scripts/minibsd.sh # Make it executable chmod +x miniBSD.sh # Run as root ./miniBSD.sh # Image will be created as miniBSD.img and miniBSD.img.gz ConfigurationKey variables at the top of the script: IMG_SIZE_MB=1024 # Image size (increase to 1536 for full kernel modules) MINIMAL_KERNEL_MODULES="yes" # "yes" for VM-optimized, "no" for full set OutputThe script creates:
Each build displays:
What's Included
What's Excluded
ContributingContributions are welcome! Please feel free to submit a Pull Request. LicenseThis project is licensed under the BSD 2-Clause License - same as FreeBSD. Acknowledgments
Legacy project The original distribution set typically ranges from 12-15 MB (fitting comfortably on a 16 MB flash drive) and includes all essential components needed to run a fully functional FreeBSD system supporting only legacy FreeBSD versions (4.x-6.x). You can get it in the download area. Credits The original project was inspired by a similar concept discovered on Martin Kasper's site (see credits) and born from the practical need for a FreeBSD system that could be deployed on small CompactFlash media without sacrificing the usability and functionality of a complete FreeBSD installation. miniBSD strikes a balance between the minimal PicoBSD system (floppy-sized) and NanoBSD. The actual framework is fully rewritten by Claude.ai with our directions, suggestions and sometime corrections :). miniBSD is mainly developed by gmarco, vic, flag, luca and dave but we are open to contributions and welcome patches from everyone. We also want to thanks : |