Site icon ИТ Блог. Администрирование серверов на основе Linux (Ubuntu, Debian, CentOS, openSUSE)
Воскресенье, 1 июня, 2025

CentOS 7: At least MB more space needed on the /boot filesystem

При попытке обновления CentOS 7:

# yum update

[gn_box title=»Ошибка» box_color=»#f7a3ad»]
Error Summary
————-
Disk Requirements:
At least 1MB more space needed on the /boot filesystem.
[/gn_box]

Смотрим занимаемое место:

# df -h /boot

[gn_note note_color=»#d1cfcf» text_color=»#000000″ radius=»6″]

Filesystem      Size  Used Avail Use% Mounted on

Mounted on /dev/md126p1 190M 152M 25M 87% /boot[/gn_note]

Какие ядра установлены в системе:

# rpm -qa | grep kernel

 

[gn_note note_color=»#d1cfcf» text_color=»#000000″ radius=»6″]

kernel-tools-3.10.0-514.2.2.el7.x86_64
kernel-tools-libs-3.10.0-514.2.2.el7.x86_64
kernel-3.10.0-327.4.4.el7.x86_64
kernel-headers-3.10.0-514.2.2.el7.x86_64
kernel-3.10.0-514.2.2.el7.x86_64
kernel-3.10.0-327.36.3.el7.x86_64
kernel-devel-3.10.0-514.2.2.el7.x86_64

[/gn_note]

Какое ядро сейчас задействовано:

# uname -r

 

[gn_note note_color=»#d1cfcf» text_color=»#000000″ radius=»6″]

3.10.0-514.2.2.el7.x86_64

[/gn_note]

Удаляем старое:

# rpm -e kernel-3.10.0-327.36.3.el7.x86_64

 

Места теперь хватает:

# df -h /boot

 

[gn_note note_color=»#d1cfcf» text_color=»#000000″ radius=»6″]

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 240M 111M 113M 50% /boot

[/gn_note]

Если это не помогло, то можно попробовать так:

# mount -o remount,rw /boot
# yum update

Exit mobile version