Automatically mount NTFS partition at boot

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
audiolover
Level 1
Level 1
Posts: 3
Joined: Sat Nov 12, 2011 11:24 am

Automatically mount NTFS partition at boot

Post by audiolover » Sat Nov 12, 2011 11:45 am

Just installed Mint 12 and impressed with the way it "looks and feels".

I have a second harddrive in my pc with several NTFS partitions, I can access them all but they only stay mounted for the active session, after restarting I have to mount them again.
I want them to mount automatically at boot. I installed NTFS-CONFIG but when starting this program it just gives me an error message and nothing more, obviously that is not the option.
Which other utilty is there to change the rights of the partitions?

User avatar
bimsebasse
Level 7
Level 7
Posts: 1700
Joined: Fri Nov 11, 2011 10:21 am
Location: Scandinavia

Re: Automatically mount NTFS partition at boot

Post by bimsebasse » Sat Nov 12, 2011 12:12 pm

The best application for mounting tasks is Storage Device Manager (pysdm).

sudo apt-get install pysdm

or find it in the software manager.
Thank you for this thread. That’s all I can say. You most definitely have made this forum into something special. You clearly know what you are doing, you’ve covered so many bases. Thanks!

audiolover
Level 1
Level 1
Posts: 3
Joined: Sat Nov 12, 2011 11:24 am

Re: Automatically mount NTFS partition at boot

Post by audiolover » Sat Nov 12, 2011 12:26 pm

Thanks, I was looking for that application, I searched for "device-manager" but did not know its full name!

I got NTFS-CONFIG working just 2 minutes ago. The error I got was a common one and the fix is easy as well, I just had to open a console and make a new directory:
sudo mkdir -p /etc/hal/fdi/policy
and "hey presto", it works.

altair4
Level 19
Level 19
Posts: 9715
Joined: Tue Feb 03, 2009 10:27 am

Re: Automatically mount NTFS partition at boot

Post by altair4 » Sat Nov 12, 2011 1:12 pm

Auto mounting an ntfs partition is one of the easiest things to do.

The thing you want to avoid are ntfs-config, pysdm and mountmnanager since they are no longer maintained, make mistakes, and don't recognize partitions by UUID.

[1] Find out how your system sees the partition by running this command:

Code: Select all

sudo blkid -c /dev/null
You'll get back something that looks like this:
/dev/sdc1: LABEL="BACKUP" UUID="66E4DC83E4DC56C1" TYPE="ntfs"
[2] Create a mount point:

Code: Select all

sudo mkdir /media/Backup
[3] Add the following line to /etc/fstab:

Code: Select all

UUID=66E4DC83E4DC56C1 /media/Backup ntfs defaults,nls=utf8,uid=1000,umask=000,windows_names 0 0
[4] If you have mounted the partition manually unmount it.

[5] Run the following command to test for errors and mount the partition if there are none:

Code: Select all

sudo mount -a
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

Post Reply

Return to “Newbie Questions”