Ubuntu This forum is for the discussion of Ubuntu Linux. |
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.
|
 |
12-30-2008, 06:28 AM
|
#1
|
Member
Registered: Aug 2003
Location: Wauconda, Illinois, USA
Distribution: Slackware, OpenSuse, Arch Linux on Pi
Posts: 106
Rep:
|
Hard drives not automounting in Intrepid
How do I get my hard drives to mount on startup?
I tried entering the appropriate lines from /proc/mounts in fstab
Code:
/dev/sdb1 /media/disk-2 vfat rw,nosuid,nodev,uid=1000,fmask=0077,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,flush 0 0
/dev/sda1 /media/disk-3 fuseblk rw,nosuid,nodev,user_id=0,group_id=0,allow_other,blksize=4096 0 0
When I did that, everytime I went to those drives, they gave an error about not having the correct permissions
BTW, disk-3 is a SATA drive
Last edited by ricemark20; 12-31-2008 at 04:35 PM.
|
|
|
12-30-2008, 09:07 AM
|
#2
|
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Rep: 
|
Quote:
Originally Posted by ricemark20
When I did that, everytime I went to those drives, they gave an error about not having the correct permissions
|
What is the output of "mount" after you boot?
Are you trying to mount the drives as root, or as an unprivileged user?
If the latter is true, have you tried adding the "user" or "users" option to the mount options?
What does "dmesg | tail -n 50" show when you try to mount the devices?
|
|
|
12-31-2008, 04:35 PM
|
#3
|
Member
Registered: Aug 2003
Location: Wauconda, Illinois, USA
Distribution: Slackware, OpenSuse, Arch Linux on Pi
Posts: 106
Original Poster
Rep:
|
SOLVED: Hard drives not automounting in Intrepid
Code:
/dev/sdb1 /media/disk-1 vfat rw,uid=1000,fmask=0077,dmask=0077 0 0
/dev/sda1 /media/disk-2 ntfs defaults 0 0
/dev/sdb2 /media/disk-3 ext3 rw,nosuid,nodev,uhelper=hal 0 0
|
|
|
All times are GMT -5. The time now is 05:53 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
|
|