![]() | Note |
---|---|
If you have never configured and compiled a new linux kernel you might consider reading the Linux Kernel HOWTO before doing this step. It can be found at the Linux Documentation Project (LDP) or one of its mirrors. |
As with any kernel build, the following commands must be run to actually build the new kernel:
$ make dep $ make bzImage $ make modules |
Again this is standard for any kernel installation:
$ make modules_install $ cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.0-XFS |
$ vi /etc/lilo.conf |
Add a new image section to your lilo.conf file similar to the following:
image=/boot/vmlinuz-2.4.0-XFS label=xfs read-only root=/dev/hda2 |
![]() | Note |
---|---|
These tools rely on the /usr/lib/libuuid.a shared library. If you do not have this library installed you will need it in order for the XFS utilities to compile. You can find the rpm package for your version of Linux from Rpmfind.net by searching for "/usr/lib/libuuid.a." The debian package that contains libuuid is uuid-dev. There will no doubt be other distributions that package this library in another place. A good way to find the correct package on those distributions is to search on the Google Linux search engine. |
$ cd ../cmd/xfsprogs |
Build and install the xfs utilities:
$ make install |
$ reboot |
![]() | Note |
---|---|
Unless you changed the default label to boot in your lilo.conf file you will need to enter "xfs" at the "LILO Boot:" prompt in order to boot the new kernel image. |