this post was submitted on 08 Nov 2023
44 points (90.7% liked)

Linux

48003 readers
892 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
44
submitted 1 year ago* (last edited 1 year ago) by bec@lemmy.ml to c/linux@lemmy.ml
 

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
[–] SomethingBurger@jlai.lu 23 points 1 year 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).

[–] bec@lemmy.ml 10 points 1 year ago (22 children)

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

[–] FalseDiamond@sh.itjust.works 3 points 1 year 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)