LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-03-2005, 08:34 AM   #1
deepdark
Member
 
Registered: Dec 2004
Posts: 35

Rep: Reputation: 15
help about USB flash drive


on my VAIO memory stick is ok i can find on devices but not same for USB flash memory any help i am using a 9.2 pro
 
Old 01-03-2005, 09:59 AM   #2
zzak
LQ Newbie
 
Registered: Dec 2003
Location: Canada
Posts: 19

Rep: Reputation: 0
Plug it in and then look under /media
 
Old 01-03-2005, 10:03 AM   #3
deepdark
Member
 
Registered: Dec 2004
Posts: 35

Original Poster
Rep: Reputation: 15
yes but no succes
 
Old 01-03-2005, 10:04 AM   #4
deepdark
Member
 
Registered: Dec 2004
Posts: 35

Original Poster
Rep: Reputation: 15
on media is just dvd rom and memory stick
 
Old 01-04-2005, 12:20 AM   #5
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
type:
Code:
cat /proc/partitions
It will tell you the device names of all hard drives and partitions on your system. USB drives are usually treated as scsi devices. You will probably find sda and sda1 in the list.

create a mount point:
Code:
mkdir /mnt/usb
and mount it with:
Code:
mount /dev/sda1 /mnt/usb
 
Old 01-04-2005, 07:48 AM   #6
deepdark
Member
 
Registered: Dec 2004
Posts: 35

Original Poster
Rep: Reputation: 15
is bot working i cans see a scsi on the hardare list
 
Old 01-04-2005, 02:04 PM   #7
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Which scsi do you see? Try pulling the USB drive out. Which scsi disapears?

If you see sda, sda1, sda2, and sda3 then I would try to mount /dev/sda1, /dev/sda2, /dev/sda3. (don't bother to mount /dev/sda unless it it the only thing in the list)
 
Old 01-04-2005, 07:00 PM   #8
deepdark
Member
 
Registered: Dec 2004
Posts: 35

Original Poster
Rep: Reputation: 15
output:

vaio:~ # cat /proc/partitions
major minor #blocks name

3 0 29297520 hda
3 1 14643216 hda1
3 2 1052257 hda2
3 3 13599022 hda3
8 16 1048576 sdb
 
Old 01-05-2005, 12:21 AM   #9
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
That's weird, but oh well.

Make sure you have a mount point created that you can use. Example, same as above:

Code:
mkdir /mnt/usb
And then try this:

Code:
mount /dev/sdb /mnt/usb
This should work, but only temporarily. To make it "permanent" you will need to add a line to your /etc/fstab file. I can't guaranty that the drive will always remain /dev/sdb. You may need to check every now and again. After you're through, though it probably doesn't matter, it is a good idea to unmount the volume:
Code:
umount /dev/sdb
 
Old 01-05-2005, 03:32 AM   #10
deepdark
Member
 
Registered: Dec 2004
Posts: 35

Original Poster
Rep: Reputation: 15
after writing the mount /dev/sdb /mnt/usb function i can get no output on shell window and the windows hangs i must kill the window to close it ??
 
Old 01-05-2005, 12:36 PM   #11
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
is it partitioned? try either
/dev/sdb -t auto /mnt/usb
/dev/sdb1 -t auto /mnt/usb
 
Old 01-05-2005, 01:52 PM   #12
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
KohlyKohl:

If you read his "cat /proc/partitions" list you will see that sdb is listed, but sdb1 is not. It is not partitioned, nor does it necisarilly need to be. You can treat an entire drive as one big partition. This is rare, but not that unusual.

The "-t auto" is assumed by default. If you don't tell mount what file system the volume has, it knows to automatically detect it.

deepdark:

A good question to ask might be, is it formated? I'd be surprised if it wasn't. Have you used it on another system?

If it hangs, you should be able to ctrl+c to terminate the process. You might want to let it sit for a minute or two to see if it will give you an error message. Then you should check "tail dmesg" to see the last few system messages. This might reveal why it isn't mounting. You can also check "tail /var/log/messages".

By the way, just to verify that we're dealing with the correct device: try doing a "cat /proc/partitions", and then pull out the drive and do it again. The sdb should disappear if it really is the USB drive.
 
Old 01-05-2005, 03:30 PM   #13
deepdark
Member
 
Registered: Dec 2004
Posts: 35

Original Poster
Rep: Reputation: 15
jes is formated in xp and i have a stuff inside
 
Old 01-05-2005, 11:38 PM   #14
jdblick
Member
 
Registered: Sep 2004
Distribution: SUSE 10.0 OSS
Posts: 261

Rep: Reputation: 30
Mine made my XP system decide to turn itself off last night. It works fine on my SuSE box, it appears in the my computer section as a usb drive.
 
  


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 flash drive bsmntbombdood Linux - Hardware 3 10-19-2005 04:54 PM
USB Flash drive trainee Slackware 3 05-18-2005 01:50 PM
usb flash drive 1337_n00b Amigo 1 02-13-2005 12:25 AM
USB flash drive crazyking Linux - Newbie 1 05-17-2004 11:25 AM
USB 2.0 Flash Drive fusee Linux - Hardware 3 04-16-2004 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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