PDA

Bekijk de volledige versie : cannot format part2 with ext2/3



Dutch0815
03-06-2005, 20:43
Hello, I am new here and I am new to Linux.

These stupid little guys do suck, i know - forgive me...;-)

This wonderfull little HowTo (http://wl500g.info/showthread.php?t=1984)
gets me to the point of having two
Partitions on a 60 Gig HDD. Part1 500 MB, Part2 ~ 57 Gig.

Part1 is Swap and its up and working. Now, when I want to format
Part2 with ext something went wrong:

root]$ mke2fs.ext3 -j /dev/scsi/host0/bus0/target0/lun0/part2
mke2fs 1.35 (28-Feb-2004)
/dev/scsi/host0/bus0/target0/lun0/part2: Invalid argument passed to ext2 library while setting up superblock


When I do this: mke2fs -j -t ext3 /dev/scsi/host0/bus0/target0/lun0/part2

I get: mke2fs: bad blocks count - /dev/scsi/host0/bus0/target0/lun0/part2

What's the thing? Please Help! Thank you in advance! :)

Here are some more Information that may help:

Command (m for help): p

Disk /dev/scsi/host0/bus0/target0/lun0/disc: 60.0 GB, 60000000000 bytes
255 heads, 63 sectors/track, 7294 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id
System
/dev/scsi/host0/bus0/target0/lun0/part1 1 250 2008093+
83 Linux
/dev/scsi/host0/bus0/target0/lun0/part2 251 7181 55673257+
5 Extended

_Belial
06-10-2005, 10:05
Hi all,

Sorry for bumping an old thread but i've just got my WL500Gx yesterday and when trying to format a 20GB USB Drive i'm getting exactly the same problem as this poster when using mke2fs





mke2fs -j /dev/scsi/host0/bus0/target0/lun0/part1
mke2fs 1.35 (28-Feb-2004)
/dev/scsi/host0/bus0/target0/lun0/part1: Invalid argument passed to ext2 library while setting up superblock

Oleg
06-10-2005, 10:08
/dev/scsi/host0/bus0/target0/lun0/part2 251 7181 55673257+
5 Extended
Extended partition could not used directly. Switch it to primary for simplicity.

WlanMan
06-10-2005, 14:14
What does fdisk says ? An extendet partition is a primary partition "container" in which you can create as much partitions as you want, they begin with a5 and above. if you just created the extendet partition, you have to fill it with one or more volumes via fdisk...

Greets

_Belial
07-10-2005, 00:23
Thanks guys,

I repartitioned, creating a primary partition instead of extended and it all works now :)

Thank you v.much