[plug] Having trouble mounting external usb drive

Shannon Carver Shannon.Carver at P-S-T.COM.AU
Wed Mar 15 17:33:43 WST 2006


That's exactly what Hendrik is asking.. You don't mount a device by:

 

mount -t vfat /dev/hda /mnt/Storage

 

That's mounting the device itself

 

You want to mount the physical partition on the device: (Note, the hda1,
or in your case sdaX where X is the number of the partition)

 

mount -t vfat /dev/hda1 /mnt/Storage

 

What would probably be best it to print out the output of fdisk -l
/dev/sda back to the list.

 

Regards

 

Shannon

 

  _____  

From: plug-bounces at plug.org.au [mailto:plug-bounces at plug.org.au] On
Behalf Of Open Source.Lives
Sent: Wednesday, 15 March 2006 5:24 PM
To: plug at plug.org.au
Subject: Re: [plug] Having trouble mounting external usb drive

 

Hi Hendrik,

fdisk -l /dev/sda

Did list the filesystem, but when I try to mount it using -t ntfs or
vfat it still gave me the same error, I have tried -t usbfs, where it
mounted it but it displayed incorrect files...

I was wondering if i missed any stages when i tried to mount my usb hdd?
Is there a set way of mounting usb devices?


Thanks for the reply.

On 3/15/06, Hendrik Strydom <hns1 at iinet.net.au> wrote:

On Tue, 2006-03-14 at 20:44 +0800, Nikhil Jogia wrote:
> Open Source.Lives wrote:
> > Hi there,
> >
> > Currently i am trying to mount my external usb drive, i am using
> > debian sarge with a 2.4 kernal and the following dmesg tells me that
> > is detected, but when i try to mount it it tells me that the volume
is
> > probably in a format that cannot be mounted in the GUI.
.. snip
> > 
> > sg_scan -i
> >
> > /dev/sg0: scsi1 channel=0 id=0 lun=0 [em]
> >     IC35L040  AVVN07-0          VA2O [rmb=0 cmdq=0 pqual=0 pdev=0x0]
> >
> > and
> >
> > sg_map
> >
> > /dev/sg0  /dev/sda
> >
> > and for fstab
> >
> > /dev/sda        /media/usb_drive        vfat
> > rw,user,noauto                  0       0
> >
> > while on the console.
> >
> > mount -t vfat /dev/sda /media/usb_drive
> >
> > mount: wrong fs type, bad option, bad superblock on /dev/sda,
> >        missing codepage or other error 
> >        In some cases useful info is found in syslog - try
> >        dmesg | tail  or so

What does fdisk -l /dev/sda report?
Is you partition not perhaps on sda1 as it would be for a conventional 
hard disk?


_______________________________________________
PLUG discussion list: plug at plug.org.au
http://www.plug.org.au/mailman/listinfo/plug 
Committee e-mail: committee at plug.linux.org.au

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20060315/babd938e/attachment.html>


More information about the plug mailing list