mkisofs on usb hard drive key
- From: "heavytull" <heavytull@xxxxxxxxxxx>
- Date: 17 Jul 2006 13:15:35 -0700
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
.
- Follow-Ups:
- Re: mkisofs on usb hard drive key
- From: Dances With Crows
- Re: mkisofs on usb hard drive key
- Prev by Date: Re: sourceforge approval or alternatives
- Next by Date: Re: mkisofs on usb hard drive key
- Previous by thread: Cool Ebooks Site
- Next by thread: Re: mkisofs on usb hard drive key
- Index(es):
Relevant Pages
|