Hello All,
I am quite new to the freeBSD, but recently I started switching from Linux to freeBSD. The main reason was that I wanted to learn something new. The seconds reason are Jails. I pretty much love them, especially Bastille Jails. They work perfectly in my environment and added the extra isolation I needed.
For the most part, I switched all my HomeLab environment (with the exception of Proxmox PVE) to freeBSD and I would say I am very happy with my choise.
What I want to achieve is:
1. I want to build a custom minimal kernel, that I can use for all my VMs. Why?
- I do not want IPv6 (I do not want at all IPv6, I do not use it at all, and I do not like it)
- I do not want USB (I do not use USB, and I do not want to use USB on VMs)
- I do not want Audio (same as above)
- I do not want Wireless (same as above)
- I do not want RAID (same as above)
- I do not want ALL the things I do not use.
1.1 The things I want to use in my VMs:
- UFS
- IPv4 Only
- Jails
- PF
2. I want to be able to use freebsd-update to update my systems while keeping the custom kernel without the needed to rebuild it after every freebsd-update.
3. I would like to use 1 VM for development purposes, a.k.a for building custom kernels, which I can distribute to my other VMs, so that I can use the new custom kernel on them, without the needed to build custom kernel on each and every VMs I have.
I read the Docs regarding the process of building a custom kernel, and I am experimenting with it, however I have a hard time to properly understand how I can achieve everything from point 1 to 3 in the same time.
Could someone give me a hand here?
Thank you in advance!
I am quite new to the freeBSD, but recently I started switching from Linux to freeBSD. The main reason was that I wanted to learn something new. The seconds reason are Jails. I pretty much love them, especially Bastille Jails. They work perfectly in my environment and added the extra isolation I needed.
For the most part, I switched all my HomeLab environment (with the exception of Proxmox PVE) to freeBSD and I would say I am very happy with my choise.
What I want to achieve is:
1. I want to build a custom minimal kernel, that I can use for all my VMs. Why?
- I do not want IPv6 (I do not want at all IPv6, I do not use it at all, and I do not like it)
- I do not want USB (I do not use USB, and I do not want to use USB on VMs)
- I do not want Audio (same as above)
- I do not want Wireless (same as above)
- I do not want RAID (same as above)
- I do not want ALL the things I do not use.
1.1 The things I want to use in my VMs:
- UFS
- IPv4 Only
- Jails
- PF
2. I want to be able to use freebsd-update to update my systems while keeping the custom kernel without the needed to rebuild it after every freebsd-update.
3. I would like to use 1 VM for development purposes, a.k.a for building custom kernels, which I can distribute to my other VMs, so that I can use the new custom kernel on them, without the needed to build custom kernel on each and every VMs I have.
I read the Docs regarding the process of building a custom kernel, and I am experimenting with it, however I have a hard time to properly understand how I can achieve everything from point 1 to 3 in the same time.
Could someone give me a hand here?
Thank you in advance!