LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2005, 12:11 PM   #1
malesandro
LQ Newbie
 
Registered: Oct 2005
Location: Mar del Plata
Posts: 20

Rep: Reputation: 0
Mounting USB pendrive on Debian


Hello ppl! I'm trying to mount a usb drive on Debian, but still can't get it done. Debian recognizes the drive, for it is shown in the usb devices information center, but cant get it mounted. I'm trying from root terminal mount -t usbfs none /proc/bus/usb and I'm also trying mount -t usbfs /dev/sda1/mnt/usb, but nothing happens.....any idea????
Thx, Mariano
}
 
Old 10-10-2005, 01:08 PM   #2
NoStop
Member
 
Registered: Feb 2005
Location: Canada
Distribution: Debian Etch - Enlightenment E17
Posts: 116

Rep: Reputation: 15
What is usbfs? Didn't know that particular file system existed?

Maybe try a filesystem of FAT16, as I *think* that is the native file system used by drives like this. If that doesn't work, try FAT32. :-) Maybe Debian is smart enuf to determine the filesystem type and you could use auto?

Let me know, as I'm curious.

Cheers.

Last edited by NoStop; 10-10-2005 at 01:15 PM.
 
Old 10-10-2005, 03:12 PM   #3
malesandro
LQ Newbie
 
Registered: Oct 2005
Location: Mar del Plata
Posts: 20

Original Poster
Rep: Reputation: 0
Hi!!! Well, i dont know what usbfs is......I read somewhere that It could work by writing that. Well, it didnt. I couldnt make it run in auto either.....I still cant do it.
Any help?
Mariano
Im using Debian's last internet published set of cd's, for i386.
Can't tell nothing else since I dont know where to look...how embarassing this is........
Regards,
Mariano
 
Old 10-10-2005, 03:13 PM   #4
naimslim89
Member
 
Registered: Mar 2005
Location: London, United Kingdom
Distribution: Fedora Core 5
Posts: 83

Rep: Reputation: 15
Just to check, are you sure you're typing the command correctly?

Quote:
mount -t usbfs /dev/sda1/mnt/usb
There should be a space between /dev/sda1 and /mnt/usb.

Also, have you tried "mount -t vfat /dev/sda1 /mnt/usb"?
 
Old 10-10-2005, 04:40 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
If nothing happens after mount command (no error) it means success.
 
Old 10-10-2005, 05:32 PM   #6
mjolnir
Member
 
Registered: Apr 2003
Posts: 749

Rep: Reputation: 82
"Also, have you tried "mount -t vfat /dev/sda1 /mnt/usb"?

That is the one that works for me.
 
Old 10-11-2005, 04:45 PM   #7
malesandro
LQ Newbie
 
Registered: Oct 2005
Location: Mar del Plata
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks everybody. I could mount the device. The thing was that I wasnt leaving blank spaces, I was typing mount -tvfat /dev/sda1/media/flash.....
Now it's ok. I'm going to keep on installing things. I just moved from winXP, so I'm learning everything. So far so good, I really like Debian.
If anyone needs how to configure an USB AMIGO modem, go here: http://www.dreamweb.com.ar/articulo_modem_usb.htm It's in spanish, but it's very good, specially if you have some adsl modem like that only working by usb like mine....
Regards,
Mariano Alesandro
 
Old 10-11-2005, 10:34 PM   #8
malesandro
LQ Newbie
 
Registered: Oct 2005
Location: Mar del Plata
Posts: 20

Original Poster
Rep: Reputation: 0
Angry

Back again.......now, doing the same thing that worked before a msg appears saying "/dev/sda is not a valid block dispositive". WTF??? It just worked fine! I rebooted the machine and that's it, I lost it.....what can it be?
Mariano
 
Old 10-12-2005, 05:37 AM   #9
mjolnir
Member
 
Registered: Apr 2003
Posts: 749

Rep: Reputation: 82
Try plugging/unplugging the device. You might also unmount the device before you shut down. That's : umount /dev/sda1. Umount with no "n". Don't worry if it worked once it will work again.
 
Old 10-12-2005, 06:00 PM   #10
malesandro
LQ Newbie
 
Registered: Oct 2005
Location: Mar del Plata
Posts: 20

Original Poster
Rep: Reputation: 0
Hello again! Thanks!
Look, I still cannot get the usb flash mem to mount. Plugged it, unplugged it, plugged it in <> usb ports and nothing. I CAN use it under winXP.
I tried mounting in /dev/sda sdb sdc, etc,etc, etc, with all the numbers, still the same answer: "/dev/sda is not a valid block device".
When typing lsusb I get the whole list, with printer, webcam, modem, but no usb flash drive. Thing is I once could mount it! But that time I didnt unmount it, didnt know I had to...........
So, dont really know what else to do....any advide please?
Regards,
Mariano
 
Old 10-12-2005, 08:49 PM   #11
mjolnir
Member
 
Registered: Apr 2003
Posts: 749

Rep: Reputation: 82
Smile

Open up a root terminal and run, "tail -f /var/log/messages" without the quotes of course and see what you get when you plug and unplug the device. Run a search on usb posts and look for posts from users macondo and Dead Parrot. I am very new to Debian but if we can get these two or others more qualified than me involved I am sure we can get your problem solved.

Look for mara too. Didn't mean to leave you out.

Last edited by mjolnir; 10-12-2005 at 08:52 PM.
 
Old 10-12-2005, 10:23 PM   #12
malesandro
LQ Newbie
 
Registered: Oct 2005
Location: Mar del Plata
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks mjolnir!
Look, I did what you said, and this is what I got:
When pluggin the usb flash mem:
bla bla bla localhost kernel: hub.c:new USB device 00:02.2-5, assigned address 2
bla bla bla localhost kernel: usb_control/ublg_msg: timeout
bla bla bla localhost kernel: hub.c:new USB device 00:02.2-5, assigned address 3
bla bla bla localhost kernel: usb_control/ublg_msg: timeout

When I unplugged and replugged, I got the same but with addresses 4 and 5 and so on. What does this mean? What must I do to get the timeout out?
Thanks a lot,
Mariano
 
Old 10-12-2005, 10:29 PM   #13
malesandro
LQ Newbie
 
Registered: Oct 2005
Location: Mar del Plata
Posts: 20

Original Poster
Rep: Reputation: 0
Sorry....where it says "usb_control/ublg_msg: timeout" should say "usb_control/bulk_msg: timeout"....
and bla bla bla stands for the time and all that.
Mariano
 
Old 10-13-2005, 02:55 AM   #14
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
I experienced on one of my former distributions that it would occasionally be remapped to /dev/sdb1, if it had not been 'umount'ed right.
You will try that. Also, the command lsusb as root (or possibly, /sbin/lsusb as user) will show if it is detected right - and where.
 
Old 10-13-2005, 05:19 AM   #15
malesandro
LQ Newbie
 
Registered: Oct 2005
Location: Mar del Plata
Posts: 20

Original Poster
Rep: Reputation: 0
OSourceDiplomat, I've already tried that out, but just in case I did it again now, still the same answer. WHen doing lsusb as root I get the usb devices list, except for the pendrive....
Could it be due to the time out?
Mariano
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error:mounting usb pendrive in debian pspec Linux - Newbie 3 11-30-2005 11:24 PM
Mounting USB-Pendrive in Debian Elbryan Linux - Software 4 09-22-2005 12:39 PM
mounting pendrive ankscorek Linux - Hardware 5 08-18-2005 08:37 AM
Booting Debian from a USB pendrive ? amrdavila Debian 1 10-17-2004 09:57 PM
mounting a pendrive minm Linux - Hardware 13 09-06-2004 01:05 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration