Sorry, I left one thing out...

Please note the addition of item number 14.

Also, to be on the safe side (otherwise you may have to reinstall) you
may want to edit the Makefile in /usr/src/linux-<version> to create a
kernel with a different name from the one supplied by RedHat. You can
change the EXTRAVERSION variable to create a custom name. Of course, you
must install the kernel-source rpm as in step one below first. If you
create a kernel by a different name than the one supplied by RedHat, you
must also add an entry for it to your lilo.conf or grub menu.lst file.
This will add a new item to your boot menu, and you may want to change
the default once you know it works. Also make sure that your revision
numbers and pathnames in step 14 match your new name. And make the
changes to your lilo.conf or menu.lst before doing the "make install".


1. Install the kernel-source rpm from your distribution CD. That will
create a directory /usr/src/linux-<revision>.

2. As root, cd to that directory. Now would be a good time to read the
documentation in the README file in this directory. You will also find a
configs directory that contains several config files. Find the one that
matches the kernel you are currently running and make a note of its
name.

3. Make sure you are in the /usr/src/linux-<revision> directory and
logged in as root.

4. Type "make mrproper".

5. If you are running X, type "make xconfig", otherwise type "make
menuconfig".

6. First select "Load Configuration from File" and give the full path to
the config file you made a note of earlier.

7. Next select "File systems". Find "NTFS file system support (read
only)" and select it (probably as a module).

8. You may or may not want to save your new configuration file, but I
would advise against overwriting the original. Save your changes and
exit config.

9. Do a "make dep". This will take some time.

10. Do a "make bzImage". This will take longer.

11. Do a "make modules". This will not take as long.

12. Do a "make modules_install". This is pretty quick.

13. Do a "make install". This is also quick. I am familiar with lilo and
not grub but I understand the default boot loader for 7.3 is grub. I
know lilo would be run as part of the make install here, but I'm not
sure about grub. Check the documentation. If it were using lilo, there
would be some output from it verifying that it ran successfully.

14. If you are using lilo, check your /etc/lilo.conf for a line that
looks like: initrd=/boot/initrd-2.4.9-31.img. If you are using grub,
check your /boot/grub/menu.lst for a line that looks like: initrd
/boot/initrd-2.4.9-31.img. Do a "mkinitrd /boot/initrd-<version>.img
<version>" where the pathnames match between what is in your lilo or
grub configuration file and the first argument to mkinitrd.

At this point, you have overwritten your existing kernel (unless your
EXTRAVERSION variable in the makefile is different) so cross your
fingers and re-boot your system.

Good luck.

Linus




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to