LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-20-2008, 12:10 PM   #1
Mark_in_Hollywood
Member
 
Registered: Jan 2006
Location: USA
Distribution: Ubuntu - Precise Pangolin
Posts: 121

Rep: Reputation: 15
Two USB memory devies (stick memory/jump drive) one works one not


I have two usb memory sticks/devices.

One is 256 meg. It is working. Files can be moved from the hard drive to the memory stick and vice versa.

The other is 1 gig. It shows up as:

mark@Lexington-19:~$ lsusb
Bus 004 Device 003: ID 3538:0054 Power Quotient International Co., Ltd

and

Disk /dev/sdb: 1010 MB, 1010826752 bytes
255 heads, 63 sectors/track, 122 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x91f72d24

Device Boot Start End Blocks Id System
/dev/sdb1 1 122 979933+ 83 Linux


but files cannot be read from nor files moved/copied to it.

From a LiveCD session, I have used GParted to partition and format the stick, time and time again.

This HH is less than 3 days old. All packages are up to date. No modifications to system files have been made. The device is listed in /media as a folder named: usb.

The main properties page shows the device as: ext3, but the Media Properties page shows ext2.

and: rw, nosuid, nodev, relatime

and under Permissions:

The "permissions" of the disk could not be read.

Last edited by Mark_in_Hollywood; 05-20-2008 at 12:19 PM. Reason: added info
 
Old 05-20-2008, 12:25 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Try copying the files with a root terminal which can get over the permission problem.
 
Old 05-20-2008, 12:37 PM   #3
Mark_in_Hollywood
Member
 
Registered: Jan 2006
Location: USA
Distribution: Ubuntu - Precise Pangolin
Posts: 121

Original Poster
Rep: Reputation: 15
Here's what I tried. I'm much a noob and not really sure of the command line structure.

mark@Lexington-19:/media$ sudo cp /home/mark/Desktop/cervantes /media/usb
mark@Lexington-19:/media$ ls -a
. cdrom cdrom1 disk-1 floppy0 .hal-mtab-lock usb
.. cdrom0 disk floppy .hal-mtab UDISK 28X
mark@Lexington-19:/media$

I don't see the file named cervantes in the /media
 
Old 05-20-2008, 01:45 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
You have copied it to /media/usb so type
Code:
ls /media/usb
You can beome a temporary super user in Ubuntu too by command
Code:
sudo su
 
Old 05-20-2008, 02:14 PM   #5
Mark_in_Hollywood
Member
 
Registered: Jan 2006
Location: USA
Distribution: Ubuntu - Precise Pangolin
Posts: 121

Original Poster
Rep: Reputation: 15
Yes sir, I see I can cause the drive to have a file copied over to it under sudo. How can I change the device to be accessable to user: mark?
 
Old 05-20-2008, 07:35 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Do this in root
Code:
chown mark /media/usb/cervantes
or for all of them
Code:
chown -R mark /media/usb
assuming mark is your username.
 
  


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
removable usb storage drive (memory stick) christel Linux - Newbie 7 11-17-2006 03:18 AM
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
Help - USB flash memory stick and hard drive munkus.agb Suse/Novell 3 12-15-2004 05:51 AM
Can't mount USB memory stick/pen drive wellmt Slackware 11 06-25-2004 02:10 AM


All times are GMT -5. The time now is 08:40 PM.

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