LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-23-2011, 10:54 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
How to manually mount usb stisk?


I need a little guidence regarding to usb stisk.kindly can u guide me that how can i manually mount kingston usb srtisk under red hat ?
 
Old 01-23-2011, 11:09 AM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
You can use from terminal as root fdisk -l to find the device # then use the mount command.
 
Old 01-23-2011, 11:10 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
What is the device node for the usb stick? You can probably guess using "ls /dev/sd*" or reading the end of /var/log/messages after insterting the stick or running "sudo /sbin/fdisk -l".

Some usb pendrives have a filesystem on a node like /dev/sdc. Others more properly on a node such as /dev/sdc1.

Assuming it was formatted with fat32 and the device node is /dev/sdc1:
Code:
sudo mkdir /mnt/pendrive  # need mount point
sudo mount -t vfat /dev/sdc1 /mnt/pendrive -o rw,nosuid,nodev,uid=<yourusername>,gid=<yourusername>,noatime,utf8,shortname=mixed,flush
Some cards (not sticks) are identified like /dev/mmcblk0p1 instead of /dev/sd#
 
Old 01-24-2011, 04:20 AM   #4
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
Thanks for the reply. Well i am using Red Hat 9 in my old pc. I can see the usb message in
Code:
# tail -f /var/log/messages
but it does't show me the drive latter.
Does the kernel of red hat 9 support USB ?
I know you will say why i am using Red Hat 0 .It is due to my old pc.
thanks again for the help.
 
  


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
Manually Mount a USB Stick in Console (No X Running) tronayne Slackware 12 11-15-2010 07:48 AM
Unable to mount usb device manually randomx Debian 3 07-18-2009 02:36 PM
how does one manually mount a usb stick ninja master Linux - Hardware 2 03-16-2009 02:17 PM
Mayday! How do I manually mount my encrypted ext3 external usb disk? simonsharry Linux - Newbie 11 02-15-2009 04:49 AM
mount USB devices, sda, manually/statically assign sda? Oxyacetylene Debian 3 12-20-2004 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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