此内容没有您所选择的语言版本。

2.4. Post-Installation Instructions


Choosing Which Kernel to Boot

Any installed kernel, both standard and Real Time, can be booted. One way is to select the desired kernel manually in the GRUB menu during booting. Another way is to set the default kernel to the desired one as shown in this section.

When the Red Hat Enterprise Linux for Real Time kernel is installed, it is automatically set to be the default kernel and is used on the next boot.
  • To verify that the Real Time kernel is the default kernel, run as root:
    ~]# grubby --default-kernel
    /boot/vmlinuz-3.10.0-327.18.2.rt56.223.el7_2.x86_64
    The rt designation in the above example shows that the default kernel is the Real Time kernel.
  • To show which kernel the system is currently running, use this command:
    ~]$ uname -a
    Linux rt-server.example.com 3.10.0-327.18.2.rt56.223.el7_2.x86_64 …
However, when the system receives a minor update, for example, from 7.1 to 7.2, the default kernel might automatically change from the Real Time kernel back to the standard kernel.
To set the default kernel to the Real Time kernel again, follow this procedure:
  1. List the installed Real Time kernels:
    ~]# ls /boot/vmlinuz*rt*
    /boot/vmlinuz-3.10.0-327.18.2.rt56.223.el7_2.x86_64
  2. Set the default kernel to the listed Real Time kernel by running the following command as root:
    ~]# grubby --set-default realtime-kernel
    Substitute realtime-kernel with the Real Time kernel version, for example:
    ~]# grubby --set-default /boot/vmlinuz-3.10.0-327.18.2.rt56.223.el7_2.x86_64
Module Compatibility of the Real Time Kernel and the Standard Kernel

Red Hat Enterprise Linux for Real Time differs substantially from the standard Red Hat Enterprise Linux 7 kernel. As a consequence, third-party kernel modules are incompatible with Red Hat Enterprise Linux for Real Time.

Kernel modules are inherently specific to the kernel they are built for. The realtime kernel is substantially different from the standard kernel, and so are the modules. In other words, you cannot take third-party modules from Red Hat Enterprise Linux 7 and use them as-is on Red Hat Enterprise Linux for Real Time. If you must use a third-party module, you must recompile it with the Red Hat Enterprise Linux for Real Time header files, which are available in the -devel subpackage. See Table 2.2, “Red Hat Enterprise Linux for Real Time Development and Test Packages” for more information about all the subpackages.
The following are some example third-party drivers which ship for standard Red Hat Enterprise Linux 7 but do not currently have a custom build for Red Hat Enterprise Linux for Real Time:
  • EMC Powerpath
  • NVidia graphics
  • Advanced storage adapter configuration utilities from Qlogic
The user space syscall interface is compatible with Red Hat Enterprise Linux for Real Time.
Enabling Kdump

You can configure Red Hat Enterprise Linux for Real Time to provide crash dump information by enabling kexec/kdump, if you have not done so for the standard kernel during the installation of Red Hat Enterprise Linux 7. Further information and instructions on how to configure your system to obtain kernel crash information can be found in the Red Hat Enterprise Linux for Real Time Tuning Guide.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部