LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-08-2007, 07:24 PM   #1
Peter Shepard
Member
 
Registered: Apr 2005
Posts: 96

Rep: Reputation: 15
memory stick


Hello,

I have a memory stick, a 2GB transcend Jet Flash (JF V30). My ubuntu os
6.10 edgy eft used to recognize and mount automatically. I tried to mount a large directory onto it and my OS has not been able to recognize it since? Is there a way to salvage it or any files on it?

Thanks,

Peter
 
Old 03-08-2007, 09:22 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Go to the console and take a look if the device is being recognized at all. Look at the output of "sudo /sbin/fdisk -l" and see if the partition is listed. If so, notice which device it is, such as /dev/sdc1 for example.

You can also use "sudo tail -f /var/log/messages" and plug in the pen drive and see what the logs say. ( Some distro's may post to a different log file. )

If you know the device, you can try to repair the filesystem with the command "sudo /sbin/fsck.vfat /dev/sdX1" where X is the device letter. If it has more than one partition, maybe change the "1" as well.

It is also possible that the filesystem isn't corrupted and you can try mounting the partition somewhere manually. See "man mount" for details.

Please note that I assumed that the filesystem on the pen drive is fat32. If you reformatted it using a different filesystem like ext3, then use the corresponding fsck program. You can also use the form "sudo /sbin/fsck -t vfat /dev/sdXN". Also, double check that the partition isn't mounted before running fsck.

Last edited by jschiwal; 03-08-2007 at 09:32 PM.
 
Old 03-09-2007, 09:14 AM   #3
Peter Shepard
Member
 
Registered: Apr 2005
Posts: 96

Original Poster
Rep: Reputation: 15
Hello,

Thanks for the reply. The device does not show up when I do a sudo fdisk -l but I get cat /var/log/messages
and get...
"[ 1085.723278] end_request: I/O error, dev sda, sector 0"

When I take the disk out and cat /var/log/messages I get
"[ 1167.957634] usb 4-4: USB disconnect, address 3"

Tia
 
  


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
USB memory, Compact Flash, Memory Stick energiza Linux - Hardware 2 08-22-2006 09:29 PM
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
Using memory stick MalachiX Linux - Newbie 1 04-13-2005 12:13 AM
memory stick rosslaird Debian 5 07-23-2004 08:01 PM
memory stick / CF memory card reader X-dazed Linux - Newbie 1 01-21-2003 12:32 AM

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

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