7 Replies Latest reply on Mar 13, 2020 10:30 AM by Dude!

    Installation with and without UEK

    myBarracuda

      Hello,

      I need to perform two different OEL 7.7 system installations.

      1. Is it possible to install Oracle Linux 7.7 (from DVD iso) without installing UEK but installing only RHCK?

      2. Is it possible to install Oracle Linux 7.7 (from DVD iso) with only UEK Release 4 (not 5) but not installing RHCK?

       

      I mean I wouldn't like to remove the unwanted kernel (yum erase...).

       

      Regards,

      M.

        • 1. Re: Installation with and without UEK
          Dude!

          You can install Oracle Linux and then remove the kernel you don't need. But keep in mind that vendor specific software packages can depend on either one of the kernels to exist, otherwise installations may fail.

          • 2. Re: Installation with and without UEK
            myBarracuda

            Thank you

            I did some search on manuals/web but I did not find any answer.

            Is there a way to avoid removing the kernels?

            If no, what are the correct steps to remove them?

            • 3. Re: Installation with and without UEK
              Dude!

              There is usually no necessity or business requirement to remove either kernel. The system provides various configuration options that allow you to customize kernel installation defaults, but you also need to consider technical support requirements. It's a complex topic and depends on what you are using and wish to accomplish. You will have to ask a more specific question to get a more detailed answer.

              • 4. Re: Installation with and without UEK
                myBarracuda

                And what abount "Oracle Linux 7.7 (from DVD iso) with only UEK Release 4" instead of UEK 5?

                • 5. Re: Installation with and without UEK
                  Dude!

                  You mean you want to remove UEK5 and use UEK4 instead?

                  • 6. Re: Installation with and without UEK
                    myBarracuda

                    Use UEK4 instead of UEK5 because we use an ORacle Database version that is supported only by UEK4.

                    Using Oracle Linux 7.7 media we get UEK5 installed. We would like to have UEK4.

                    Thank you

                    • 7. Re: Installation with and without UEK
                      Dude!

                      Check the version of the running Linux kernel:

                       

                      [root@localhost ~]# uname -r

                      4.14.35-1818.3.3.el7uek.x86_64      <- Oracle UEKR5

                       

                      Boot the system choosing the RHCK kernel (3.10). You can temporarily change the boot kernel from the Grub boot menu at system startup, or use grubby as shown below:

                       

                      [root@localhost ~]# ls /boot/vmlinuz*

                      /boot/vmlinuz-0-rescue-208be604c4d244bbb91bdff1ad30c7fe

                      /boot/vmlinuz-3.10.0-957.el7.x86_64

                      /boot/vmlinuz-4.14.35-1818.3.3.el7uek.x86_64

                      [root@localhost ~]# grubby --set-default /boot/vmlinuz-3.10.0-957.el7.x86_64

                      [root@localhost ~]# reboot

                      [root@localhost ~]# uname -r

                      3.10.0-957.el7.x86_64              <- RHCK

                       

                      Remove the Oracle Linux Unbreakable Enterprise Kernel. Then install Oracle UEKR4 and restart the system.

                       

                      [root@localhost ~]# yum -y remove "kernel-uek*"

                      [root@localhost ~]# yum -y install yum-utils

                      [root@localhost ~]# yum-config-manager --disable ol7_UEKR5 ol7_UEKR5_archive

                      [root@localhost ~]# yum-config-manager --enable ol7_UEKR4

                      [root@localhost ~]# yum -y install kernel-uek


                      [root@localhost ~]# reboot

                      [root@localhost ~]# uname -r

                      4.1.12-124.25.1.el7uek.x86_64      <- Oracle UEK R4

                      [root@localhost ~]# grubby --default-kernel

                      /boot/vmlinuz-4.1.12-124.25.1.el7uek.x86_64