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

Linux

48003 readers
883 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
[–] kylian0087@lemmy.world 23 points 1 year ago* (last edited 1 year ago) (4 children)

Tip for when you need to use the power button and do a force shutdown. Try the following first Alt+SysRq r>e>i>s>u>b

https://blog.kember.net/posts/2008-04-reisub-the-gentle-linux-restart/

[–] SomethingBurger@jlai.lu 17 points 1 year ago (1 children)

Raising Elephants Is So Utterly Boring

[–] MimicJar@lemmy.world 6 points 1 year ago

I always preferred BUSIER backwards. It's shorter and alliterative., but whatever helps you remember.

[–] turbowafflz@lemmy.world 12 points 1 year ago (1 children)

Annoyingly sysrq is disabled on a lot of distributions by default now, so you often have to manually enable it for this to work

[–] kylian0087@lemmy.world 2 points 1 year ago (1 children)

It is? I never noticed it being disabled honestly.

[–] turbowafflz@lemmy.world 2 points 1 year ago (1 children)

At least arch and opensuse do, I haven't used anything else much lately

[–] kylian0087@lemmy.world 4 points 1 year ago (1 children)

Those are exactly the ones i never noticed sysrq being disabled. I use the resisub quite often on tumblweed. and used to on arch.

[–] ElderWendigo@sh.itjust.works 3 points 1 year ago (1 children)

I've always just dropped down into a different virtual terminal with CTRL+ALT+F#, killed the bad process and/or just rebooted from there. Is that not a thing anymore? I haven't had to do it in so long because of improved stability and not using the DE on my server much, so maybe I'm out of the loop.

[–] SomethingBurger@jlai.lu 6 points 1 year ago

Sometimes it's not possible if everything crashed.

[–] bec@lemmy.ml 3 points 1 year ago

That's very useful, I'll try it next time, thanks for the tip!