LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   miunting USB hdd (https://www.linuxquestions.org/questions/linux-newbie-8/miunting-usb-hdd-183273/)

koy 05-19-2004 09:15 AM

miunting USB hdd
 
Another newbie question lol ;)

I'm trying to mount my Archos MP3 player, when I plug it in it detects it, cause the log file gives me:

Code:

linux /etc/hotplug/usb.agent[4832]: need a device for this command
 linux kernel: usb 1-3: new full speed USB device using address 2
 linux kernel: usb 1-3: Product: USB Storage Adapter
 linux kernel: usb 1-3: Manufacturer: In-System Design
 linux kernel: usb 1-3: SerialNumber: 48E020BBE3E2FF8D
 linux /etc/hotplug/usb.agent[4961]: need a device for this command
 linux kernel: scsi1 : SCSI emulation for USB Mass Storage devices

Ok, but now how do I mount it? I tryied
Code:

# mount -t vfat /dev/sda1 /archos
mount: /dev/sda1 is not a valid block device

I guess that it's another device that I have to mount, but how do I know which one it is?

belkins 05-19-2004 09:25 AM

I can't believe I'm replying to a question when I'm a newbie myself but I fought with this one yesterday!

Did you edit the fstab file and add a folder to the /mnt directory with the name specified in fstab?

Brian

koy 05-19-2004 09:58 AM

afaik fstab is only needed if u want it to mount it from boot or smth. ;)

belkins 05-19-2004 10:00 AM

When you mount it from boot that is where you need to use the auto command instead of noauto in the fstab file.

I believe all media type devices have to be listed in the fstab file in order to mount them.

koy 05-19-2004 10:03 AM

hmm, well even if that was so, I would still need to know where the device is as /dev/sda1 seems to not be the right place :)

belkins 05-19-2004 10:09 AM

This should work:

/dev/sda1 /mnt/usbdrive auto defaults,users,noauto 0 0

And then create a folder called usbdrive in the /mnt directory

Are you sure it's sda1? If so, you should be able to issue the mount command and be able to access it.

koy 05-19-2004 10:10 AM

Quote:

Originally posted by belkins
Are you sure it's sda1? If so, you should be able to issue the mount command and be able to access it.

well that's what my problem is lol, I don't know which one it is, and I don't know how to find out :p

belkins 05-19-2004 10:17 AM

I'm not familiar with SUSE and I'm barely familiar with Fedora (the one I'm trying to learn).

In Fedora there is something called the Hardware Browser which is kind of similar to Device Mangler in Windows. If you open the equivalent of Hardware Browser you should see an area for hard disks and it will tell you the label for each drive.

I don't know how to do it from the command line.

petes 06-19-2004 11:17 AM

To find out what filesystem devices are available try running the following command as root:

Code:

/sbin/fdisk -l
-Pete


All times are GMT -5. The time now is 12:15 PM.