On Thu, 7 Apr 2005 08:17 am, Voytek wrote:
> <quote who="[EMAIL PROTECTED]">
>
> > On Wed, Apr 06, 2005 at 11:34:13PM +1000, Voytek wrote:
> >> I'm trying to mount USB IDE HD
> >
> > Put the options before the files. This goes for pretty much
> > any unix/linux command:
> >
> > mount -t vfat /dev/sda1 /mnt/usbhd
>
> already tried, returns same errors
> whatever 't' option I've tried
> what 't' option for an unformatted HD ?
You can't mount an unformatted file system. First, make sure the disk is
partitioned. Below is my lappy - it has 3 partitions, 2 reiserfs, 1 swap.
Your USB drive will be different, but this shows you the sort of output a
partitioned drive has:
(either sudo or "su" to root then "fdisk....")
$ sudo fdisk -l /dev/hda
Disk /dev/hda: 10.0 GB, 10056130560 bytes
16 heads, 63 sectors/track, 19485 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 15604 7864384+ 83 Linux
/dev/hda2 15605 16125 262584 82 Linux swap
/dev/hda3 16126 19485 1693440 83 Linux
/dev/hda4 1 1 395+ 0 Empty
Partition 4 does not end on cylinder boundary.
If your /dev/sda is NOT partitioned, then partition it first with
parted/fdisk/gui-based-whatever. "man fdisk", "man parted" etc.
Once you've got it partitioned, format the partition(s) with whatever you
like. FAT32 is evil but it will work on anything, reiserfs/ext3 aren't
particaularly great (performance-wise) over slow links like USB1, but are
fine on FireWire/IEE1394/iLink and USB2.
Once you've formatted the drive, mount it:
mount -t <fstype> /dev/sda1 /mnt/usbhd
<fstype> = vfat/reiserfs/ext2/etc3/xfs etc.
HTH
James
--
Captain Penny's Law:
You can fool all of the people some of the time, and some of
the people all of the time, but you Can't Fool Mom.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html