Error :The volume boot has only 0 bytes disk space remaining

General support questions
Post Reply
pvanvu
Posts: 7
Joined: 2015/02/21 04:47:50

Error :The volume boot has only 0 bytes disk space remaining

Post by pvanvu » 2015/02/28 21:49:06

hi guys , I just installed centos 6.6 on vmware , everything are working fine , but i got " Error :The volume boot has only 0 bytes disk space remaining "

Can everyone help me to fix this problem ? I'm new in Linux

this is the pic :

Image


Image

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Error :The volume boot has only 0 bytes disk space remai

Post by TrevorH » 2015/02/28 22:55:57

Free some space or make the root filesystem larger. If you used a vmware "easy install" then it carves up your disk space in a very strange way and makes the /boot filesystem miles too small at 50MB. It needs to be 500MB. The way out of this is not to use an easy install but to do it properly where you can pick the sizes yourself.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pvanvu
Posts: 7
Joined: 2015/02/21 04:47:50

Re: Error :The volume boot has only 0 bytes disk space remai

Post by pvanvu » 2015/03/01 05:50:05

thank you for the answer , but can you guide me how to extend disk space for /boot file system ? Or can you give me a key words to search on google ? I don't know which key words to search these stuffs on google

thank you

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Error :The volume boot has only 0 bytes disk space remai

Post by TrevorH » 2015/03/01 11:45:50

I doubt if you can do that easily. /boot is 99.99% likely to be on a primary partition and hemmed in by other partitions so it won't be possible to grow it without removing or moving those. I suspect you're in for a reinstall though you can post the output from fdisk -l and the commands pvs and vgs and lvs if you want confirmation of that.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pvanvu
Posts: 7
Joined: 2015/02/21 04:47:50

Re: Error :The volume boot has only 0 bytes disk space remai

Post by pvanvu » 2015/03/02 08:28:11

i followed your commands , and it shows like this , what do i have to do next to fix this issue ?

Image

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Error :The volume boot has only 0 bytes disk space remai

Post by TrevorH » 2015/03/02 13:37:47

Personally I'd recommend that you reinstall without the VMWare easy wizard but if you cannot then you might be able to remove mentions of swap from /etc/fstab, run swapoff for all active swap spaces and then delete the /dev/sda2 partition (which appears to be your swap) and extend /dev/sda1 into the space freed up. You can then either recreate /dev/sda2 much smaller in the remaining space or you could make it an LVM logical volume if you have any space left in your volume group (if you have LVM in use).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply