Solved Make a install custom image

Hi! , I dont want to say "distro"..is a insult..i know
in the past, in my linux days, I made a custom debian distro(before the virus) with a installer in bash(I have everything but is diferent to FreeBSD)
So, explain in a simple way.. like "make a FreeBSD custom image for dummies"

My idea is install FreeBSD in a amd64 machine, customize it (compile world,kernel and a selection of packages)
and make an installer
Why?
I want to make this to replace windows machines in my work , I got nothing againts windows,but..it could be better
with FreeBSD as base, have a virtualbox windows VM for the privative software, and besides that..the user
with a custom FVWM enviroment(file manager,browsers,etc)

And if that idea gone wrong,maybe make a custom BSD in the base of FreeBSD of course
return something to the comunity

I got a "laboratory" , machines, a small network..etc
where I get start?

Thanks!!!!!
 
Alternate suggestion: Do a standard FreeBSD install. Then use a tool like Ansible to customize the new install to your liking.
 
My idea is install FreeBSD in a amd64 machine, customize it (compile world,kernel and a selection of packages)
and make an installer
Have a look at release(7)

TL;DR

Eventually refine the build options before world/kernel build ( src.conf(5) ).
Code:
 # cd /usr/src
 # make cleanworld

 # env -i make -j `sysctl -n hw.ncpu` buildworld buildkernel
 # cd release

For custom packages edit scripts/pkg-stage.sh and create a dvd1.iso installer.
Code:
 # make dvdrom
 
Have a look at release(7)

TL;DR

Eventually refine the build options before world/kernel build ( src.conf(5) ).
Code:
 # cd /usr/src
 # make cleanworld

 # env -i make -j `sysctl -n hw.ncpu` buildworld buildkernel
 # cd release

For custom packages edit scripts/pkg-stage.sh and create a dvd1.iso installer.
Code:
 # make dvdrom

Very usefull,I like

is only the beginning and I have a lot to read,but the process seems very (not easy) but no so hard

Code:
cd    /usr
        git clone -b main https://git.freebsd.org/src.git src
         cd    src
         make buildworld buildkernel
         cd    release
         make obj
         make release
         make install DESTDIR=/var/freebsd-snapshot
 
One thing I would like to do is use a cut down version of FreeBSD without all the man pages and other unnecessary components, which I think nanobsd offers, but I've never been able to install something like this.

I followed https://docs.freebsd.org/en/articles/nanobsd/ but didn't manage to install it...

I see the both options, and nanobsd seems to me..very dificult(I love to read,check examples,etc) , but the T-Daemon advise is better
release seems to be a easy solution
 
I see the both options, and nanobsd seems to me..very dificult(I love to read,check examples,etc) , but the T-Daemon advise is better
release seems to be a easy solution
Looks like I was mistaken about not being able to install it .... Thread 90901/

Seems like I wasn't happy with the result, so I'll revisit my previous experience.

I agree that T-Daemon 's advice is probably better.
 
Back
Top