mkisofs on usb hard drive key



i have a usb hard drive of 2GB but mkdosfs won't work properly.
the filesystem created can't be mounted.
the usb hard drive is branded "headmusic"
I first proceeded the partition as follows

root@headmuz:/mnt/cdrom/kernels# fdisk /dev/sdc

Command (m for help): p

Disk /dev/sdc: 2147 MB, 2147483136 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes

Device Boot Start End Blocks Id System

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1009, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-1009, default 1009):
Using default value 1009

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): b
Changed system type of partition 1 to b (W95 FAT32)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.

and then created the filesystem as follows:

root@headmuz:/mnt/cdrom/kernels# mkdosfs -I -F32 -n slack -v /dev/sdc
mkdosfs 2.10 (22 Sep 2003)
/dev/sdc has 67 heads and 62 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 4194302 sectors;
file system has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 4088 sectors, and provides 523261 clusters.
Volume ID is 44bbed22, volume label slack .

root@headmuz:/mnt/cdrom/kernels# mount /dev/sdc1 /mnt/pen_drive/
mount: you must specify the filesystem type

ps: i both tried b and c hex codes for the partition type with fdisk,
the result is same

.



Relevant Pages

  • Re: Creating Image
    ... What command do I use to format the USB drive? ... at least as large as the partition you want to back up. ... restore to a larger hard disk, you *probably* won't be able to use the ... I might create a "normal" filesystem on the filesystem ...
    (Fedora)
  • new megaraid driver problem at Opteron
    ... all in 32-bit mode (with the same kernel compiled for i686). ... But after attempts to write to this filesystem there are two kinds of result: ... I am trying to delete partition: ... Command: d 1 ...
    (Linux-Kernel)
  • Filesystem on MP3 player unit
    ... I can connect the device to my Linux box by means of a USB cable. ... sectors ... filesystem, as evidenced by the "sdc: ... Device contains neither a valid DOS partition table, nor Sun, SGI or OSF ...
    (comp.os.linux.misc)
  • Re: Adding new disk to volume group
    ... create a partition on your new disk: ... Command: ... have only made one single partition on the new disk). ... Read ahead sectors 0 ...
    (RedHat)
  • Re: findpart "Fdisk F6 sector"
    ... FindNTFS search screen for 5 minutes searching a partition with bad ... sectors, the search should be stopped, and other methods used. ... At least it can be said that the Findpart FindNTFS command does not ... since the backupboot sector must be assumed to be equal, ...
    (comp.sys.ibm.pc.hardware.storage)