LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mount the disk drives at boot time (https://www.linuxquestions.org/questions/linux-newbie-8/mount-the-disk-drives-at-boot-time-4175420770/)

kedarp 08-07-2012 02:12 AM

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

EricTRA 08-07-2012 02:18 AM

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

kedarp 08-07-2012 02:47 AM

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

AwesomeMachine 08-07-2012 02:57 AM

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.

kedarp 08-15-2012 11:19 PM

Automatically Mount Partitions in Ubuntu


All times are GMT -5. The time now is 06:42 AM.