Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
|
08-07-2012, 02:12 AM
|
#1
|
Member
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Rep:
|
Mount the disk drives at boot time
I want to mount my ntfs disk drives at the boot time in Ubuntu.
The disk drives are /dev/sda5 and /dev/sda6. How can I do it using fstab?
I used the following entry -
/dev/sda5 /media/DriveE ntfs user,noauto,exec,utf8 0 0
-Kedar
|
|
|
08-07-2012, 02:18 AM
|
#2
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
It will not mount at boot time since you indicated the noauto parameter in your fstab file. According to the man page of fstab:
Code:
noauto do not mount when "mount -a" is given (e.g., at boot time)
For more documentation consult the man page for fstab and mount.
Kind regards,
Eric
|
|
1 members found this post helpful.
|
08-07-2012, 02:47 AM
|
#3
|
Member
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Original Poster
Rep:
|
Thanks a lot! I could mount the drive on /mnt/DriveE, but it does not work when I try to
mount it as disk drive in /media, like when I do it from the desktop menu.
Regards,
Kedar
|
|
|
08-07-2012, 02:57 AM
|
#4
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
I think you must use the mount parameters:
auto,user,defaults 0 0
because there is no fsck program for NTFS drives, and the permissions on NTFS require user-level access.
|
|
|
08-15-2012, 11:19 PM
|
#5
|
Member
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Original Poster
Rep:
|
Last edited by kedarp; 08-15-2012 at 11:21 PM.
|
|
|
All times are GMT -5. The time now is 02:26 PM.
|
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
|
|