This is the current state of my partition table. As can be seen, the boot is very small, and I can't upgrade the kernel, because the update-manager tells me there isnt enough space on /boot 🙁 Which effectively means that I can't update my kernel. Can I change the size of my boot, without necessitating a reinstall of either of the installed system?
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 12G 4.9G 6.2G 45% /
none 2.0G 284K 2.0G 1% /dev
none 2.0G 8.5M 2.0G 1% /dev/shm
none 2.0G 92K 2.0G 1% /var/run
none 2.0G 0 2.0G 0% /var/lock
/dev/sda3 42G 21G 22G 49% /media/Erste
/dev/sda2 5.1G 2.5G 2.7G 48% /media/Swap
/dev/sda1 30G 25G 4.9G 84% /media/Windows7
/dev/sda9 47G 28G 20G 60% /media/Zweite
/dev/sda6 11G 7.6G 2.0G 80% /home
/dev/sda8 49M 31M 16M 66% /boot
This is the output of
sudo fdisk -lu
Best Answer
You posted the output of
df
, which is not a listing of your partition table. For that you need to post the output offdisk -lu
. The question is, what follows your/boot
partition on the disk? If it is not free space, or another partition that you can shrink a bit and move over, then no, you can not expand the/boot
partition.An alternative is to simply do away with the
/boot
partition. First unmount the/boot
partition and then remount it somewhere else, like/mnt
. Thensudo cp -ax /mnt /boot
to copy all of the files over to your root partition. Then remove the/boot
partition entry from your/etc/fstab
, and finally reinstall grub withsudo grub-install /dev/sda
.