Delete program, file and lines related to modules
NOTE: The procedure described above relates to initscripts-4_70-1 package under Red Hat Linux version 6.1.
Under Red Hat Linux 6.2
Comment out the line 243 in the rc.sysinit file (vi +243 /etc/rc.d/rc.sysinit):
if [ -x /sbin/depmod -a -n “$USEMODULES” ]; then
To read:
#if [ -x /sbin/depmod -a -n “$USEMODULES” ]; then
Comment out the lines 255 to 260 in the rc.sysinit file (vi +255 /etc/rc.d/rc.sysinit):
if [ -L /lib/modules/default ]; then
INITLOG_ARGS= action “Finding module dependencies” depmod -a default else
INITLOG_ARGS= action “Finding module dependencies” depmod -a fi fi To read:
# if [ -L /lib/modules/default ]; then
# INITLOG_ARGS= action “Finding module dependencies” depmod -a default
# else
# INITLOG_ARGS= action “Finding module dependencies” depmod -a
# fi
#fi
NOTE: Once again, all of this part (”Delete program, file and lines related to modules”) is required only if you said No to “Enable loadable module support (CONFIG_MODULES)” in your kernel configuration above.
Step 3
Now you must Reboot your system and test your results.
[root@deep /]# reboot
When the system is rebooted and you are logged in, verify the new version of your kernel with the following command:
• To verify the version of your new kernel, use the following command: [root@deep /]# uname -a
Linux deep.openna.com 2.2.14 #1 Mon Jan 10 10:40:35 EDT 2000 i686 unknown [root@deep]#
Congratulation.
Страниц: 1 2