this post was submitted on 29 May 2024
20 points (95.5% liked)

Linux

48310 readers
840 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm trying to mount one of my SSDs on my systems but it gives me this error when trying to mount from File System: "Failed to mount "New Volume" - No object for D-Bus interface." If I go into Gparted and check the description of the device in question it gives me this: $MFTMirr does not match $MFT (record 3). Failed to mount '/dev/nvme0n1p2': Input/output error NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE! The usage of the /f parameter is very IMPORTANT! No modification was made to NTFS by this software.

Failed to open '/dev/nvme0n1p2'.

$MFTMirr does not match $MFT (record 3). Failed to mount '/dev/nvme0n1p2': Input/output error NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE! The usage of the /f parameter is very IMPORTANT! No modification was made to NTFS by this software.

Unable to read the contents of this file system! Because of this some operations may be unavailable. The cause might be a missing software package. The following list of software packages is required for ntfs file system support: ntfs-3g / ntfsprogs.

If I run fsck -l in the terminal It returns this:

fsck from util-linux 2.40.1 e2fsck 1.47.0 (5-Feb-2023) ext2fs_open2: Bad magic number in super-block fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/nvme0n1

The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> or e2fsck -b 32768 <device>

/dev/nvme0n1 contains DOS/MBR boot sector MS-MBR Windows 7 english at offset 0x163 "Invalid partition table" at offset 0x17b "Error loading operating system" at offset 0x19a "Missing operating system"; partition 1 : ID=0xee, start-CHS (0x0,0,2), end-CHS (0x30,254,63), startsector 1, 4294967295 sectors' data

Any advice? Thanks in advance.

Edit: I have since solved this issue with the help of @d3Xt3r@lemmy.nz. For anyone having a similar problem, the comment thread that led to the eventual solution is down below.

you are viewing a single comment's thread
view the rest of the comments
[–] bloodfart@lemmy.ml 5 points 5 months ago (1 children)

Stop trying to fsck a ntfs files system. Boot into windows and run chkdsk /f then reboot windows twice, like the program and the other person said.

Do you have ntfsprogs installed and can you confirm that the partition has an ntfs file system?

[–] SpiceDealer@lemmy.world 2 points 5 months ago (2 children)

That's the thing: I don't have Windows installed on that SSD. I double checked.

[–] bloodfart@lemmy.ml 2 points 5 months ago

Oh if you are sure it’s an ext file system, point fsck at the backup superblock with -b [block number].

Your fsck error says -b 8193 but id do -b 32768 instead. Just historically I’ve found more backup super blocks there.

[–] krolden@lemmy.ml 1 points 5 months ago (1 children)

So why use NTFS?

Download hirens bootcd or any other live windows image and use that

[–] furikuri@programming.dev 1 points 5 months ago

If it's an external SSD I could see it being useful in order to keep native compatibility with Windows and MacOS (IIRC their other option would be FAT32 but I don't use a Windows machine so who knows)