LinuxQuestions.org
Register a domain and help support LQ
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, 03:12 AM   #1
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 197
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, 03: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: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
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, 03:47 AM   #3
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 197
Blog Entries: 3

Original Poster
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, 03:57 AM   #4
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,829

Rep: Reputation: 257Reputation: 257Reputation: 257
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-16-2012, 12:19 AM   #5
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 197
Blog Entries: 3

Original Poster
Rep: Reputation: 23
Automatically Mount Partitions in Ubuntu

Last edited by kedarp; 08-16-2012 at 12:21 AM.
 
  


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


All times are GMT -5. The time now is 12:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration