You are not logged in.

#1 2021-03-20 00:01:13

Pines
Member
Registered: 2021-03-19
Posts: 18

[SOLVED]Cant mount windows partitions on Nemo

I'm getting an error of permission denied when I'm try to access my Windows(/dev/sda6) partition in Nemo.
The same happens with my new ssd (/dev/sdc)I've been using in Windows.
I'ts works fine when I manually mount using the mount command.

Here is the output for "sudo fdisk -l":

Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: SanDisk SDSSDA24
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 879F5C24-A272-48FD-AFF8-8480A3019387

Device         Start       End   Sectors  Size Type
/dev/sda1       2048   1050623   1048576  512M EFI System
/dev/sda2    1050624  17827839  16777216    8G Linux swap
/dev/sda3   17827840 143656959 125829120   60G Linux filesystem
/dev/sda4  143656960 269486079 125829120   60G Linux filesystem
/dev/sda5  269486080 269518847     32768   16M Microsoft reserved
/dev/sda6  269518848 467791313 198272466 94.5G Microsoft basic data
/dev/sda7  467791872 468858879   1067008  521M Windows recovery environment


Disk /dev/sdb: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: ST3000DM008-2DM1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F3042F27-8E9D-48A0-A2FA-49BF1B0D4016

Device          Start        End    Sectors  Size Type
/dev/sdb1      264192 2174132223 2173868032    1T Microsoft basic data
/dev/sdb2  2174134272 5860533134 3686398863  1.7T Microsoft basic data


Disk /dev/sdc: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0D0CB8A6-4801-43CC-942E-04CE96D2CC91

Device         Start       End   Sectors   Size Type
/dev/sdc1         34     32767     32734    16M Microsoft reserved
/dev/sdc2      32768 163872767 163840000  78.1G Microsoft basic data
/dev/sdc3  163872768 468858879 304986112 145.4G Microsoft basic data

Last edited by Pines (2021-03-29 22:20:19)

Offline

#2 2021-03-20 01:52:31

ponyrider
Member
Registered: 2014-11-18
Posts: 112

Re: [SOLVED]Cant mount windows partitions on Nemo

make sure you have the ntfs-3g package installed

Your paste isn't very helpful, it would be better to post the Nemo error log

Offline

#3 2021-03-20 07:42:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,544

Re: [SOLVED]Cant mount windows partitions on Nemo

ponyrider wrote:

make sure you have the ntfs-3g package installed

Pines wrote:

I'ts works fine when I manually mount using the mount command.

ponyrider wrote:

it would be better to post the Nemo error log


Wild guess: you lack one of these?
https://wiki.archlinux.org/index.php/Po … ion_agents

Offline

#4 2021-03-22 21:05:04

Pines
Member
Registered: 2021-03-19
Posts: 18

Re: [SOLVED]Cant mount windows partitions on Nemo

In /usr/share/polkit-1/actions:
I have:
org.nemo.root.policy

In /usr/share/polkit-1/rules.d:
50-default.rules
lightdm.rules
org.gtk.vfs.file-operations.rules
systemd-networkd.rules

And nothing on /usr/share/polkit-1/rules.d

I tried to open any of these drivers, on nemo. After that I ran " journalctl" and there is the result:

Mar 22 17:53:25 arch sudo[21381]: pam_systemd_home(sudo:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.

In fact when I ran "pkaction" there is no "org.freedesktop.home1.service"

Is that the problem? how I add that?

Offline

#5 2021-03-22 22:29:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,544

Re: [SOLVED]Cant mount windows partitions on Nemo

systemd-homed warnings are spam.

ponyrider wrote:

it would be better to post the Nemo error log

And do you run an authentication agent? Which?

Offline

#6 2021-03-22 23:28:33

Pines
Member
Registered: 2021-03-19
Posts: 18

Re: [SOLVED]Cant mount windows partitions on Nemo

seth wrote:

systemd-homed warnings are spam.

ponyrider wrote:

it would be better to post the Nemo error log

And do you run an authentication agent? Which?

I ran nemo on terminal, it opens but don't bind the terminal session with nemo itself, so I don't know how to generate a proper log, it's almost like I'm running "nemo &"

I don't think I'm using an authentication agent. Nemo requires the polkit-gnome, right?  I'm installed these packages but nothing happens, so I'm assuming that I must make some script in the folders mentioned in wiki(?)

Offline

#7 2021-03-22 23:33:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,544

Re: [SOLVED]Cant mount windows partitions on Nemo

The particular agent doesn't matter, but you also need to run it.

ps aux | grep authentication

Edit: nemo probably runs only one process, so if there's already one, calling "nemo" in a terminal will only detect that and then quit.

Last edited by seth (2021-03-22 23:34:15)

Offline

#8 2021-03-23 00:00:13

Pines
Member
Registered: 2021-03-19
Posts: 18

Re: [SOLVED]Cant mount windows partitions on Nemo

seth wrote:

The particular agent doesn't matter, but you also need to run it.

ps aux | grep authentication

the output:

ineps      24942  0.0  0.0   6724  2380 pts/0    S+   20:47   0:00 grep authentication

So let me guess: I'm running no authentication agent

seth wrote:

Edit: nemo probably runs only one process, so if there's already one, calling "nemo" in a terminal will only detect that and then quit.

I closed all nemo windows, all terminals, restarted awesome, then ran nemo, now i'ts binded but shows me nothing, no logs

EDIT: So how I'm add the authentication agent in systemctl? where I find the right service name?

Last edited by Pines (2021-03-23 00:36:03)

Offline

#9 2021-03-23 06:36:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,544

Re: [SOLVED]Cant mount windows partitions on Nemo

You can start it as a user service or to your session scripts

ran nemo, now i'ts binded but shows me nothing, no logs

Also not when trying to mount (sorry, don't use nemo)

Offline

#10 2021-03-23 22:31:48

Pines
Member
Registered: 2021-03-19
Posts: 18

Re: [SOLVED]Cant mount windows partitions on Nemo

I ran "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" and works for the session. But I have to do this always I want to mount these drivers on nemo.
I put this command on /usr/local/sbin/autenticador.sh
Made the unit file: /etc/systemd/system/autenticador.service:

[Unit]
Description=Autenticador polkit Gnome

[Service]
ExecStart=/usr/local/sbin/autenticador.sh

[Install]
WantedBy=default.target

but ist'n working for new sessions. Here is the output for "systemctl status autenticador.service"

● autenticador.service - Autenticador polkit Gnome
     Loaded: loaded (/etc/systemd/system/autenticador.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Tue 2021-03-23 19:05:46 -03; 11min ago
    Process: 346 ExecStart=/usr/local/sbin/autenticador.sh (code=exited, status=203/EXEC)
   Main PID: 346 (code=exited, status=203/EXEC)

Warning: some journal files were not opened due to insufficient permissions.

Offline

#11 2021-03-23 23:12:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,544

Re: [SOLVED]Cant mount windows partitions on Nemo

https://wiki.archlinux.org/index.php/Systemd/User
or
https://wiki.archlinux.org/index.php/Au … nt_startup

I put this command on /usr/local/sbin/autenticador.sh

Pointless and wrong.

Offline

#12 2021-03-29 22:19:33

Pines
Member
Registered: 2021-03-19
Posts: 18

Re: [SOLVED]Cant mount windows partitions on Nemo

I added the command on rc.lua, since I'm using awesome as window manager and worked
thanks for the atention.

Offline

Board footer

Powered by FluxBB