LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-03-2009, 06:10 PM   #1
Ragnarok Warrior
Member
 
Registered: Nov 2005
Location: Bangor, ME
Distribution: Debian,Ubuntu,DSL
Posts: 87

Rep: Reputation: 18
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, 07:33 PM   #2
rabbit2345
Member
 
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378

Rep: Reputation: 41
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, 03:16 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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, 04:14 PM   #4
Ragnarok Warrior
Member
 
Registered: Nov 2005
Location: Bangor, ME
Distribution: Debian,Ubuntu,DSL
Posts: 87

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


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

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

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