AnswerBun.com

No space on the boot disk to update kernel

Unix & Linux Asked on January 6, 2022

I have installed centos 7 on vmware and seem to have ran out of space on the boot drive.

Is there a way to add more space without formatting the disk?

[[email protected] /]# df -h /dev/sda1
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       297M  272M   26M  92% /boot

2 Answers

boot your vm with a linux livecd like Ubuntu Mate or something. once booted use gparted to shrink your / partition and grow /boot to 1G . This will work given the fact that your / has some space left.

Or there is another way. From VMware documentation here : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004047

For Workstation 7 and later and Player 3.x and later, you can increase the virtual disk from the GUI: Select the virtual machine from the Inventory. Click Edit Virtual Machine Settings. Click Hard Disk. Click Utilities > Expand, enter the new size, then click Expand. Complete the steps in Increasing the size of a disk partition (1004071), so that the guest operating system is aware of the change in disk size.

add 1G using above steps. using Gparted move your partitions around and resize /boot .

Answered by Sarfaraz Ahmad on January 6, 2022

Below file consume more space on your system (/boot). if you can remove the older file you can free up some space. Make sure you have a backup before attempting remove.

initramfs-2.6.32-358.el6.x86_64.img
System.map-2.6.32-358.el6.x86_64
vmlinuz-2.6.32-358.el6.x86_64

Answered by AReddy on January 6, 2022

Add your own answers!

Related Questions

No GTK settings in Opensuse 13.2, KDE Plasma 5

1  Asked on November 16, 2021 by user32012

       

Use a specific font for emojis

1  Asked on November 16, 2021 by flying-sheep

       

How to change poll rate of usb “gamepad” drum controller

1  Asked on November 16, 2021 by johan-schuijt

     

add status of sudo session to PS1 without extending session

1  Asked on November 16, 2021 by nathaniel-m-beaver

     

syslog_ng cannot start succesfully

1  Asked on November 16, 2021 by laogao

 

How to prove “reboot -f” command is blocking?

1  Asked on November 16, 2021 by archerindigo

   

Manually generate password for /etc/shadow

10  Asked on November 14, 2021

     

can’t install libcups2-dev

1  Asked on November 14, 2021 by semyon-labzov

   

Evince not saving annotations

1  Asked on November 14, 2021 by dins2018

   

Debian 8 apt-get update showing 404 Not Found

3  Asked on November 14, 2021

   

How to quickly wipe a disk?

4  Asked on November 14, 2021 by tomwassing

   

Piping tar archive via mv on macOS

1  Asked on November 14, 2021

   

Linux Installation not detecting Macbook SSD

1  Asked on November 14, 2021 by mm3

   

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP