LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-03-2009, 07:10 PM   #1
Ragnarok Warrior
Member
 
Registered: Nov 2005
Location: Bangor, ME
Distribution: Linux Mint, Puppy Linux, DSL
Posts: 34

Rep: Reputation: 15
Automount partition at boot


I'm sure this question has been asked (and answered) a thousand times before, but my searches come up nil. I need my storage partition to be mounted at boot, with user read/write permissions. The storage partition is hda5.

fstab:

# Pluggable devices are handled by uDev, they are not in fstab
/dev/hda1 / ext3 defaults,noatime 1 1
/dev/hda6 swap swap sw,pri=1 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
# Dynamic entries below
/dev/hda5 /mnt/hda5 ntfs-3g noauto,users,gid=users,dmask=002,fmask=113,relatime 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdb /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
 
Old 04-03-2009, 08:33 PM   #2
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 369

Rep: Reputation: 40
Quote:
# Pluggable devices are handled by uDev, they are not in fstab
/dev/hda1 / ext3 defaults,noatime 1 1
/dev/hda6 swap swap sw,pri=1 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
# Dynamic entries below
/dev/hda5 /mnt/hda5 ntfs-3g noauto,users,gid=users,dmask=002,fmask=113,relatime 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdb /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
You need to remove the "noauto" tag from hda5 line.

Code:
/dev/hda5 /mnt/hda5 ntfs-3g users,gid=users,dmask=002,fmask=113,relatime 0 0

rabbit2345
 
Old 04-04-2009, 04:16 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
The /mnt/hda5 directory also has to exist, it will not be created dynamically. And I normally have my line setup as such:
Code:
/dev/hda5 /mnt/hda5 ntfs-3g defaults 0 0
 
Old 04-06-2009, 05:14 PM   #4
Ragnarok Warrior
Member
 
Registered: Nov 2005
Location: Bangor, ME
Distribution: Linux Mint, Puppy Linux, DSL
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks, I new it would end up being something stupid and intuitive.
 
  


Reply


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
stop automount of XP partition in Fedora 9/GNOME LloydM Fedora 9 06-10-2009 08:10 PM
usb drive: resized partition using gparted, now it won't automount retrovertigo Ubuntu 3 08-27-2008 09:55 AM
automount windows partition in Xandros sailu_mvn Linux - Software 0 12-06-2005 03:13 AM
automount vfat partition with rw access for any user Simon Bridge Red Hat 12 05-26-2005 09:37 AM
automount partition has problem timsch75 Linux - General 3 12-15-2004 06:06 PM


All times are GMT -5. The time now is 08:44 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration