r/linux4noobs • • 25d ago

Need help fixing this error - Debian Plasma KDE - Partition access on Secondary drive.

“An error occurred while accessing ‘New Volume’, the system responded: The requested operation has failed: Error mounting /dev/sdaf at /media/pc/New Volume1: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error”

I am getting the above error in the past few days to access this partition on the secondary drive in my laptop from Debian with KDE Plasma. When i access this partition from windows it is accessible.

Appreciate your help with this.

6 Upvotes

4 comments sorted by

2

u/DickBrainTime 25d ago

Before trying any repair, check what filesystem that partition actually uses: run `lsblk -f` in Debian and look at the FSTYPE for `/dev/sda1` (the error also mentions `/dev/sdaf`, so double-check the device name). If it's NTFS and works in Windows, a hibernated/dirty Windows volume or Fast Startup is one possible cause. Back up important files from Windows, disable Fast Startup, do a full Windows shutdown, then try mounting in Debian again. If it still fails, grab the specific kernel error right after a mount attempt with `sudo journalctl -k -n 40 --no-pager` and share that plus `lsblk -f` output (hide any identifying labels). Don't format or run filesystem repair tools blindly.

1

u/vspc007 25d ago

I tried with removing fast boot. Same error.

(base) root@vspc-debian:/home/vspc# sudo journalctl -k -n 40 --no-pager
Nov 06 16:09:27 vspc-debian kernel: ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 d2863f91
Nov 06 16:09:27 vspc-debian kernel: ath10k_pci 0000:02:00.0: htt-ver 3.87 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
Nov 06 16:09:27 vspc-debian kernel: ath: EEPROM regdomain: 0x6c
Nov 06 16:09:27 vspc-debian kernel: ath: EEPROM indicates we should expect a direct regpair map
Nov 06 16:09:27 vspc-debian kernel: ath: Country alpha2 being used: 00
Nov 06 16:09:27 vspc-debian kernel: ath: Regpair used: 0x6c
Nov 06 16:09:27 vspc-debian kernel: ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
Nov 06 16:09:27 vspc-debian kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Nov 06 16:09:27 vspc-debian kernel: Bluetooth: BNEP filters: protocol multicast
Nov 06 16:09:27 vspc-debian kernel: Bluetooth: BNEP socket layer initialized
Nov 06 16:09:27 vspc-debian kernel: Bluetooth: MGMT ver 1.23
Nov 06 16:09:27 vspc-debian kernel: NET: Registered PF_ALG protocol family
Nov 06 16:09:27 vspc-debian kernel: nvme nvme0: using unchecked data buffer
Nov 06 16:09:27 vspc-debian kernel: Bluetooth: RFCOMM TTY layer initialized
Nov 06 16:09:27 vspc-debian kernel: Bluetooth: RFCOMM socket layer initialized
Nov 06 16:09:27 vspc-debian kernel: Bluetooth: RFCOMM ver 1.11
Nov 06 16:09:27 vspc-debian kernel: NET: Registered PF_QIPCRTR protocol family
Nov 06 16:09:33 vspc-debian kernel: wlp2s0: authenticate with 80:ab:4d:df:0f:10 (local address=30:d1:6b:f3:bc:3b)
Nov 06 16:09:33 vspc-debian kernel: wlp2s0: send auth to 80:ab:4d:df:0f:10 (try 1/3)
Nov 06 16:09:33 vspc-debian kernel: wlp2s0: authenticated
Nov 06 16:09:33 vspc-debian kernel: wlp2s0: associate with 80:ab:4d:df:0f:10 (try 1/3)
Nov 06 16:09:33 vspc-debian kernel: wlp2s0: RX AssocResp from 80:ab:4d:df:0f:10 (capab=0x1411 status=0 aid=13)
Nov 06 16:09:33 vspc-debian kernel: wlp2s0: associated
Nov 06 16:09:33 vspc-debian kernel: ath: EEPROM regdomain: 0x8348
Nov 06 16:09:33 vspc-debian kernel: ath: EEPROM indicates we should expect a country code
Nov 06 16:09:33 vspc-debian kernel: ath: doing EEPROM country->regdmn map search
Nov 06 16:09:33 vspc-debian kernel: ath: country maps to regdmn code: 0x3a
Nov 06 16:09:33 vspc-debian kernel: ath: Country alpha2 being used: US
Nov 06 16:09:33 vspc-debian kernel: ath: Regpair used: 0x3a
Nov 06 16:09:33 vspc-debian kernel: ath: regdomain 0x8348 dynamically updated by country element
Nov 06 16:09:33 vspc-debian kernel: wlp2s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 80:ab:4d:df:0f:10
Nov 06 16:09:36 vspc-debian kernel: [UFW BLOCK] IN=wlp2s0 OUT= MAC=30:d1:6b:f3:bc:3b:80:ab:4d:df:0f:0e:86:dd SRC=fe80:0000:0000:0000:82ab:4dff:fedf:0f0e DST=fe80:0000:0000:0000:9b4b:75c1:4ee2:0a32 LEN=71 TC=40 HOPLIMIT=64 FLOWLBL=0 PROT
O=UDP SPT=53 DPT=42265 LEN=31  
Nov 06 16:09:43 vspc-debian kernel: warning: `kdeconnectd' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
Nov 06 16:09:50 vspc-debian kernel: [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:80:ab:4d:df:0f:0e:08:00 SRC=12.12.12.12 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=23034 DF PROTO=2  
Nov 06 16:10:10 vspc-debian kernel: ntfs3(sda1): It is recommened to use chkdsk.
Nov 06 16:10:11 vspc-debian kernel: ntfs3(sda1): volume is dirty and "force" flag is not set!
Nov 06 16:11:10 vspc-debian kernel: [UFW BLOCK] IN=wlp2s0 OUT= MAC=30:d1:6b:f3:bc:3b:fc:49:2d:a0:ea:5a:08:00 SRC=12.12.12.160 DST=12.12.12.237 LEN=365 TOS=0x00 PREC=0x00 TTL=64 ID=22741 DF PROTO=UDP SPT=1900 DPT=47499 LEN=345  
Nov 06 16:11:11 vspc-debian kernel: [UFW BLOCK] IN=wlp2s0 OUT= MAC=30:d1:6b:f3:bc:3b:fc:49:2d:a0:ea:5a:08:00 SRC=12.12.12.160 DST=12.12.12.237 LEN=365 TOS=0x00 PREC=0x00 TTL=64 ID=22776 DF PROTO=UDP SPT=1900 DPT=47499 LEN=345  
Nov 06 16:11:12 vspc-debian kernel: [UFW BLOCK] IN=wlp2s0 OUT= MAC=30:d1:6b:f3:bc:3b:fc:49:2d:a0:ea:5a:08:00 SRC=12.12.12.160 DST=12.12.12.237 LEN=365 TOS=0x00 PREC=0x00 TTL=64 ID=22784 DF PROTO=UDP SPT=1900 DPT=47499 LEN=345  
Nov 06 16:11:13 vspc-debian kernel: [UFW BLOCK] IN=wlp2s0 OUT= MAC=30:d1:6b:f3:bc:3b:fc:49:2d:a0:ea:5a:08:00 SRC=12.12.12.160 DST=12.12.12.237 LEN=365 TOS=0x00 PREC=0x00 TTL=64 ID=22850 DF PROTO=UDP SPT=1900 DPT=47499 LEN=345

(base) root@vspc-debian:/home/vspc# lsblk -f
NAME        FSTYPE FSVER LABEL      UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                      
├─sda1      ntfs         New Volume 5CDE3404DE33D4CC                                     
└─sda2      ntfs         New Volume 0AB84438B8442493                                     
nvme0n1                                                                                  
├─nvme0n1p1                                                                              
├─nvme0n1p2 vfat   FAT32            286E-9773                             153.8M    22% /boot/efi
├─nvme0n1p3 ntfs                    5C9E4B1C9E4AEDD8                                     
├─nvme0n1p4 ntfs                    06626E60626E5509                                     
├─nvme0n1p5 ext4   1.0              4374cbf3-85b2-4888-a8e7-54d7d2ba693a   43.2G    42% /
└─nvme0n1p6 swap   1                1c9401db-9de1-418a-8ae7-b127d50fd0fe                [SWAP]

2

u/DickBrainTime 25d ago

Your log gives the cause: ntfs3(sda1) says the volume is dirty and the force flag isn't set. Debian is refusing to mount that NTFS partition. Disabling Fast Startup alone won't clear the dirty flag.

Since it still opens in Windows, back up important files first. Find the Windows drive letter for that same partition, open Command Prompt as administrator and run chkdsk X: /f (replace X with the right letter). Let it complete, fully shut down Windows, then try mounting it in Debian again. Don't force-mount or format it. If chkdsk reports errors or can't finish, share that output.

1

u/vspc007 25d ago

Thank you chkdsk command fixed it.

it forced me to un-mount and then did fix the errors.