Hello,
I’m sharing here a solution to an issue found after a fresh install of the OpenMandriva ROME 25.06.
Requirements:
I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata
OpenMandriva Lx version: ROME 25.06
Desktop environment (KDE, LXQT…): KDE Plasma 6.3.4, KDE Frameworks 6.13.0, Dolphin 25.04.0
Kernel version: 6.14.2-desktop-3omv2590 (64-bit)
Description of the issue (screenshots if relevant):
After a fresh install of OpenMandriva ROME, when trying to mount an NTFS partition from Dolphin, I receive the The requested operation has failed: Error mounting /dev/sda6: wrong fs type, bad option, bad superblock on /dev/sda6, missing codepage or helper program, or other error
red message.
Tha same NTFS partition (we can name it DATA) can be mounted with the sudo mount /dev/sda6 /media/user/DATA
and then Dolphin can load in read-only the NTFS folders. Dolphin cannot umount this device and a sudo umount /media/user/DATA
is required.
Relevant informations (hardware involved, software version, logs or output…):
I found a solution that involves the system configuration.
This is happening because there is only a /etc/udisks2/udisks2.conf
in the /etc/udisks2
folder, and there is no /etc/udisks2/mount_options.conf
.
Here below the steps I’ve done.
cd /etc/usidks2
sudo cp mount_options.conf.example mount_options.conf
sudo editor mount_options.conf
At this point uncommented the ntfs lines in the [default]
section:
### Simple global overrides
[defaults]
# common options, applied to any filesystem, always merged with specific filesystem type options
defaults=rw
allow=exec,noexec,nodev,nosuid,atime,noatime,nodiratime,ro,rw,sync,dirsync,noload
### Specific filesystem type options
# vfat_defaults=uid=$UID,gid=$GID,shortname=mixed,utf8=1,showexec,flush
# vfat_allow=uid=$UID,gid=$GID,flush,utf8,shortname,umask,dmask,fmask,codepage,iocharset,usefree,showexec
ntfs_defaults=uid=$UID,gid=$GID,windows_names
ntfs_allow=uid=$UID,gid=$GID,umask,dmask,fmask,locale,norecover,ignore_case,windows_names,compression,nocompression,big_writes
# 'ntfs' signature, definitions for the legacy ntfs kernel driver and the ntfs-3g fuse driver
ntfs:ntfs_defaults=uid=$UID,gid=$GID,windows_names
ntfs:ntfs_allow=uid=$UID,gid=$GID,umask,dmask,fmask,locale,norecover,ignore_case,windows_names,compression,nocompression,big_writes
# 'ntfs' signature, the new 'ntfs3' kernel driver
ntfs:ntfs3_defaults=uid=$UID,gid=$GID
ntfs:ntfs3_allow=uid=$UID,gid=$GID,umask,dmask,fmask,iocharset,discard,nodiscard,sparse,nosparse,hidden,nohidden,sys_immutable,nosys_immutable,showmeta,noshowmeta,prealloc,noprealloc,hide_dot_files,nohide_dot_files,windows_names,nocase,case
# define order of filesystem driver priorities for the actual mount call,
# required definition for non-matching driver names
ntfs_drivers=ntfs3,ntfs
Now Dolphin is able to mount the NTFS partitions by clicking the voice in the left sidebar.
Note: I found this comment very useful.
Hope this can help someone that it’s facing this issue. Especially for the new OpenMandriva users.