You are not logged in.

#1 2023-11-12 09:50:09

quellen
Member
From: Italy
Registered: 2014-05-24
Posts: 316

[SOLVED] pcmanfm can't mount NTFS partition

hello,
i have an old hdd with 2 NTFS partitions.

$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5000AAKS-0
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: dos
Disk identifier: 0x336b336a

Dispositivo Avvio     Start      Fine   Settori   Size Id Tipo
/dev/sdb1                63 312725564 312725502 149,1G  7 HPFS/NTFS/exFAT
/dev/sdb2         312727552 313649151    921600   450M 27 Hidden NTFS WinRE
/dev/sdb3         313649152 314568703    919552   449M 27 Hidden NTFS WinRE
/dev/sdb4         314568765 976751999 662183235 315,8G  f W95 Esteso (LBA)
/dev/sdb5         314572800 976750591 662177792 315,8G  7 HPFS/NTFS/exFAT

If  i try to mount sdb1 from pcmafm it works, but if i try to mount sdb5 it says:

Error mounting /dev/sdb5 at /media/Win: wrong fs type, bad option, bad superblock on /dev/sdb5, missing codepage or helper program, or other error

why?

if i try to mount it manually with "sudo mount /dev/sdb5 /tmp/pippo" it works.
i have tried running fsck but it didn't solve the problem.

$ dmesg |grep ntfs
[  132.556449] ntfs3: Max link count 4000
[  132.556452] ntfs3: Enabled Linux POSIX ACLs support
[  132.556452] ntfs3: Read-only LZX/Xpress compression included
[  132.567682] ntfs3: sdb5: It is recommened to use chkdsk.
[  132.623687] ntfs3: sdb5: volume is dirty and "force" flag is not set!
[  729.993101] ntfs3: sdb5: It is recommened to use chkdsk.
[  730.049121] ntfs3: sdb5: volume is dirty and "force" flag is not set!
$ sudo cat /etc/polkit-1/rules.d/00-mount-internal.rules
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" &&
      subject.local && subject.active && subject.isInGroup("storage")))
      {
         return polkit.Result.YES;
      }
});

SOLVED:

sudo ntfsfix -d /dev/sdb5

Last edited by quellen (2023-11-12 10:12:20)


sorry for my bad english

Offline

Board footer

Powered by FluxBB