Page 1 of 1

Automount Windows partition on MX21 32bits

Posted: Sun Dec 19, 2021 1:11 pm
by SideTips
Hello

I want to auto mount a windows (NTFS) partition when I boot into MX21. I had MX19.3 before MX21 and I used the "Disk Manager" tool to achieve that goal (perfectly). Now "Disk Manager" is missing from MX21.

So, how can I auto mount windows partitions on MX21?

Thank you!

Re: Automount Windows partition on MX21 32bits  [Solved]

Posted: Sun Dec 19, 2021 1:48 pm
by dolphin_oracle
there is a "test" version of disk-manager in our "test" repo. we are in the middle of updating it, but it should work for what you are doing.

Re: Automount Windows partition on MX21 32bits

Posted: Sun Dec 19, 2021 2:53 pm
by MXRobo
Maybe use the relevant parts from this link:
https://www.linuxliteos.com/forums/tuto ... partition/

But I don't think you want to use gksu, maybe thunar>right-click>open as root thunar, or edit as root, or sudo featherpad /etc/fstab.
Maybe add noatime in fstab.

Note: If you're using this for another purpose, i.e. the original purpose - How To Create and Use a Separate Data Partition,
you can follow these instructions, but you dont' have to... as all or most (maybe not this part "sudo chown -R yourusername: /mnt/DATA")
of this can be done with thunar, creating the folders, creating the symlinks, and C/P or dragging the sysmlinks to your home folder.
HTH

Re: Automount Windows partition on MX21 32bits

Posted: Sun Dec 19, 2021 3:33 pm
by Arnox
Until disk-manager gets out of the test repo, I would suggest just going the usual Linux route and editing the fstab file. Get the GUID of the device and then the partition code (sda1, etc.) and then make an entry in the fstab file with the relevant information and your preferred mounting options. Look up a guide on fstab on how to do this as I'm a little fuzzy on the details of how to do so properly.

Re: Automount Windows partition on MX21 32bits

Posted: Sun Dec 19, 2021 3:58 pm
by davidy
I went through the same thing myself. Ended up installing "gnome-disk-utility". Open gnome-disks, highlight drive, click the gear icon below to open 'edit mount options', check box for 'mount at system startup'. The pre-installed 'Disk Manager' lets you mount it but has no option for startup mount for some odd reason but does require your password unlike gnome disk utility.
Btw, I see disk manager in stable repo, not the test.

Re: Automount Windows partition on MX21 32bits

Posted: Sun Dec 19, 2021 4:14 pm
by Huckleberry Finn

Code: Select all

lsblk -f

Code: Select all

sudo -E geany /etc/fstab

Code: Select all

UUID=8FD4820159079F62	/media/Data	ntfs-3g	  defaults,uid=1000,gid=1000,dmask=022	0  0
(Paste to bottom, change the uuid number to yours, save, close.)

Code: Select all

sudo update-initramfs -uk all
Reboot.

Re: Automount Windows partition on MX21 32bits

Posted: Sun Dec 19, 2021 4:23 pm
by SideTips
Hi

I thank all of you for your prompt help. I went for the easy way out, it was given in the first reply by Dolphin Oracle. And it gets the job done.

Problem solved!

Best regards

Re: Automount Windows partition on MX21 32bits

Posted: Sun Dec 19, 2021 4:39 pm
by Huckleberry Finn
Glad you solved it. You can (and please) mark the thread by clicking the check-mark icon on post #2 :)

Re: Automount Windows partition on MX21 32bits

Posted: Sun Dec 19, 2021 7:21 pm
by SideTips
Thank Mr H. Finn, I it is marked now!