boot directory 85% - What to delete?
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Roger Stout
  2. Sunday, 06 December 2015
  3.  Subscribe via email
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/
Rate this post:
  1. 07.12.2015 10:12:15
  2. # 1
Imagina Accepted Answer
Posts: 14
Joined: 24.10.2013
0
Votes
Undo
It\'s not recommended to delete files in /boot manually. What i would do is detect what is the current kernel with:
 rpm -q kernel
After that, delete older kernels. In your list it could be something like:
rpm -e -3.10.0-229.20.1.el7.x86_64
  1. 07.12.2015 14:12:07
  2. # 2
Roger Stout Accepted Answer
Posts: 3
Joined: 06.12.2015
0
Votes
Undo
Thanks for the suggestion.  I'll 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 
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.