LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-03-2009, 06:40 AM   #1
dhir_dhiru
LQ Newbie
 
Registered: Jan 2009
Posts: 3
Blog Entries: 2

Rep: Reputation: 0
Unhappy how can i browse data from pen drive in redhat linux 9


hi all i am new in linux.

so how can i browse data from my pen drive.
 
Old 01-03-2009, 07:56 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,564
Blog Entries: 1

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
It needs to be mounted under certain directories first. It could be /mnt or /media or any place you want in your home directory. If it doesn't mount automatically you need to look into 2 commands: fdisk and mount
Quote:
fdisk -l
fdisk, when run as root, will print the partition table of your hard disk(s). Once you've identified which one is your pendrive (could be /dev/sda or /dev/sdb or something similar) you'll need to mount it.

Assuming that your pendrive is /dev/sda and it's formatted in ext3 and you want to mount it in your home directory in the pendrive directory, it would be as follows:
Quote:
mount -t ext3 /dev/sda1 /path/to/pendrive -rw
/dev/sda refers to the whole hard disk, whereas /dev/sda1 refers to the first partition of /dev/sda1

for more information on 'mount' and 'fdisk' check their man pages.
 
Old 01-03-2009, 08:25 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Red Hat 9 is obsolete and no longer receives any updates of any kind. You'd be wise to install a newer distribution.
 
Old 01-05-2009, 02:22 AM   #4
dhir_dhiru
LQ Newbie
 
Registered: Jan 2009
Posts: 3
Blog Entries: 2

Original Poster
Rep: Reputation: 0
thanks

Quote:
Originally Posted by sycamorex View Post
It needs to be mounted under certain directories first. It could be /mnt or /media or any place you want in your home directory. If it doesn't mount automatically you need to look into 2 commands: fdisk and mount

fdisk, when run as root, will print the partition table of your hard disk(s). Once you've identified which one is your pendrive (could be /dev/sda or /dev/sdb or something similar) you'll need to mount it.

Assuming that your pendrive is /dev/sda and it's formatted in ext3 and you want to mount it in your home directory in the pendrive directory, it would be as follows:


/dev/sda refers to the whole hard disk, whereas /dev/sda1 refers to the first partition of /dev/sda1

for more information on 'mount' and 'fdisk' check their man pages.
thanks man

its work
 
  


Reply

Tags
drive, mount usb, pen


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
preventing from copy data to a pen drive varunkant Ubuntu 2 12-01-2008 12:56 PM
Boot iso on pen drive by grub installed on pen drive jena Linux - Hardware 2 11-01-2008 09:09 AM
How can i configure pen drive for my redhat version 3 on my desktop venkatam Linux - Desktop 3 03-15-2008 07:53 AM
usb pen drive with REDHAT linux sunlinux Linux - Hardware 2 12-13-2006 10:07 AM
data missing in usb pen drive when plugout/plugin Jacksytoh Linux - Hardware 10 11-17-2003 01:51 AM


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