LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-07-2007, 01:03 AM   #1
jim_naisium
Member
 
Registered: Jul 2006
Posts: 74

Rep: Reputation: 15
Cannot find USB drive...


Hi,

I'm having trouble with my USB drive, I know that Linux can see the drive I just cannot find it, it does not show up there the floppy, HD, and CDROM drives are.

My system is setup with a mobile drawer that pulls out when I want to boot from Windows 2k Pro-SP4 or Linux Slackware 10.2, each OS is on its own hard drive, other than that the two OSes share the same hardware.

Anyway, I have a 4gig USB thumb drive, works fine under Win2k Pro, two different PCs running Win2k can see this drive and transfer files back and forth so I know that the USB drive itself is fine.

Linux can see the drive, I ran FDISK -L it gave me (among other things):
=================================================================
Disk /dev/sda: 4095 MB, 4095737856 bytes
255 heads, 63 sectors/track, 497 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 497 3992121 7 HPFS/NTFS
=================================================================

LSMOD gave me (among other things):
====================================
usb-storage 62432 0
====================================

DMESG gave me (summarized for only the USB stuff):
=========================
hub.c: 6 ports detected
=========================
(PC has 6 ports).

and

=================================================================
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: GS-Magic Model: stor 1040A Rev: 0811
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 7999488 512-byte hdwr sectors (4096 MB)
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
lp: driver loaded but no devices found
usb.c: USB disconnect on device 00:10.3-3 address 2
=================================================================

I pulled the USB drive out and stuck it in another USB port, then this happened:

=================================================================
hub.c: new USB device 00:10.3-5, assigned address 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
=================================================================

I also reformatted the USB drive from FAT32 to NTFS.

Any suggestions on getting this to work?
 
Old 01-07-2007, 01:07 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Have you tried mounting /dev/sda1?
 
Old 01-07-2007, 12:45 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by jim_naisium
Device Boot Start End Blocks Id System
/dev/sda1 1 497 3992121 7 HPFS/NTFS

....

I also reformatted the USB drive from FAT32 to NTFS.

Any suggestions on getting this to work?
Do you have NTFS support built into the kernel or as a module so you can mount NTFS formated media ? I'm betting not.

Try this guide if you need help on how to do this: http://www.linuxquestions.org/questi...d.php?t=513881

Last edited by H_TeXMeX_H; 01-07-2007 at 12:47 PM.
 
Old 01-07-2007, 06:13 PM   #4
jim_naisium
Member
 
Registered: Jul 2006
Posts: 74

Original Poster
Rep: Reputation: 15
Hi,

No mounting did not work, long-story-short after viewing about six different postings on this subject (from this board and others) here is what I had to do...

I have two USB drives, a 256meg and a 4000meg (4gig), since my last posting just to rule it out I reformatted the 4gig back to FAT32.

Login as ROOT.

Went to /mnt/ and created two new folders called usb256 and usb4000 (yes they have to be named differently or you get the same content in both drives).

Went to /etc/ and opened FSTAB with KEdit and added these two lines:

==================================================================
/dev/sda1 /mnt/usb4000 vfat auto,users,rw,umask=0 0 0
/dev/sdb1 /mnt/usb256 vfat auto,users,rw,umask=0 0 0
==================================================================

If you click on the SYSTEM icon on the Desktop then go into Storage Media, that made both of the drives show up as:

======================
Removable Device SDA1
Removable Device SDB1
======================

If I open them they show the files that were on there from when they were talking to the Win2k Pro. OS.

So, that part is fixed, what I would like to know now is how I can create short-cuts for them on the Desktop without copying the entire contents of the drives to the desktop?
 
Old 01-07-2007, 08:24 PM   #5
jim_naisium
Member
 
Registered: Jul 2006
Posts: 74

Original Poster
Rep: Reputation: 15
Hi,

Never mind, figured it out.

If you are curious...

Right click the desktop, then go to: /Create New/Link to Device/Hard Disc Device/

Choose the DEVICE tab, then from the Device drop down menu click on the drive you want to make the short cut for, then hit OK.

The shortcut icon will appear on your Desktop, right click it and RENAME it to whatever you want.
 
  


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
Try to mount USB drive: Computer can't find /dev/sda1 gameboypckt Linux - Newbie 5 02-07-2007 09:05 AM
Where can I find my usb drive? slinkysteve Linux - Newbie 3 06-15-2005 04:41 AM
Cannot find USB Drive Zedd129 Fedora 4 03-07-2005 05:43 PM
Mandrake Move 2.0 doesn't seem to find my USB flash drive Jeff59 Linux - Hardware 0 01-24-2005 07:21 PM
Cannot find USB Flash Drive jclieber Fedora 6 01-06-2005 06:27 AM

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

All times are GMT -5. The time now is 01:51 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