Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-01-2004, 02:59 PM
|
#1
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 9.1
Posts: 10
Rep:
|
mounting usb hard drive
hey guys, i have fedora 2 & its totaly updated as of 3 mins ago. ive been trying to mount my usb hdd but i havehad no luck. plus 3 of the guides or wat not deal with formattig the hdd, i have 73 gb of datta that cant be lost, the hdd has a single extended partition formatted with fat32, as to have read/write compatability with win xp pro & fedora core 2. please advise~
|
|
|
07-01-2004, 03:13 PM
|
#2
|
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040
Rep:
|
First you plug your USB hard drive in your USB port. Then open a terminal. Type su, to switch to root user. Once you are root, do a fdisk -l to see where the hard drive is. It should produce results in form of /dev/hda1 /dev/hda2 /dev/hda3 (these are the lines of your primary harddisk. The USB harddrive should be /dev/sda1 or seomthing starting with sd. If it's not, just analyse what the harddrives in your computer are.
Like for example. You know you only have one harddisk in your computer. That one is certainly /dev/hdax (where x are the numbers of partitions). IF you have two harddisks in your computer, then the second one is /dev/hdbx and the third one is /dev/hdc..... and so on.
Just eliminate the ones you know are not the USB harddrive. But as I said, the USB harddrive should be like /dev/sda1. Also in the line of that, you see the filesystem type of that drive. In your case it should say FAT something.
SO remember, just switch to root, and "fdisk -l" to see where it is.
Once you know where it is, and what filesystem type it is, you just have to mount it. To do that, you first need to create a directory.
mkdir /myusbdisk (this creates the directory)
and then just mount it there with the command:
mount -t vfat /dev/sda1 /myusbdisk
This is true, if you find it at /dev/sda1 and it is FAT filesystem.
Then just navigate to the directory /myusbdisk and there is your data. If you want to make it auto mount, just edit your /etc/fstab file. Just follow the examples already in it. Copy a line and change it to suit your needs.
Good luck!
You cant loose any of your data, with this. Mounting does not touch the harddisk at all.
Peace!
|
|
|
07-01-2004, 03:29 PM
|
#3
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 9.1
Posts: 10
Original Poster
Rep:
|
hmmmmmm
i triedthe fdisk -l as per my cuz's instructions, lol then saw ur so i did it. it only recognizes my internal, no usb hdd...dunno
|
|
|
07-01-2004, 03:34 PM
|
#4
|
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040
Rep:
|
Which kernel are you running?
You can see that by typing:
uname -r
Also try this:
cat /proc/modules | grep hcd
This should produce some output if you have USB support in your kernel.
|
|
|
07-01-2004, 10:51 PM
|
#5
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 9.1
Posts: 10
Original Poster
Rep:
|
sucess
yay, guys, lol, that was gay. but yea i got it workin. im runnin the 2.6 versionof linuz kernel. but i got it runnin, imma look up how again, my friend apocrafiend told me how to. i plan to gete it & post it for others in a day or few hrs.
|
|
|
All times are GMT -5. The time now is 01:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|