User Tools

Writing /var/www/html/wiki.freefm.uk/data/log/deprecated/2025-12-16.log failed

Expand Linux boot partition

  • Write image in cd or USB.
  • Start it, when console loaded, type in
    startx
  • Run gparted to free up some space. Enough for your needs, 2gb, 3gb. Up to You. For example shrink root partition.
  • When that’s done, create new partition, same like existing boot partition (ext2,ext4, fat32, e.t.c.).
  • Then open terminal, and clone old boot partition to new partition.

Example:

dd if=/dev/sda1 of=/dev/sdb1 bs=512 conv=noerror,sync

  • When that’s done, make directory and mount root filesystem’s partition.

Again just example:

mkdir /temp_root
mount /dev/sda4 /temp_root

  • Then You need edit fstab file, changing boot partition from old to new.

Example:

 nano /temp_root/etc/fstab

Example: from:

/dev/sda1   /boot        ext2    defaults,noatime     0 2
to:
/dev/sdb1   /boot        ext2    defaults,noatime     0 2

  • Save file and exit.
  • Reboot system, finger crossed everything should work.