Announcement

Collapse
No announcement yet.

boot directory 85% - What to delete?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • boot directory 85% - What to delete?

    After installation of CloudLinux, my /boot directory is at 85%. What can be removed to give some more room.
    Removing the first file at 41MB would solve the issue, is this file necessary? Can I just rm it?

    BOOT LISTING
    41623860 initramfs-0-rescue-230913a5ff624ce7b6d4e4292f96171a.img
    18315688 initramfs-3.10.0-229.20.1.el7.x86_64kdump.img
    18200882 initramfs-3.10.0-229.el7.x86_64kdump.img
    18190809 initramfs-3.10.0-233.1.2.lve1.3.33.4.el7.x86_64kdump.img
    18093244 initramfs-3.10.0-229.el7.x86_64.img
    17541282 initramfs-3.10.0-233.1.2.lve1.3.33.4.el7.x86_64.img
    17540275 initrd-3.10.0-233.1.2.lve1.3.33.4.el7.x86_64
    17526749 initramfs-3.10.0-229.20.1.el7.x86_64.img
    5029328 vmlinuz-3.10.0-229.20.1.el7.x86_64*
    5029136 vmlinuz-0-rescue-230913a5ff624ce7b6d4e4292f96171a*
    5029136 vmlinuz-3.10.0-229.el7.x86_64*
    4868080 vmlinuz-3.10.0-233.1.2.lve1.3.33.4.el7.x86_64*
    2881594 System.map-3.10.0-229.20.1.el7.x86_64
    2881257 System.map-3.10.0-229.el7.x86_64
    2837935 System.map-3.10.0-233.1.2.lve1.3.33.4.el7.x86_64
    293110 initrd-plymouth.img
    240289 symvers-3.10.0-229.20.1.el7.x86_64.gz
    240039 symvers-3.10.0-229.el7.x86_64.gz
    232725 symvers-3.10.0-233.1.2.lve1.3.33.4.el7.x86_64.gz
    123891 config-3.10.0-229.20.1.el7.x86_64
    123838 config-3.10.0-229.el7.x86_64
    122057 config-3.10.0-233.1.2.lve1.3.33.4.el7.x86_64
    4096 ./
    4096 ../
    182 .vmlinuz-3.10.0-233.1.2.lve1.3.33.4.el7.x86_64.hmac
    171 .vmlinuz-3.10.0-229.20.1.el7.x86_64.hmac
    166 .vmlinuz-3.10.0-229.el7.x86_64.hmac
    104 grub2/

  • #2
    Its not recommended to delete files in /boot manually. What i would do is detect what is the current kernel with:

    Code:
     rpm -q kernel
    After that, delete older kernels. In your list it could be something like:

    Code:
    rpm -e -3.10.0-229.20.1.el7.x86_64

    Comment


    • #3
      Thanks for the suggestion. Ill try that. It seems that I would get a great deal more space by
      removing initramfs-0-rescue-230913a5ff624ce7b6d4e4292f96171a.img which is 40MB.
      Is this a bad idea?

      RS

      Comment

      Working...
      X