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

Notices


Reply
  Search this Thread
Old 04-03-2007, 08:21 PM   #1
vital_101
Member
 
Registered: Jul 2005
Location: Mount Pleasant, Michigan
Distribution: Ubuntu Jaunty 9.04
Posts: 82

Rep: Reputation: Disabled
Trouble mounting USB Flash drive


Hey everyone,

Up until now, Ubuntu has been mounting my flash drive automatically. However, recently it hasn't been mounting it at all. So I tried:
Code:
sudo mount -t vfat /dev/sda /media/usb
and it doesn't work. It gives me the error:
Quote:
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
So I do as I'm told and do:
Code:
dmesg | tail
When I do that, I get the following.
Code:
[17179692.936000] cramfs: wrong magic
[17179692.940000] VFS: Can't find ext3 filesystem on dev sda.
[17179692.940000] NTFS-fs warning (device sda): is_boot_sector_ntfs(): Invalid boot sector checksum.
[17179692.940000] NTFS-fs error (device sda): read_ntfs_boot_sector(): Primary boot sector is invalid.
[17179692.940000] NTFS-fs error (device sda): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
[17179692.940000] NTFS-fs error (device sda): ntfs_fill_super(): Not an NTFS volume.
[17179692.944000] FAT: invalid media value (0xb9)
[17179692.944000] VFS: Can't find a valid FAT filesystem on dev sda.
[17179703.072000] FAT: invalid media value (0xb9)
[17179703.072000] VFS: Can't find a valid FAT filesystem on dev sda.
Any help on this would be great. Thanks!
 
Old 04-03-2007, 09:32 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
You could try the following.
Code:
sudo mount -t auto /dev/sda1 /media/usb
You could also try the following to see if there is any useful information when you plug in the drive.
Code:
sudo tail -n 0 -f /var/log/messages
 
Old 04-03-2007, 10:45 PM   #3
vital_101
Member
 
Registered: Jul 2005
Location: Mount Pleasant, Michigan
Distribution: Ubuntu Jaunty 9.04
Posts: 82

Original Poster
Rep: Reputation: Disabled
When I do
Quote:
sudo tail -f /var/log/messages
I get the following
Quote:
Apr 3 23:40:06 ubuntu-laptop kernel: [17188935.028000] Type: Direct-Access ANSI SCSI revision: 00
Apr 3 23:40:06 ubuntu-laptop kernel: [17188935.032000] SCSI device sda: 4062208 512-byte hdwr sectors (2080 MB)
Apr 3 23:40:06 ubuntu-laptop kernel: [17188935.032000] sda: Write Protect is off
Apr 3 23:40:06 ubuntu-laptop kernel: [17188935.036000] SCSI device sda: 4062208 512-byte hdwr sectors (2080 MB)
Apr 3 23:40:06 ubuntu-laptop kernel: [17188935.036000] sda: Write Protect is off
Apr 3 23:40:06 ubuntu-laptop kernel: [17188935.036000] sda:
Apr 3 23:40:06 ubuntu-laptop kernel: [17188935.096000] sd 2:0:0:0: Attached scsi removable disk sda
Apr 3 23:40:06 ubuntu-laptop kernel: [17188935.096000] sd 2:0:0:0: Attached scsi generic sg0 type 0
Apr 3 23:40:26 ubuntu-laptop kernel: [17188954.900000] VFS: Can't find a valid FAT filesystem on dev sda.
Apr 3 23:40:43 ubuntu-laptop kernel: [17188971.840000] VFS: Can't find a valid FAT filesystem on dev sda.
Does this mean that my flash drive's file system is screwed? If so, how can I format it if I can't even get it to mount? Any ideas?
 
Old 04-03-2007, 11:30 PM   #4
vital_101
Member
 
Registered: Jul 2005
Location: Mount Pleasant, Michigan
Distribution: Ubuntu Jaunty 9.04
Posts: 82

Original Poster
Rep: Reputation: Disabled
Just would like to let you know I fixed the problem. Apparently I needed format my USB device (it lost it's file system somewhere along the line) and everything is working well now.
 
  


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
Mounting a USB Flash drive carlgulliver100 Linux - Software 2 11-13-2006 11:51 AM
Mounting a USB Flash Drive hm3buzz Linux - Hardware 4 08-25-2006 10:05 AM
USB Flash Drive not Mounting Kentara Linux - Hardware 1 03-12-2005 08:59 AM
Mounting a USB Flash Drive Garibaldi3489 Slackware 3 01-04-2005 09:09 PM
Trouble mounting usb flash drive alpha1906 Slackware 6 08-20-2004 02:59 PM

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

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