Endian Knowledge Base
Search:     Advanced search
Browse by category:

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

Add comment
Views: 1673
Votes: 0
Comments: 0
Posted: 04 Nov, 2008
by: Warasin P.
Updated: 04 Dec, 2008
by: Warasin P.
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
Others in this Category
document How to reach Endian Firewall via SSH if a fresh installation does not boot and I would like to reach the machine when the installer finished to install all packages?
document Connecting to OpenVPN from behind (quite) any firewall through Port 80
document How to generally allow traffic from BLUE or ORANGE to GREEN?
document How to fix translation errors on launchpad and install the bleeding edge language files from launchpad?
document How to add custom cron jobs
document How to resend a quarantined mail from the local quarantine?
document How to change the admin password if i have only shell access?
document How to block skype?



RSS