Thursday, September 16, 2004

Kernel compile

Make sure you have devfsd installed in your old kernel. This is 'cuz once you build the new kernel, it maps drives assuming you have devfs in your old kernel, n' I didn't!! All thanks to Damaru for helping me with this one!

While you configure the kernel, make sure you enable support for your sound card, ethernet controller n' other devices. You can include them with the kernel, or as loadable modules. In the latter case, you'll find them as .o's in the lib/modules/2.4.26/kernel/drivers/ directory. You can insert them with the /sbin/insmod command. /sbin/lsmod lists your loaded modules. Note that if you've included them with the kernel, they won't be listed! n' do a %: ln -s /linux-2.4.26/ linux to ease things. Ah, but I digress..

Fine! Now you're ready for some serious making out ;)
%: make dep ; make bzImage ; make modules ; make modules_install

You could do a %: make install too, so that your boot loader file (/etc/grub.conf in my case, as I use GRUB) is updated to display your new kernel. Now you type in %: reboot to do the obvious..

0 Comments:

Post a Comment

<< Home