Ask Your Question
1

how do I mount my windows partition in i3?

asked 2019-02-24 15:10:07 -0600

halfblood gravatar image

I can mount my windows partitions(which happen to be NTFS) when I'm in Gnome, though I have to enter my password before I can. I can't do it in i3-gaps which is now my main DE, I just get a "Not authorized to perform operation" prompt.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-02-25 04:55:45 -0600

Mounting of partitions can only happen, when you are root. Gnome asks for your password, because it wants to execute the call as root and needs permission to do so.

i3 does not seem to know this and does not ask for root permissions.

you can mount your parition yourself :

sudo mount /dev/partitionname /home/username/diretorynametomountitto

Sudo will ask for your password and checks if you have rights to be root. In case you did not setup sudo, enter :

$ username:> su

$ root:> mount /dev/partitionname /home/username/diretorynametomountitto

But, it's mounted via root, so you may have to set file permissions on the mounted directory to be able to use it as your user. ( Should be no big issue )

Alternative:

execute "gnome-disks" as your user. Select the parition you wanne mount for yourself. There is a "stop/play" symbol under the partition view on the right hand ( the button is lower left side of that view) . Press it.

Your paritition now gets mounted via GVFS as your user and therefor no addiditional permissions needed. BUT.. everything comes with a but :) , it mounts it under /run/ . The path can be seen and opened in gnome-disks.

You COULD set a symlink from your homedirectory to that location to make it easier to be used. Nautilus and Nemo should recognize it automatically and list it as mounted devices.

edit flag offensive delete link more

Comments

Thank you so much.

halfblood gravatar imagehalfblood ( 2019-03-03 06:48:08 -0600 )edit

Question Tools

Stats

Asked: 2019-02-24 15:10:07 -0600

Seen: 121 times

Last updated: Feb 25 '19