LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-07-2005, 02:44 PM   #1
Dr3n
Member
 
Registered: Feb 2005
Posts: 60

Rep: Reputation: 16
USB Drive - Mounted OK, but files aren't recognized


Hi all.

I got my USB thumb drive mounted, with much reading and searching on the web. I'm running Debian Sarge, Gnome 2.8 and the default 2.4 kernel.

I rebooted the machine with the drive plugged in, then went:
# mount -t vfat /dev/sdb /mnt/usb
This worked, and /mnt/usb has my files visable. The problem is though, that Gnome/Nautalis doesn't display my files / doesn't read my USB drive properly. All the files and directories are displayed as the "unknown" file icon.

Is there a way to fix this? Should I just format the drive, and with which file system?

Thanks.
 
Old 03-07-2005, 03:08 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
So you can still read/write/copy etc. each file on the usb drive?

Sounds more like a mime type/file icon issue. You may need to go into the Nautilous options and set which icons you wish to see for each file type. If there was a problem, you probably wouldn't see anything at all under any file manager...

Cheers,

mj
 
Old 03-07-2005, 04:02 PM   #3
Dr3n
Member
 
Registered: Feb 2005
Posts: 60

Original Poster
Rep: Reputation: 16
No, I can't read/write/copy anything.

And no, it's not an MIME type issue. Take a look at this screenshot:

http://dren.homelinux.org/img/usb.png

This shows my home dir with some files in it, and everything looks OK. In the other window labeled "/mnt/usb", this shows the files, and directories, on the usb drive.

This is as far as I've ever gotten with mounting my usb drive under Gnome. For some reason it works under KDE, but I don't use KDE.

Last edited by Dr3n; 03-14-2005 at 06:01 PM.
 
Old 03-07-2005, 04:41 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Odd. What happens when you attempt to copy the files using the shell, eg. (after mounting)
Code:
cd /mnt/usb
cp *.doc /home/vinkles
Cheers,

mj
 
Old 03-07-2005, 04:54 PM   #5
Dr3n
Member
 
Registered: Feb 2005
Posts: 60

Original Poster
Rep: Reputation: 16
Interesting. When I copy the files to ~ they turn out fine. Meaning, I can open them and read, etc. When I copied a directory over, the contents copied fine, but the files within the directory were still the "unknown" file type.

One other note: when I right click one of the "unknown" files, the file disappears. I can hit refresh and the file will reappear.

I wonder if it is the current file system on the drive? Or the drive model?
 
Old 03-07-2005, 05:49 PM   #6
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Quote:
I wonder if it is the current file system on the drive? Or the drive model?
Could be. It might be worth formatting the usbdrive (under linux, not windows) just in case - vfat is usually a safe filesystem for usbdrives. Other than that, I would probably run an update on your gnome/nautilus packages, in case it is simply a bug that's since been fixed.

Cheers,

mj
 
Old 03-14-2005, 06:00 PM   #7
Dr3n
Member
 
Registered: Feb 2005
Posts: 60

Original Poster
Rep: Reputation: 16
Found the problem. It turns out that the USB cord I was using from the USB drive into the USB port somehow does not work with Linux. This cord isn't the default that came with the drive, so I came up with the zaney idea to try the default cord. BAM - Instaltely the USB icon came up on my desktop and Nautilus opens to the drive with my files and directories all intact - and with the correct MIME type icons.
 
  


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
can't open files inside mounted usb drive NanoFxJ Linux - Hardware 2 05-19-2005 07:59 AM
Can't see files on mounted drive JMakar Linux - Hardware 2 04-15-2005 10:50 AM
USB Hard Drive mounted: No files shown. mooreted Slackware 3 12-06-2004 06:51 PM
can't see files in mounted drive freeindy Linux - General 6 04-24-2004 08:40 AM
Mounted Drive...using its files thefetus Linux - Newbie 36 11-19-2003 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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