I want to find the executable of the Generic kernel. Is any idea where should be on my system?
sk8harddiefast said:If I had a bootloader and I wanted to boot just a Generic Kernel. How to execute this? Is a list of files.
There is a series of stages, each with its own loader. In general, you first have a boot manager/loader residing in the MBR or similar structure that reads and loads the bootloader in the boot record of a specific slice, this bootloader in turn decodes the filesystem structures in order to find files and loads the preliminary applications needed to start the system. One of those applications in FreeBSD is the BTX Loader for instance.sk8harddiefast said:I want to understand how things go on an OS and on FreeBSD!
What is this "setup" you want to run? Do you mean like sysinstall running when you boot an install disc? These discs are little more than minimalist live FreeBSD systems that run sysinstall instead of the usual getty-login.sk8harddiefast said:If I have a setup and want to make it run, must be loaded after kernel. Right?
It contains code so of course it's an executable. And the loader must obviously understand that particular type of executable, how and where to load it in memory, which part it needs to relocate, how to execute the code (.text) part, etc.sk8harddiefast said:To make kernel run, must be executable and loaded from a bootloader. Right?
You mean you want to use FreeBSD. The kernel can't work on its own. All it provides is resource management. It has no interface whatsoever. Also, you can't use the kernel with an alien userland, unless you reprogram that userland yourself from scratch to work with the kernel. In that case, see you in a decade...sk8harddiefast said:So I want to use BSD Kernel.
It's not. All operating systems work basically the same way. And in doubt check the Handbook, Developer's Handbook and the source itself.sk8harddiefast said:On BSD things seems to be a little harder because I cannot understand the way I must do it.
loader(8) is only a "final stage" loader.sk8harddiefast said:BTXloader is like grub and default of BSD? I prefer to use BTXloader.
Distribution making and OS development are two completely different things. Making a distribution requires little or no programming knowledge. Check how FreeBSD's livefs works. Maybe this can help too.sk8harddiefast said:Yes. I know That I am not an expert and I don't even Know C. But create mine OS or "distro" is dream of my life.