How to extend /boot partition
by isaqellari from LinuxQuestions.org on (#55Z94)
Hello,
Can someone help me on how to extend /boot partition filesystem which is not formatted as LVM? I want to upgrade the CentOS 6.5 to 6.6 version but it is requiring more space in /boot partition.
[root@logger /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 32G 9.9G 20G 34% /
tmpfs 5.9G 0 5.9G 0% /dev/shm
/dev/sda2 39M 26M 11M 71% /boot
/dev/sdb1 500G 168G 332G 34% /opt/arcsight/logger/data
[root@logger /]# fdisk -l
Disk /dev/sda: 40.8 GB, 40802189312 bytes
64 heads, 32 sectors/track, 38912 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b4dcf
Device Boot Start End Blocks Id System
/dev/sda2 * 26 65 40960 83 Linux
/dev/sda3 66 32768 33487872 83 Linux
/dev/sda4 32769 38912 6291456 82 Linux swap / Solaris
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 536.9 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 65271 524287999+ ee GPT
Disk /dev/sdc: 17.2 GB, 17179869184 bytes
64 heads, 32 sectors/track, 16384 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Thank you and best regards,
Ilir


Can someone help me on how to extend /boot partition filesystem which is not formatted as LVM? I want to upgrade the CentOS 6.5 to 6.6 version but it is requiring more space in /boot partition.
[root@logger /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 32G 9.9G 20G 34% /
tmpfs 5.9G 0 5.9G 0% /dev/shm
/dev/sda2 39M 26M 11M 71% /boot
/dev/sdb1 500G 168G 332G 34% /opt/arcsight/logger/data
[root@logger /]# fdisk -l
Disk /dev/sda: 40.8 GB, 40802189312 bytes
64 heads, 32 sectors/track, 38912 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b4dcf
Device Boot Start End Blocks Id System
/dev/sda2 * 26 65 40960 83 Linux
/dev/sda3 66 32768 33487872 83 Linux
/dev/sda4 32769 38912 6291456 82 Linux swap / Solaris
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 536.9 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 65271 524287999+ ee GPT
Disk /dev/sdc: 17.2 GB, 17179869184 bytes
64 heads, 32 sectors/track, 16384 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Thank you and best regards,
Ilir