Unable to increase the size of boot partition

All

I have setup my opensuse 11.3 machine w/ LVM support for everything but boot. I have the following disks:

/dev/sda1 - 70.57 MB /boot
/dev/sda2 - 5.81 GB back up for original windows
/dev/sda3 - 292.21 GB LVM group.

When I attempt to resize the 70.57 MB partition, it tells me that 70.57 mb is the max that this partition can be. This was true even during the install. Is there a way to make this larger?

Partition space must be continuous so if you define sda1 at 70mb then sda2 as 5.81gb, the 5.81gb blocks any resize of sda1.

  1. You would need to move the 5.81gb elsewhere and remove the sda2 partition to create empty space, then resize sda1 larger
  2. Back-up everything needed to be saved, wipe all partitions, plan the needs better and do a repartitioning/install as dictated by your new plan.

You do not give much information. We would like to know how your disks are partitioned by the output of

fdisk -l

(and please computer output between CODE tags).

But most important you tell that you “attempt to resize the 70.57 MB partition, it tells me that 70.57 mb is the max …”. But you do NOT tell us what you use trying this, nor what IT is saying exactly. How can we make any comment about IT, your usage of IT and IT’s answer without either using a crystal ball or sitting behind you looking over your shoulder.

On 2010-08-01 03:36, meetoblivion wrote:
>
> All
>
> I have setup my opensuse 11.3 machine w/ LVM support for everything but
> boot. I have the following disks:
>
> /dev/sda1 - 70.57 MB /boot
> /dev/sda2 - 5.81 GB back up for original windows
> /dev/sda3 - 292.21 GB LVM group.
>
> When I attempt to resize the 70.57 MB partition, it tells me that 70.57
> mb is the max that this partition can be. This was true even during the
> install. Is there a way to make this larger?

Short answer: NO.

Long answer: Yes. How? Delete the entire disk (ALL), create all partitions again.

Doubtful and long answer: resize using a resizing tool.

Assuming you are going to give it space coming from sda3, then that tool has to: 1) make sda3
smaller. 2) Move the start of sda3 up. 3) move sda2 up. 4) Move the end of sda1 up (it is not the
only combination). 5) and do that while maintaining filesystem consistency for all, including the
LVM setup. Good luck with that. >:-)

(Advise done by using my propietary (ie, miiiine!) crystal ball. The exact partition layout that hcw
requested would serve to confirm or disregard this).


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

Hi there,

I ran into this exact same issue with a tiny /boot on the default LVM partitioning scheme Suse uses and wrote this blog post on how to use EVMS to assist in resizing the LVM and making a new, larger /boot partition to migrate to: Resizing Default LVM Partitions and Moving /boot - Mine the Harvest

I found this solution to be fairly painless.

Cheers,
Lews Therin

If I may be nosey, why do you want to increase the size of the boot partition? I assume it correctly boots your OS as is.