LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-15-2004, 09:59 PM   #1
mahamkali
Member
 
Registered: Oct 2003
Posts: 67

Rep: Reputation: 15
problem with USB drive...


Hi,
I am a newbie and I am having Debain-sarge on my AMD athelon pc. I am trying to mount my USB flash drive but it seems to be not working.
When I ran sg_map it is saying "no devices found so stopping sg_map" and when I mount the drive using command "mount /dev/sda1 /mnt/sandisk" I am getting the message "mount: /dev/sda1 is not a valid block device".
Can anyone please help me solve my problem.


thanks in advance,
siva
 
Old 08-15-2004, 11:04 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: problem with USB drive...

Quote:
Originally posted by mahamkali
Hi,
I am a newbie and I am having Debain-sarge on my AMD athelon pc. I am trying to mount my USB flash drive but it seems to be not working.
When I ran sg_map it is saying "no devices found so stopping sg_map" and when I mount the drive using command "mount /dev/sda1 /mnt/sandisk" I am getting the message "mount: /dev/sda1 is not a valid block device".
Can anyone please help me solve my problem.


thanks in advance,
siva
Does the drive even get detected use dmesg in a console window it should be at the bottom of the output in the screen if you plug it in after you boot. And try mount -t vfat /dev/sda1 /mnt/sandisk to tell the system the file type and you may want to use -t dos and try sda5 just in case the drive is formatted as a extended partition type instead of a primary. You may also want to look at the output of fdisk -l /dev/sda to see what partitions are on the drive this done as root.
 
Old 08-15-2004, 11:09 PM   #3
mahamkali
Member
 
Registered: Oct 2003
Posts: 67

Original Poster
Rep: Reputation: 15
hi ,
I tried all the ways but still I am getting the same error. When I run "fdisk -l /dev/sda" i am getting no output.


thanks,
siva
 
Old 08-16-2004, 04:26 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Does "dpkg -l | grep hotplug" give any output?
 
Old 08-16-2004, 04:41 AM   #5
cryptwizard
Member
 
Registered: Aug 2004
Location: Sydney, Australia
Distribution: Debian Squeeze
Posts: 49

Rep: Reputation: 15
easy,
i had the problem before
load all modules:
(the below assumes usb)
modprobe ohci-hcd
modprobe uhci-hcd
modprobe usb-storage

you may need
modprobe sd-mod (not sure (for scsi disk))
modprobe sg (for scsi generic)

now try the mount command

edit: got some names wrong

Last edited by cryptwizard; 08-16-2004 at 04:44 AM.
 
  


Reply



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
Problem with USB flash drive dmsynck Debian 4 11-23-2005 01:43 PM
USB drive problem abattoir Linux - Hardware 4 04-26-2005 04:00 PM
USB drive problem RedAhead Linux - Hardware 2 10-04-2004 01:44 PM
Yet another USB Key Drive Problem :( averen Linux - Hardware 2 04-02-2004 11:18 AM
USB flash drive problem Kensai Mandriva 6 02-23-2004 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:06 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
Open Source Consulting | Domain Registration