Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems resizing ext3 root-partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
halfbrain
n00b
n00b


Joined: 09 Jul 2003
Posts: 6

PostPosted: Wed Jul 09, 2003 9:26 pm    Post subject: Problems resizing ext3 root-partition Reply with quote

Hello!

I'm having problems with resizing my root-partition using parted. The parted Website clearly states, that parted is able to resize ext3 as long as the start of the partition stays fixed. Unfortunately I always get the following error-message when trying to resize my hda4.

Code:
This ext2 partition has a rather strange layout. Resizing this partition type isn't supported (yet)!
(or something like this)

My partition table is:

Code:
Minor        Start             End                Type        Filesystem        Flags
1            0,031             70,598             primary     ext3       
2            70,598            1302,143           primary     linux-swap 
4            1302,144          7491,247           primary     ext3       
3            14433,398         19532,153          extended                      lba
5            14433,429         19532,153          logical     fat32


I would like to extend hda4 to the beginning of hda3. Do you know what this "rather strange layout"-message means?

halfbrain :)
Back to top
View user's profile Send private message
PowerFactor
Veteran
Veteran


Joined: 30 Jan 2003
Posts: 1693
Location: out of it

PostPosted: Thu Jul 10, 2003 12:30 am    Post subject: Reply with quote

Have a look at this thread.
https://forums.gentoo.org/viewtopic.php?t=24848

You typicaly get the "strange layout" error from parted when the dir_index flag has been unset and e2fsck hasn't been run on the filesystem yet.
Back to top
View user's profile Send private message
halfbrain
n00b
n00b


Joined: 09 Jul 2003
Posts: 6

PostPosted: Fri Jul 11, 2003 9:54 pm    Post subject: Reply with quote

PowerFactor wrote:
You typicaly get the "strange layout" error from parted when the dir_index flag has been unset and e2fsck hasn't been run on the filesystem yet.


Right, so how can I do e2fsck with my root-partition? Does Knoppix come with the e2fsprogs?

halfbrain :)
Back to top
View user's profile Send private message
PowerFactor
Veteran
Veteran


Joined: 30 Jan 2003
Posts: 1693
Location: out of it

PostPosted: Fri Jul 11, 2003 10:06 pm    Post subject: Reply with quote

Yes, it does. You're better off using a gentoo livecd though. The Knoppix cd I have has a buggy version of e2fsprogs (1.30-WIP) but there has been another release of knoppix since then so that may have been fixed.
Back to top
View user's profile Send private message
halfbrain
n00b
n00b


Joined: 09 Jul 2003
Posts: 6

PostPosted: Sun Jul 20, 2003 5:46 pm    Post subject: Reply with quote

Well I'm about to give up the idea with resizing my partition. I did the e2fsck things but still I encountered problems:

With dir_index set parted said:
    Error: Filesystem has incompatible feature enabled


Without dir_index:
    No implementation: This ext2 filesystem has a rather strange layout! Parted can't resize this (yet)!


I think I'll just borrow a harddisk from a friend and repartition my whole disk, but if you know any other workaround please post it.

Thanks,
halfbrain :)
Back to top
View user's profile Send private message
pubecon
Guru
Guru


Joined: 03 Mar 2003
Posts: 342
Location: Glasgow, Scotland

PostPosted: Wed Nov 26, 2003 6:53 pm    Post subject: Reply with quote

I'm in the same situation

without dir_index (-O ^dir_index) and I get the "ext2" message, with (-O +dir_index) it I get the "incompatible feature" message.

just resize my ext3 partition, parted, will you?!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum