You are not logged in.

#1 2022-08-27 16:18:32

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 36
Website

[SOLVED] Dolphin cannot automatically load my NTFS partitions

https://s1.328888.xyz/2022/08/28/GXRCR.png

I tried checking windows fast boot but I have closed it

I tried editing /etc/fstab, but it leads me to emergency mode when booting

I tried https://wiki.archlinux.org/title/NTFS#udisks%20support but not working

I tried https://gist.github.com/Scrumplex/8f528 … 0804adaba7 but not working

Still I need to enter the password everytime I boot NTFS partitions

$ lsblk -f

NAME        FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1                                                                            
|-nvme0n1p1 vfat   FAT32       661A-A5ED                             404.8M    20% /boot
|-nvme0n1p2                                                                        
|-nvme0n1p3 ntfs         C     6C2C218A2C214FFE                                    
|-nvme0n1p4 ext4   1.0         3b702c5e-3e94-4a96-b8b4-958528662b23  108.5G     6% /
`-nvme0n1p5 ntfs         D     86BEFE59BEFE416B
$ cat /etc/fstab

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p4
UUID=3b702c5e-3e94-4a96-b8b4-958528662b23       /               ext4            rw,relatime     0 1

# /dev/nvme0n1p1
UUID=661A-A5ED          /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
#UUID=6C2C218A2C214FFE   /home/firestar/C  ntfs          default,noatime  0 0
#UUID=86BEFE59BEFE416B   /home/firestar/D  ntfs          default,noatime  0 0

The last 2 lines are annotated because if I do not hide them I will go into emergency mode

moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by Firestar (2022-08-29 05:15:14)


Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

#2 2022-08-27 18:39:26

zpg443
Member
Registered: 2016-12-03
Posts: 254

Re: [SOLVED] Dolphin cannot automatically load my NTFS partitions

You could try mounting NTFS drives using a systemd.mount instead of FSTAB.

Something like:

/etc/systemd/system/mnt-vboxfiles.mount

[Unit]
Description=Mount NTFS Windows Shared Drive sda2

[Mount]
What=/dev/disk/by-uuid/03131731344A0F4D
Where=/mnt/vboxfiles
Type=ntfs
Options=defaults

[Install]
WantedBy=multi-user.target

Then, add to Dolphin like any other mounted device.

Last edited by zpg443 (2022-08-27 18:41:08)

Offline

#3 2022-08-28 02:05:53

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 36
Website

Re: [SOLVED] Dolphin cannot automatically load my NTFS partitions

I am looking at systemsettings >> removable storage >> removable devices >> automount device

It seems that I need to add myself to storage group

https://forum.manjaro.org/t/root-tip-ho … evice/1185 @zpg443 maybe you said is this, I will try it later.

Last edited by Firestar (2022-08-29 02:41:08)


Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

#4 2022-08-29 03:33:55

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 36
Website

Re: [SOLVED] Dolphin cannot automatically load my NTFS partitions

I have found the journal which made me into emergency mode

Aug 29 12:03:03 ThinkPad systemd[1]: Found device SAMSUNG MZVL21T0HCLR-00BL7 C.
░░ Subject: A start job for unit dev-nvme0n1p3.device has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit dev-nvme0n1p3.device has finished successfully.
░░ 
░░ The job identifier is 51.
Aug 29 12:03:03 ThinkPad systemd[1]: Mounting /home/firestar/C...
░░ Subject: A start job for unit home-firestar-C.mount has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit home-firestar-C.mount has begun execution.
░░ 
░░ The job identifier is 50.
Aug 29 12:03:03 ThinkPad mount[315]: mount: /home/firestar/C: unknown filesystem type 'ntfs'.
Aug 29 12:03:03 ThinkPad mount[315]:        dmesg(1) may have more information after failed mount system call.
Aug 29 12:03:03 ThinkPad systemd[1]: home-firestar-C.mount: Mount process exited, code=exited, status=32/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An n/a= process belonging to unit home-firestar-C.mount has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 32.
Aug 29 12:03:03 ThinkPad systemd[1]: home-firestar-C.mount: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit home-firestar-C.mount has entered the 'failed' state with result 'exit-code'.
Aug 29 12:03:03 ThinkPad systemd[1]: Failed to mount /home/firestar/C.
░░ Subject: A start job for unit home-firestar-C.mount has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit home-firestar-C.mount has finished with a failure.
░░ 
░░ The job identifier is 50 and the job result is failed.
Aug 29 12:03:03 ThinkPad systemd[1]: Dependency failed for Local File Systems.
░░ Subject: A start job for unit local-fs.target has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit local-fs.target has finished with a failure.

Last edited by Firestar (2022-08-29 04:06:12)


Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

#5 2022-08-29 05:04:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,195
Website

Re: [SOLVED] Dolphin cannot automatically load my NTFS partitions

Don't crosspost: you have a thread about this already.
https://wiki.archlinux.org/title/Genera … ss-posting


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2022-08-29 05:14:37

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 36
Website

Re: [SOLVED] Dolphin cannot automatically load my NTFS partitions

https://wiki.archlinux.org/title/NTFS#udisks_support

https://gist.github.com/Scrumplex/8f528 … 0804adaba7 change `storage` to `wheel` or any group you are in

systemsettings >> removable storage >> removable devices >> automount device

I found that these 3 altogether can solve the problem, but fstab is another problem


Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

Board footer

Powered by FluxBB