this post was submitted on 08 Nov 2023
43 points (92.2% liked)

Linux

47356 readers
1090 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
43
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

I was playing a game, alt-tabbing froze my system so I waited a bit and then rebooted by using the button on the case, since I couldn't do differently.

It now throws an error when mounting a drive: error mounting /dev/sdb1 at /media/user/local disk 1: unknown error when mounting (udisks-error-quark, 0)

This drive doesn't have anything I was using on it, since it's a media storage drive. I booted up Windows on my second drive and it can see and access this one without problems. How to fix?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 10 months ago (24 children)

What filesystem is on the disk? If it's NTFS, you'll need to fix it on Windows (right click, Properties, Tools, Check).

[–] [email protected] 10 points 10 months ago (22 children)

It worked, thanks a lot! What would be the Linux alternative to do that?

[–] [email protected] 3 points 10 months ago

If it's just the dirty flag (it was uncleanly unmounted) you can try

ntfsfix -d /dev/sdc1

Still probably better to boot into Windows and let it deal with it (ntfs tools are still reverse engineered stuff after all), and check journalctl before doing it, but it works in a pinch.

load more comments (21 replies)
load more comments (22 replies)