1 Reply Latest reply: Aug 14, 2012 1:48 AM by Avi Miller-Oracle RSS

    Remove kernel

    HuaMin Chen
      Hi Dude/Avi,
      Further to the previous thread regarding enlarging boot, I did try to delete these 2 PAE kernels.
      [root@hpi5 ~]# yum remove kernel-2.6.18-308.1.1.0.1.el5PAE
      Loaded plugins: rhnplugin, security
      Setting up Remove Process
      No Match for argument: kernel-2.6.18-308.1.1.0.1.el5PAE
      adobe-linux-i386 | 951 B 00:00
      el5_latest | 1.4 kB 00:00
      el5_unsupported | 951 B 00:00
      ol5_u7_base | 1.1 kB 00:00
      No Packages marked for removal

      [root@hpi5 ~]# yum remove kernel-2.6.18-308.8.2.el5PAE
      Loaded plugins: rhnplugin, security
      Setting up Remove Process
      No Match for argument: kernel-2.6.18-308.8.2.el5PAE
      No Packages marked for removal

      And I think it is not a sucess to remove both above since I still see 12Mb for boot. Any advice?
      [root@hpi5 ~]# df -h
      Filesystem Size Used Avail Use% Mounted on
      /dev/mapper/VolGroup00-LogVol00
      625G 339G 254G 58% /
      /dev/sda1 99M 83M 12M 88% /boot
      tmpfs 2.0G 0 2.0G 0% /dev/shm

      Many Thanks & Best Regards,
      HuaMin

      Edited by: HuaMin Chen on Aug 14, 2012 12:08 PM
        • 1. Re: Remove kernel
          Avi Miller-Oracle
          HuaMin Chen wrote:
          Further to the previous thread regarding enlarging boot, I did try to delete these 2 PAE kernels.
          Yes, but it didn't work:
          [root@hpi5 ~]# yum remove kernel-2.6.18-308.1.1.0.1.el5PAE
          No Packages marked for removal
          And
          [root@hpi5 ~]# yum remove kernel-2.6.18-308.8.2.el5PAE
          No Packages marked for removal
          So, yum isn't finding either kernel.
          And I think it is not a sucess to remove both above since I still see 12Mb for boot. Any advice?
          You're trying to remove the wrong RPM. You should be removing:
           # yum remove kernel-PAE-2.6.18-308.1.1.0.1.el5.i686 kernel-PAE-2.6.18-308.8.2.0.1.el5.i686
          Those are the only two PAE kernel packages I can find that somewhat match your version numbers. You can check the exact RPM name:
          # rpm -qa | grep PAE
          To determine exactly which packages you have installed.