LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-07-2012, 02:12 AM   #1
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
Lightbulb 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
 
Old 08-07-2012, 02:18 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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.
Old 08-07-2012, 02:47 AM   #3
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198

Original Poster
Blog Entries: 3

Rep: Reputation: 23
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
 
Old 08-07-2012, 02:57 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
Old 08-15-2012, 11:19 PM   #5
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198

Original Poster
Blog Entries: 3

Rep: Reputation: 23
Automatically Mount Partitions in Ubuntu

Last edited by kedarp; 08-15-2012 at 11:21 PM.
 
  


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
how to mount all the other drives during boot permanently.... kmr.ndrsh Sabayon 3 04-24-2011 03:40 AM
Mount,Computer location error and will not mount any drives but boot! tysonmax20042003 Linux - General 1 09-08-2009 05:59 PM
Disk Drives Won't Mount VerdantLightning Linux - Hardware 4 08-15-2007 11:02 AM
RAID drives won't mount at boot time dsp444 Slackware 5 01-23-2005 12:43 AM
im new and i need help (mount slave drives on boot) madcow007 Linux - Newbie 9 03-13-2002 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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