Re: Resize problem with parted

Top Page
Attachments:
Message as email
+ (text/plain)
+ signature.asc (application/pgp-signature)
Delete this message
Reply to this message
Author: Michael
Date:  
To: plug-discuss
Subject: Re: Resize problem with parted
Alan Dayley wrote:
> I need to increase the swap partition size on a computer I am messing with
> (long story). The parted utility returns "Filesystem has incompatible
> feature enabled" when I try to shrink one partition to make room for swap
> partition expansion. I am almost to the point where I think I'll have to
> re-install since all my googling and searching has not turned up an answer.
>
> Booting with the SystemRescueCD, I am attempting to manipulate the unmounted
> partitions and filesystems to get what I need.
>
> Installed partitions:
> Num    Start    End    Type    FS    Flags
> 1    0.031    99.914    Primary    ext3    Boot
> 2    99.914    37916.648    Primary    ext2
> 3    37916.648    38172.585    Primary    linux-swap

>
> (I hope that is readable)
>
> Partition 2 used to be ext3 but I ran:
> tune2fs -O ^dir_index /dev/hda2
> tune2fs -O ^has_journal /dev/hda2
> to convert it to ext2, thinking parted would be happy with it then.


You need to let fsck have it's way with the partition after you remove
the journal.

--
Michael