On Thu, 30 Jul 2009 16:57:52 +0200, Alan McKinnon wrote:

> If your partition table is laid out with the swap partition directly
> after the root partition, you can delete both, recreate the root
> partition the same size as both together. The new root partition must
> start where the old one did. Renumber the partitions and remember to
> adjust fstab if you mount by device number. Then resize the root file
> system. The filesystem and your kernel must support this.
> 
> If your root partition and swap partition are logical partitions in
> fdisk, this will probably fail. I do not know why, but I never got this
> to work. 

I've done this with logical partitions, but I use cfdisk instead of fdisk.

It's moot anyway as Grant has swap before / so a live CD session with
gparted looks to be required.


-- 
Neil Bothwick

... Veni, Vidi, Visa - I came, I saw, I charged it.

Attachment: signature.asc
Description: PGP signature

Reply via email to