NEXT UP previous
Next: My Home Page

Device Driver Installation

Once you have your device driver written, the next task is to have it compiled and installed into a bootable kernel. This is actually quite a straightforward task, performed in a few simple steps as follows:

If you use lilo to boot your system, it is a good idea to treat your new kernel as experimental and generate an extra Linux boot section in the lilo.conf (if you use lilo) file so that you can still boot from your old kernel if the new one fails to boot or fails to perform correctly for some reason.

As a general precaution when modifying kernel code, it is always advisable to make a backup of anything on your machine that you do not feel prepared to loose. The chances are that, for most problems, either the new code will just not work or it will cause the kernel to panic. In general, neither of these events will cause any lasting damage to your system, especially if you can reboot your machine from the old kernel. However, in theory, it is possible for bugged kernel code to do absolutely anything, including scrapping data on your hard disk. So, it is always better to be safe than sorry.


NEXT UP previous
Next: My Home Page