Automount Windows partition on MX21 32bits  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
SideTips
Posts: 40
Joined: Wed Nov 11, 2020 4:49 am

Automount Windows partition on MX21 32bits

#1 Post 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!

User avatar
dolphin_oracle
Developer
Posts: 22005
Joined: Sun Dec 16, 2007 12:17 pm

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

#2 Post 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.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

MXRobo
Posts: 1818
Joined: Thu Nov 14, 2019 12:09 pm

Re: Automount Windows partition on MX21 32bits

#3 Post 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

User avatar
Arnox
Posts: 499
Joined: Sat Sep 18, 2021 10:50 pm

Re: Automount Windows partition on MX21 32bits

#4 Post 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.

User avatar
davidy
Posts: 818
Joined: Sat Jul 03, 2021 1:59 pm

Re: Automount Windows partition on MX21 32bits

#5 Post 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.
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)

zero privacy = zero security . All MX'd Up
UAP = up above people

Huckleberry Finn

Re: Automount Windows partition on MX21 32bits

#6 Post 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.

SideTips
Posts: 40
Joined: Wed Nov 11, 2020 4:49 am

Re: Automount Windows partition on MX21 32bits

#7 Post 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

Huckleberry Finn

Re: Automount Windows partition on MX21 32bits

#8 Post by Huckleberry Finn »

Glad you solved it. You can (and please) mark the thread by clicking the check-mark icon on post #2 :)

SideTips
Posts: 40
Joined: Wed Nov 11, 2020 4:49 am

Re: Automount Windows partition on MX21 32bits

#9 Post by SideTips »

Thank Mr H. Finn, I it is marked now!

Post Reply

Return to “MX Help”