LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-12-2008, 07:52 PM   #1
seth556
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Mounting usb stuff in Fedora


I have Fedora 9 installed, I was orginally using KDE but since it was hogging my ram I switched to gnome (much easier on the ram). But now when I plug in a usb device it doesn't automatically mount. The main reason I need to mount something from usb is so I can connect to my calculator but my pendrive doesn't mount ether.

So how do I get usb stuff to automatically mount? Or at the very least how can I manually mount a usb device?
 
Old 08-13-2008, 08:38 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,755

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by seth556 View Post
I have Fedora 9 installed, I was orginally using KDE but since it was hogging my ram I switched to gnome (much easier on the ram). But now when I plug in a usb device it doesn't automatically mount. The main reason I need to mount something from usb is so I can connect to my calculator but my pendrive doesn't mount ether.

So how do I get usb stuff to automatically mount? Or at the very least how can I manually mount a usb device?
I'm not a Gnome user, but to manually mount a drive, you need two things:

- The name of the device
- Where you want to mount it (the mount point)

Usually the mount point is just a directory. I'd suggest making a directory, just for mounting external drives, something like /media/usbdrive, or /mnt/thumbdrive. Whatever you want to call it.

Then, you need to know what the name of the device is. Plug it in, and you should see a device under /dev, something like /dev/sdb1, or something along those lines. Plug the device in, then run "dmesg" and look at the bottom of that output...should give you a basic device name. if you have three partitions on the device, and your main hard drive is /dev/sda, you'll probably see /dev/sdb1, /dev/sdb2, and /dev/sdb3 (the sdb is your device, the 1/2/3 are the partitions on it). To mount it, try:

mount /dev/sdb1 /your/mount/point

Or something to that effect. Sorry I can't help you with Gnome automount.
 
Old 08-13-2008, 08:43 AM   #3
Eredeath
Member
 
Registered: Jul 2008
Distribution: Arch
Posts: 41
Blog Entries: 3

Rep: Reputation: 16
Hey Seth556,
Note: USB device should be unplugged for this procedure.
I think you can make plug-and-play work using a program called hal. Try using the code as root in the console:
Code:
# /etc/rc.d/hal start
If it fails, you need to install hal, try a google search for it as i don't know how to do that in Fedora.
If you do have it you need to set permissions for yourself, so as root:
Code:
# gpasswd -a username optical
# gpasswd -a username storage
# gpasswd -a username hal
# /etc/rc.d/dbus restart
# /etc/rc.d/hal restart
replacing username with your username.
Now that you have that done as root you need to modify with your favorite editor /etc/rc.conf
scroll down to the Daemons section and add to it hal for example:
Code:
DAEMONS=(syslog-ng network !netfs !crond alsa hal)
You may need to reboot after this but try
Code:
# /etc/rc.d/hal start
first, and plug in your USB device.

Hope this helps
 
Old 08-13-2008, 12:18 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,755

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Good stuff. Thanks.
 
  


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
Mounting a USB pen drive in Fedora Core 1 mrde50garfield Linux - Hardware 2 07-26-2010 01:14 AM
Using Fedora 7: Trouble Mounting a USB Attached Fedora 7 Drive SysConWatch Linux - Newbie 6 11-12-2007 06:15 PM
mounting a USB stick in Fedora 6 ashlesha Linux - Desktop 4 03-29-2007 04:15 PM
Fedora - Problems Mounting NTFS USB HDD kdm2002 Linux - Hardware 2 01-31-2006 04:44 PM
Mounting usb flash disc in Fedora Core 3 suro Fedora 6 04-14-2005 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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