LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-30-2010, 03:10 PM   #1
MPRT
Member
 
Registered: Apr 2010
Location: Rio de Janeiro
Distribution: Ubuntu, Fedora, Slackware
Posts: 30

Rep: Reputation: 0
Unable to mount a pendrive


Dear all,

I need to use a pendrive with the Slackware 13.0 and I've tried a lot of things I've found at the internet but unfortunately they didn't work. It's not possible to use graphical interface because some reasons. So the problem need to be solved by command line.

When I use "lsusb" command, I can see the pendrive.
However, when I try these:

modprobe usb-ohci
modprobe usbcore

I got the following message: "Module usb-ohci not found" and "Module usbcore not found"

How can I deal with these problem? Because I guess without these module loaded it's not possible to mount the pendrive. Is it right?

Thanks in advance!

Best regards,
 
Old 09-30-2010, 03:25 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,254

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
I don't think they are needed. Did you check dmesg after connecting flash drive? It should write which device it is.
After that you can just mount it:
Code:
mount /dev/sdx /mnt
 
1 members found this post helpful.
Old 09-30-2010, 03:42 PM   #3
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
After connecting the flash drive say
#fdisk -l
it will list all the partitions on all the drives. Your Pendrive partition will also be listed.
Just see how it has been formatted, i mean whether ext3, ntfs, fat16.

use
for ext3
#mount -t ext3 /dev/sdXN /mnt X is the letter and N is the number of your pendrive.

for fat16
#mount -t vfat /dev/sdXN /mnt

for ntfs
#mount -t ntfs /dev/sdXN /mnt

#cd /mnt you can access the content.



Hope this works.
 
1 members found this post helpful.
Old 10-07-2010, 01:59 PM   #4
MPRT
Member
 
Registered: Apr 2010
Location: Rio de Janeiro
Distribution: Ubuntu, Fedora, Slackware
Posts: 30

Original Poster
Rep: Reputation: 0
Hello, Basheer! Thank you very much for all information you gave me!

I used the command “fdisk –l | more ” and I could see the pendrive in /dev/sda.

However, few seconds later, the computer was reinitializing every time. I didn’t understand it because the pen drive works fine in other computer.

In fact, we had the same problem with windows in the same computer.

I toke the pen drive off and Slackware still reinitialized some times. After that, it’s working fine.

So, I see two possibilities: the power supply is not good enough or there is a problem with the USB hardware. But I think just the second one is true.

What do you think about this? Could you please give me your opinion?

Thanks in advance!
 
Old 10-07-2010, 02:15 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
USB-ports deliver 500mA in maximum, I don't think, that your powersupply can't handle that. As you have the same issues in Windows I would assume that your motherboard is faulty.
 
1 members found this post helpful.
Old 10-07-2010, 02:32 PM   #6
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
Can u please post the output of fdisk -l here.
 
1 members found this post helpful.
Old 10-07-2010, 03:52 PM   #7
MPRT
Member
 
Registered: Apr 2010
Location: Rio de Janeiro
Distribution: Ubuntu, Fedora, Slackware
Posts: 30

Original Poster
Rep: Reputation: 0
Hello, TobiSGD!

I’m using is a Single Board Computer (PC104) for this application and it consumes 5V @ 1A. The power supply can deliver 6A.

I used the “top” command and verified that the processor is working with less than 2% of the CPU.

Based on these information, I suppose the problem is not with the power supply, as you told us.

The computer has been working perfectly for 3 hours after I took the pendrive off.
 
Old 10-07-2010, 03:56 PM   #8
MPRT
Member
 
Registered: Apr 2010
Location: Rio de Janeiro
Distribution: Ubuntu, Fedora, Slackware
Posts: 30

Original Poster
Rep: Reputation: 0
Hello, Basheer!

I’m afraid to plug the pendrive again because I had problems last time.

So, I can’t see the results of the “fdisk -l” command right now.

Thanks!
 
  


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
Unable to mount pendrive nanns Linux - Newbie 3 05-27-2010 07:16 AM
Unable to mount Pendrive kapilbajpai88 Linux - Newbie 15 11-19-2008 02:11 AM
How to mount pendrive from terminal??? pusrob MEPIS 4 05-16-2007 12:55 PM
pendrive mount myuran Linux - Hardware 1 04-15-2006 02:27 AM
usb pendrive mount eg72 Linux - Hardware 1 05-16-2004 12:20 PM


All times are GMT -5. The time now is 06:57 AM.

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