Click to See Complete Forum and Search --> : activating ext2


tycoon
12-30-2004, 05:22 AM
Hi Alll....I have a small problem here...well i wanted to make new partiton in shell

command enviroment...I did manage to make the partition but when tried to activate the ext2

with mke2fs command an error with a message "invalid argument passed to ext2 library while

setting up superblock"..so can anybody please help me eith this issue....thanx u all advance

for the support given to me

Choozo
12-30-2004, 06:24 AM
What was the exact command you issued?

tycoon
12-30-2004, 06:34 AM
I issue a command similar to this

mke2fs /dev/hda4

je_fro
12-30-2004, 07:19 AM
Similar to that?
What _exacrly_ was it?
Are you sure it was supposed to be /dev/hda4?
Do you only have 4 partitions on the drive?
If you have more, that can't possibly be correct.

tycoon
12-30-2004, 07:35 AM
je_fro..if I suppose not to do that can give me some exemple to this

je_fro
12-30-2004, 07:39 AM
I hate to start passing out examples, because what you're doing DESTROYS DATA.
All you need to do is take a look at your partition table with fdisk or cfdisk:
fdisk /dev/hda

When you spot the partition that you want to format ext2, do:

mke2fs /dev/hda?

Need more?