bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with parted


From: Szakacsits Szabolcs
Subject: Re: Problems with parted
Date: Thu, 4 Nov 2004 13:55:43 +0100 (MET)

On Wed, 3 Nov 2004, David Ronis wrote:

> I need to either increase the swap partition, or to shrink the size of
> the second partition in order to create another swap partition (I want
> to run the newest version of software-suspend).  

Software suspend doesn't work on swap files? You can create swap inside
filesystems, too.

> From the documentation, I don't think the former is possible.

It's possible what you want to do but not by Parted. Ext3 is not
supported.

> 1          0.031    133.352  primary   linux-swap  boot
> 2        133.352  57231.562  primary   ext3        
> 
> (parted) resize 2 133.352 56741.0
> 
> At which point it complains about the layout of this drive being
> strange and not (yet) being able to resize.

It doesn't matter since ext3 is not supported.

> Any suggestions?  

You can use resize2fs, it can resize ext3 too, then recreate the partition
entry to be smaller by fdisk. Take care it will not be smaller than the
shrunken ext3 and of course make backup first.

        Szaka





reply via email to

[Prev in Thread] Current Thread [Next in Thread]