why do we get error "no space left for creating initramfs. Clean up /boot partition and re-run" ?

Solution Verified - Updated -

Issue

Unable to create the initramfs getting the below error while running the command yum install -y kernel

/usr/bin/find: line 1: 0: command not found
/usr/bin/find: line 2: syntax error near unexpected token `('
/usr/bin/find: line 2: `Sep  8 14:21:09 PRD8416 goferd[1170]: [WARNING][pulp.agent.1d31888a-1cda-453c-bf66-d27108093fba] gofer.messaging.adapter.proton.reliability:54 - Connection amqps://prd8018.pai.tchile.local:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')'
/sbin/dracut@1685(): dfatal 'dracut: creation of /boot/initramfs-3.10.0-1127.el7.x86_64.img failed'

Environment

Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content