User Tools

Site Tools


linux:bootpartition

Boot partition too small for yum update

While working in a VMWare Guest which was automatically configured by VMWare I had the problem that the boot partition was only 50MB. Apparently this is the VMWare standard value for a linux boot partition…. Nice if you want a quick VM. But ugly if you want to update your kernel later on…

So here's a dirty workaround for this problem:

# cp -ar /boot /boot-old
# umount /boot
# mv /boot-old /boot

Take /boot out of your fstab:

# vi /etc/fstab

Don't forget to change your bootloader config!

# vi /boot/grub/menu.lst

After that your boot partition is mounted in your root and you should have enough space.
As mentioned above: This is just a dirty workaround for experimental VMs!
On a real System you probably would mount your /boot on another partition than boot.

Source: superuser.com

linux/bootpartition.txt · Last modified: 2013/02/12 09:16 by skull@darktemple.ch