LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 11-22-2005, 07:15 PM   #1
dmsynck
LQ Newbie
 
Registered: Apr 2005
Location: "Big D" - Dallas, Texas
Distribution: Linux Mint 8 - "Helena"
Posts: 24

Rep: Reputation: 15
Problem with USB flash drive


Hi all,

I am having a small problem with one of my usb flash drives. I currently have two drives, one is a Kingston DataTraveler II and the other is a Memorex Traveldrive. At one point, both worked on my Debian "Sarge" system, but now only the Kingston will mount up. Both work fine under Windows XP and also under Ubuntu 5.04. I have even gone so far as to reformat the Memorex drive using FAT32, but still no luck. Here is the output of dmesg | tail when Gnome-Volume-Manager tries to mount the Memorex drive.

dmesg | tail

Buffer I/O error on device sda1, logical block 508378393
Buffer I/O error on device sda1, logical block 508378394
Buffer I/O error on device sda1, logical block 508378395
Buffer I/O error on device sda1, logical block 508378396
Buffer I/O error on device sda1, logical block 508378397
Buffer I/O error on device sda1, logical block 508378398
Buffer I/O error on device sda1, logical block 508378399
Buffer I/O error on device sda1, logical block 508378384
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda1.

Here is the relevant line from my /etc/fstab

/dev/sda1 /media/usbdisk vfat rw,user,noauto 0 0

Any help is greatly appreciated.
Thanks in advance
 
Old 11-22-2005, 07:34 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Welcome to LQ!

Can you post the output of "/sbin/fdisk -l" with that drive mounted?

It looks like the partition table might be messed up. I had a flash
drive that began giving me problems, first with intermittent mount
issues. I finally rewrote the partition table with "cfdisk" and then
formatted it with "/sbin/mkdosfs -c -F32 -v /mnt/usb/" and it now
works fine again.

It was given to me formatted by a Windows box, which I thought
was the best for FAT32 filesystems. Seems I stand corrected. ;)
 
Old 11-22-2005, 07:39 PM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
P.S. Check out this I found on Google. Look familiar?
http://linux.derkeiler.com/Mailing-L...4-12/4374.html
 
Old 11-23-2005, 01:25 PM   #4
dmsynck
LQ Newbie
 
Registered: Apr 2005
Location: "Big D" - Dallas, Texas
Distribution: Linux Mint 8 - "Helena"
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks for your help.

I rewrote the partition table with cfdisk and then reformatted as FAT32 with mkfs and it is working now.
 
Old 11-23-2005, 01:43 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Glad I had that experience to share...and glad your drive is okay.
I was quite surprised that Linux tools worked better for FAT filesystems
than Winders tools. I shouldn't be, though.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB flash drive mount problem servnov Linux - General 4 10-10-2005 08:08 PM
Problem disconnecting USB flash drive Mordechai Linux - Hardware 8 09-06-2005 11:09 AM
USB flash drive mounting problem guillaume31 Linux - Hardware 4 05-23-2005 11:47 AM
having a problem accessing my usb flash drive vadriaan Linux - Hardware 4 01-27-2005 02:15 AM
USB flash drive problem Kensai Mandriva 6 02-23-2004 02:05 PM


All times are GMT -5. The time now is 10:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration