You are not logged in.
# ERROR MESSAGE : error mounting/dev/sdb2 ar run/media wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program or other error
### Steps Taken:
1. *Initial Issue:*
- Error mounting /dev/sdb2 at /run/media: "wrong fs type, bad option, bad superblock."
2. *File System Check:*
- Attempted to perform a file system check on /dev/sdb2 using fsck.
bash
sudo fsck /dev/sdb2
3. *NTFS Repair:*
- Attempted to repair the NTFS file system using ntfsfix.
bash
sudo ntfsfix /dev/sdb2
4. *Mounting:*
- Attempted to mount /dev/sdb2 to /mnt.
bash
sudo mount /dev/sdb2 /mnt
5. *Bad Blocks Check:*
- Attempted to check for bad blocks using badblocks.
bash
sudo badblocks -v /dev/sdb2
### System Information:
- *Disk Details:*
- /dev/sda: 240GB (Linux LVM)
- /dev/sdb:
- Partition 1: 512MB (W95 FAT32)
- Partition 2: 165GB (HPFS/NTFS/exFAT)
- Partition 3: 150GB (HPFS/NTFS/exFAT)
- Partition 4: Extended (LBA)
- Logical Partition 5: 150.3GB (HPFS/NTFS/exFAT)
- *Commands Executed:*
- sudo fsck /dev/sdb2
- sudo ntfsfix /dev/sdb2
- sudo mount /dev/sdb2 /mnt
- sudo badblocks -v /dev/sdb2
- *Issues Encountered:*
- File system check (fsck) reported issues with the superblock.
- ntfsfix returned "Refusing to operate on a read-write mounted device."
- Mounting /dev/sdb2 did not show the partition in the file manager, and the issue persisted.
- *Additional Information:*
- Attempted to run badblocks, but it did not show any progress.
### Request for Assistance:
- Seeking help to resolve the mounting issue and address potential file system or disk problems on /dev/sdb2. Any guidance on troubleshooting or data recovery would be appreciated.
- I fear that I might lose my precious data, any help on recovering without the lose of data would be greatfull
Offline
Is the stoarge dying?
When $DEVICE is not mounted:
# smartctl -x /dev/STORAGE_DEVICE<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
A quick sanity check, `uname -r && pacman -Q linux`, replacing linux with the name of the kernel package you use.
Offline
ntfsfix returned "Refusing to operate on a read-write mounted device."
That means the partition was mounted, contradicting the initial error.
Either the filesystem was fixed before or you attempted that on the wrong drive.
For NTFS specifically, https://wiki.archlinux.org/title/NTFS-3 … ilesystems
1. use windows chkdsk - it is the by far most reliable tool for this
2. 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
Also please don't re-narrate the situation, always post the exact I/O you encountered (command you entered and the immediate response of the system)
Offline
hey thanks the replay,
\cause of the problem I try to install some python dependency for pytourch, but as my system is low end pc, it got hang in the midway and I try waiting for hour , no progress so I restarted the system which leads to this error and also I don't use dual boot, my only boot is arch, i recently installed arch, cause windows was so laggy for my system.. and during installation , I have partion a one harddrive divide it into 2 one primary and one as a secondary, and I haven't made any changes to my second harddisk,
can you guide me or provide me a resources to use chdisk without dual boot or without windows,
❯ ntfsfix /dev/sdb2
Mounting volume... Error opening read-only '/dev/sdb2': Permission denied
FAILED
Attempting to correct errors... Error opening read-only '/dev/sdb2': Permission denied
FAILED
Failed to startup volume: Permission denied
Error opening '/dev/sdb2': Read-only file system
Volume is corrupt. You should run chkdsk.
❯ sudo mount /dev/sdb2 /mnt
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
~ ❯
NOTE: after this cmd still the error is presisting and I cannot mount and acces the partition
and also
❯ sudo fsck /dev/sdb3
fsck from util-linux 2.39.3
fsck doesn't provide any useful infomation , just log this **
fsck from util-linux 2.39.3 **
Offline
You need windows in some form, there are some recovery live disk editions that will ship chkdsk
Online
can you guide me or provide me a resources to use chdisk without dual boot or without windows
Why do you have NTFS partitions if you don't have windows? Is this an external drive?
Mounting volume... Error opening read-only '/dev/sdb2': Permission denied
You've have to sudo that.
Mount is denied because the NTFS volume is already exclusively opened.
What is the output of
mountthe FS might be marked open because of a hibernating windows…
Offline