Endian Knowledge Base

Email to friend
* Your name:
* Your email:
* Friend's email:
Comment:


My /boot partition is to small for the kernel updates, How to resize it?

Since EFW 2.2 the /boot partition is 30Mbyte and has enough space left for 2 kernels, which is necessary during an update.

Older versions partitioned with 15Mbytes, therefore there is not enough space left for kernel upgrades after a migration to 2.2

The following is how to gather some more free space in order to be able to do the kernel upgrades. A more persistent solution would be to re-install the firewall from scratch with a newer version.

  1. Call

    mount

    and get the device name of the /boot partition.
    It should be /dev/hda1, /dev/sda1 or /dev/md1
  2. umount /boot
  3. tune2fs -O ^has_journal </dev/devicename>
  4. e2fsck </dev/devicename>
  5. edit /etc/fstab, search the line of the /boot partition and change mount type ext3 to ext2
  6. mount /boot



RSS