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
2009-11-13 01:20:37
so I configured and built my kernel in ~/kern, so the image would end up in /arch ?
Recursion
2009-11-13 01:35:47
Assuming it's like mine, ~/kern/arch/i386/boot/bzImage. Check documentation for your distro.
Stephen Newell
2009-11-13 01:51:18
+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
2009-11-13 03:22:11