Ok, I have a book called Absolute BSD but it's the first edition and maybe it uses some old commands that aren't revelant to 8.1. According to the book it tells me to move my Generic kernel from /sys/i386/conf to my /usr/src directory and rename it, in my case I called it ServKern. After moving it I edit the file in vi and remove any unwanted drivers that I dont need. Once completed with the editing it tells me to use the config command:
But when I do this it just spits out
Then the book tells me to do a
As far as I understand kernels, building one should be a very straight forward process.
-Copy your GENERIC kernel to your /usr/src directory
- Edit the Generic kernel to your liking and rename it to whatever.
- Compile the new kernel and install it over the GENERIC one.
- Then reboot and it should be using your new kernel.
I have also tried using a different command:
But when I tried this it just spits out:
I use this command while im in my /usr/src directory. Is this not the right command or did I just do it wrong? Do we not use the config command anymore for building kernels? Did I skip a step or something? Is there a different way of doing this for 8.1?
FreeBSD 8.1 installs just fine on my machine which is an old Dell Dimension 4600 single core Pentium 4 2.6 proc, with an Intel 865PE chip set, A simple ATA 80GB Seagate hard drive. An ATA cd-rom.
Any advice from the experts would be awesome.
config ServKern
But when I do this it just spits out
Code:
Specifiy machine type "e.g. machine i386"
make depend && make all install
When I run this command it just compiles for a few hours and then compile crashes and spits out a bunch of Error code 1 errors in different directories. As far as I understand kernels, building one should be a very straight forward process.
-Copy your GENERIC kernel to your /usr/src directory
- Edit the Generic kernel to your liking and rename it to whatever.
- Compile the new kernel and install it over the GENERIC one.
- Then reboot and it should be using your new kernel.
I have also tried using a different command:
make buildkernel KERNCONF=ServKern
But when I tried this it just spits out:
Code:
Missing kernel configuration files.
I use this command while im in my /usr/src directory. Is this not the right command or did I just do it wrong? Do we not use the config command anymore for building kernels? Did I skip a step or something? Is there a different way of doing this for 8.1?
FreeBSD 8.1 installs just fine on my machine which is an old Dell Dimension 4600 single core Pentium 4 2.6 proc, with an Intel 865PE chip set, A simple ATA 80GB Seagate hard drive. An ATA cd-rom.
Any advice from the experts would be awesome.