I'm looking for a guide that explains well how to compile your own kernel, adapting it to your needs
By deleting /usr/obj the disk space occupied is 2.5 GBcheck /usr/obj ?
Could you provide me with the correct procedure to install src and once compiled into the kernel remove the previous one and clean up the system. I would need to create a system with the essentials. Thank you![]()
Chapter 10. Configuring the FreeBSD Kernel
This chapter covers how to configure the FreeBSD Kernel. When to build a custom kernel, how to take a hardware inventory, how to customize a kernel configuration file, etcdocs.freebsd.org
build(7), src.conf(5), make.conf(5), and release(7).
Could you provide me with the correct procedure to install src
You understand that FreeBSD is a complete OS, right? It's more than a kernel.I would need to create a system with the essentials.
Yes and I'm very passionate about the OS. I'm trying to implement a system optimized for a given hardware that fits in as little space as possible.![]()
Chapter 26. Updating and Upgrading FreeBSD
Information about how to keep a FreeBSD system up-to-date with freebsd-update or Git, how to rebuild and reinstall the entire base system, etcdocs.freebsd.org
You understand that FreeBSD is a complete OS, right? It's more than a kernel.
You might want to check out nanobsd(8) or the mfsBSD project.I'm trying to implement a system optimized for a given hardware that fits in as little space as possible.
Sorry, but I can't find the procedure to clean up the system once the kernel has been compiled and the new one installed. I would like to remove src the old kernel and the paths used to compile it essentially what is no longer needed![]()
Chapter 26. Updating and Upgrading FreeBSD
Information about how to keep a FreeBSD system up-to-date with freebsd-update or Git, how to rebuild and reinstall the entire base system, etcdocs.freebsd.org
You understand that FreeBSD is a complete OS, right? It's more than a kernel.
I would like to remove src the old kernel
rm -rf /boot/kernel.old
?What paths? The source tree is a version controlled tree? What 'old' sources are you talking about?and the paths used to compile it essentially what is no longer needed
It depends what method you use. If you use the buildkernel method the obj is under /usr/obj. If you use the old configure method everything is in /usr/src/sys/amd64/compile/IDENT. The new method is too murky for me; I like everything in one directorySorry, but I can't find the procedure to clean up the system once the kernel has been compiled and the new one installed. I would like to remove src the old kernel and the paths used to compile it essentially what is no longer needed
Thank you
rsync
- zfs send
and zfs receive
will do the job.