« Return to Thread: How to create a filesystem?

How to create a filesystem?

by Oliver Voelker :: Rate this Message:

Reply to Author | View in Thread

Hi!

 I'm no linux crack and I'm not able to use my external harddisk...
 Maybe I'm making a little stupid mistake...

 Ok...
 I've attached my 160GB USB drive to the slug.
 I've created an extended partiton:

root@NLSU:/# fdisk /dev/sdb

The number of cylinders for this disk is set to 19457.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1               1       19457   156288321    5  Extended

But I'm not able to create the filesystem:

root@NLSU:/# mkfs.ext3 /dev/sdb1
mke2fs 1.38 (30-Jun-2005)
/dev/sdb1: Invalid argument passed to ext2 library while setting up superblock


Where's my error?


Sorry for this dummy question :(

 


Bye,
Oliver



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/nslu2-linux/

<*> To unsubscribe from this group, send an email to:
    nslu2-linux-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


 « Return to Thread: How to create a filesystem?