Problem with mkfs
Hi,
My /dev/hdb was partitioned into /dev/hdb1 and /dev/hdb2 primary
partitions. I used fdisk to repartition /dev/hdb1. What I did was (1)
delete /dev/hdb1 (2) Create an extended partition replacing the space
occupied by /dev/hdb1 (3) Create two logical partitions in that space :
/dev/hdb5 and /dev/hdb6. Here is what I now get :
/etc#fdisk /dev/hdb
Command (m for help): p
Disk /dev/hdb: 255 heads, 63 sectors, 525 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 200 1606468+ 5 Extended
/dev/hdb2 201 525 2610562+ 83 Linux native
/dev/hdb5 1 70 562212 83 Linux native
/dev/hdb6 71 200 1044193+ 83 Linux native
However, when I now try to create an ext2 filesystem on these
newly created partitions, I get :
/etc#mkfs -t ext2 /dev/hdb5
mke2fs 1.12, 9-Jul-98 for EXT2 FS 0.5b, 95/08/09
/dev/hdb5: Invalid argument passed to ext2 library while setting up
superblock
What is going on here? I get the same results with /dev/hdb6. I
read and reread the mkfs and the mke2fs manpages until I became blue in
the face, but I cant find any syntax error in my invocation.
TIA,
Jor-el
PS. The system is running Slink.
Except for 75% of the women, everyone in the whole world wants to have sex.
- Ellyn Mustard
Reply to: