tags:

views:

72

answers:

2

I usually only work on the FreeBSD kernel and it is a bit different. I get up to the stage of making and installing the modules, but how do you actually boot the kernel that you just built?

+1  A: 

Depends on how your system is configured, but you want to copy the bzImage file somewhere your boot loader can see it, then update configs (if necessary). On my gentoo box:

#pwd is /usr/src/linux
cp arch/i386/boot/bzImage /boot/default-kernel

Stephen Newell
so I configured and built my kernel in ~/kern, so the image would end up in /arch ?
Recursion
Assuming it's like mine, ~/kern/arch/i386/boot/bzImage. Check documentation for your distro.
Stephen Newell
+3  A: 

Take a look here. Essentially it's something along the lines of make menuconfig, make all, make install, make install_modules, make install_firmware, and then tweaks in grub or lilo config.

Nikolai N Fetissov