LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-06-2007, 02:34 PM   #1
gawdin
LQ Newbie
 
Registered: Mar 2007
Location: Ohio, United States of America
Distribution: Suse Linux Enterprise 10 server and desktop; Suse Linux 10
Posts: 23

Rep: Reputation: 15
mounting and fstab


I have SLED 10.1 and I need to mount my flash drives/external hard drive. I can get into and edit fstab but I don't know what exactly is needed to be added or changed. I also don't know how to save the fstab after modification.

(the problem being the drives are not automatically mounting)
 
Old 05-06-2007, 08:44 PM   #2
jdmcdaniel3
Member
 
Registered: Jan 2006
Location: Austin
Distribution: openSUSE 11.2
Posts: 167

Rep: Reputation: 31
Lightbulb

If we can assume your usb drive is formatted as FAT or FAT32 you can add the following line to /etc/fstab

/dev/sdc1 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0

You would use the drive designation as your usb drive comes up depending on the usb plug you use and other drives in your system. In my test case, the usb drive came up as "sdc1", but you must use the right one for your drive.

You need to create a folder location to map the drive. If you have a Windows folder already, you could add a folder called "D" or anything you like. This is where the usb drive will appear when it is mounted. The folder must exist before you can map a drive to it.

To edit fstab, start a terminal session and enter "su" and the root password. Type in the following command:

vi /etc/fstab

Press the Insert key and go to the end of the file and enter the above line as shown with your drive designation and correct mapping folder name. When done adding in the line press the escape key and enter the following command:

:wq

You would need to exit the terminal mode and restart your computer leaving the usb drive connection and it will be mapped for you at startup.

Thank You,
 
Old 05-06-2007, 11:12 PM   #3
gawdin
LQ Newbie
 
Registered: Mar 2007
Location: Ohio, United States of America
Distribution: Suse Linux Enterprise 10 server and desktop; Suse Linux 10
Posts: 23

Original Poster
Rep: Reputation: 15
Thank you for your help in the matter
 
Old 05-07-2007, 07:44 AM   #4
ahmadof
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
Hi,

I'm using Suse 10.2 , and I have a problem regarding my external firewire hard drive. For some reason, despite being hotpluggable, it is not automatically mounted. I believe HAL/DBUS does the mounting. How do I get it to mount my external drive?

As a temporary measure, I am mounting it manually, but it is tricky. Every time I restart the computer, it gets assigned a different block device node (sdc , sdh , sdg). I understand I can mount by label or uuid, but I don't have a clue how to do it. Can anyone 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
problems with fstab and mounting BlackShadowWolf Fedora 3 03-10-2005 11:09 AM
fstab mounting subaruwrx Linux - Newbie 5 10-25-2004 07:36 AM
Mounting with /etc/fstab cpp Linux - General 4 04-09-2004 03:28 PM
fstab mounting Roy-Svork Linux - General 2 06-13-2003 11:34 AM
SMB mounting with /etc/fstab greenhornet Linux - Networking 2 01-15-2003 03:37 AM

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

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