NTFS Configuration Tool [Solved]

Archived topics about LMDE 1 and LMDE 2
Locked
wowjustwow

NTFS Configuration Tool [Solved]

Post by wowjustwow »

I have 3 NTFS partitions on my hard drive: Windows, boot, and a storage partition. I'm using ntfs-config so they mount in LMDE at boot. I would prefer to only have the storage partition mount as I have no need to use the Windows or boot partition from within Mint. I can't figure out how to set ntfs-config so only the one partition mounts.

I know that I've done this before, it's just eluding me now. It's a minor issue, but I'd like to get it fixed. Does anyone have any ideas or a better tool/method to use?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
altair4
Level 20
Level 20
Posts: 11458
Joined: Tue Feb 03, 2009 10:27 am

Re: NTFS Configuration Tool

Post by altair4 »

I don't use any tools I edit fstab directly using a template. To answer your question though just go into /etc/fstab and comment out the line ( by placing a # in front of it ) that references the 2 partitions that you don't want to automount.

You will still be able to mount them manually by going into Nautilus however. If you want to remove even that possibility then add the parameter "noauto" to the list. For example, I think ntfs-config does something like this:
UUID=DA9056C19056A3B3 /media/sda1 ntfs defaults,nls=utf8 0 0
Just add "noauto":
UUID=DA9056C19056A3B3 /media/sda1 ntfs defaults,nls=utf8,noauto 0 0
noauto will tell the system not to mount the partition automatically at boot.

After you edit the line, unmount the partition, for example:

Code: Select all

sudo umount /media/sda1
Then run the following command:

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.
wowjustwow

Re: NTFS Configuration Tool [Solved]

Post by wowjustwow »

Thank you. That works perfectly.
Locked

Return to “LMDE Archive”