You are not logged in.

#1 2014-10-30 00:48:50

jc_eaon
Member
Registered: 2014-10-30
Posts: 2

Failed to mount ntfs data partition with fstab at boot

I've been trying to mount an ntfs (It's shared with Windows) partition at boot by adding it to my fstab but no matter what I do I always get this during the boot sequence

dependancy failed for /mnt/data
dependancy failed for local file system

and then it goes into maintenance mode.

I've tried serveral mount points from /mnt, /mnt/data, /run/media/user/data, etc. and I still get the dependancy failed error (tried it where the data folder does and doesnt exist, same outcome).

I can mount it after boot with

sudo mount -t ntfs-3g /dev/sda3 /mnt/data -o uid=100,gid=100

and everything works fine but I'd like to automate this.

Here are my partitions
http://tinypic.com/r/egobaa/8
(Sorry I didn't see any rules regarding images so I'm not sure if it's prefered to post a link to an image or just upload it directly)

sda3 is the data parition I want to mount.

This is my fstab

# 
# /etc/fstab: static file system information
#
# <file system>		<dir>		<type>	<options>		<dump><pass>

# UUID=56ef19a9-63ff-4ec8-b20c-c00e7939f61f
/dev/sda5           	/boot		ext4		rw,relatime,data=ordered 	0 2

# UUID=ecd275a3-3b34-434c-9953-6ed07619b407
/dev/sda6           	/         	ext4        rw,relatime,data=ordered	0 1

# UUID=45633c6c-c4da-4756-9e68-e5f14401591e
/dev/sda7           	/var      	ext4      	rw,relatime,data=ordered	0 2

# UUID=a4041be4-7ccd-4a0b-bb51-9f63ef312fce
/dev/sda8           	/home   	ext4        rw,relatime,data=ordered	0 2

# UUID=1da1c83c-e165-4056-a973-78c767737be6
/dev/sda9           	none		swap        defaults			 	0 0

# UUID=24DBF82054094238
/dev/sda3		      /mnt/data	ntfs-3g	uid=100,gid=100	            0 0

Yes I have ntfs-3g installed and up to date, I'm using Awesome as a WM if that matters.
I've been reading the wiki for what seems like hours and I can't get this to work, can anybody point me in the right direction?

*Edit: typed sdb3 in the fstab here by mistake, was supposed to be sda3

Last edited by jc_eaon (2014-10-30 01:07:34)

Offline

#2 2014-10-30 01:01:59

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Failed to mount ntfs data partition with fstab at boot

In your manual mount you specify /dev/sda3, but your fstab is trying to mount /dev/sdb3

Offline

#3 2014-10-30 01:05:52

jc_eaon
Member
Registered: 2014-10-30
Posts: 2

Re: Failed to mount ntfs data partition with fstab at boot

Sorry that was a typo error, the format was messed up when I copy pasted it so I just typed it. It is sda3 in my fstab.

Offline

Board footer

Powered by FluxBB