this post was submitted on 27 Jul 2024
45 points (100.0% liked)

Linux

1259 readers
43 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
 

So I uninstalled Zenless Zone Zero yesterday via Wine, and it seems it just deleted every game, KDE configs, etc.

These weren't really an issue for me, but my old worlds have gone to waste too. Unfortunately, my drive is on ext4, and I haven't used Timeshift cause low storage space. Is there any chance for me to recover back some data?

top 29 comments
sorted by: hot top controversial new old
[–] angel@sopuli.xyz 27 points 3 months ago (1 children)
[–] PrivateNoob@sopuli.xyz 15 points 3 months ago

The AUR wiki never fails to amaze.

[–] boredsquirrel@slrpnk.net 17 points 3 months ago* (last edited 3 months ago) (2 children)

You know Minecraft works natively on Linux? Except if you run the more optimized, faster "Bedrock" version, which for very important Microsoft reasons is Windows-only. Or Android, so people play the android version, lol.


For recovery you can use testdisk. Shutdown the PC as fast as possible. Dont open programs! Dont play games!

On SSDs the data will quickly be overwritten otherwise.

Make a Clonezilla live usb and use that for recovery

[–] PrivateNoob@sopuli.xyz 11 points 3 months ago (1 children)

Well I actually use native Minecraft too, if the Prism Launcher actually creates native instances by default. Luckily I have realised that there is probably a saved version of my world on a cloud storage, but I will def try testdisk out! Thank you.

[–] boredsquirrel@slrpnk.net 3 points 3 months ago

I hope your PC is off. Dont use it. Otherwise that data is gone.

[–] dukatos@lemm.ee 7 points 3 months ago (3 children)

Bedrock also runs under Linux. At least, it did 6 months ago, when I tried...

[–] boredsquirrel@slrpnk.net 4 points 3 months ago* (last edited 3 months ago) (1 children)

Interesting didnt know that.

Wait, or is this the mobile version which runs through an Android container? Emulator?

[–] dukatos@lemm.ee 2 points 3 months ago (1 children)
[–] boredsquirrel@slrpnk.net 2 points 3 months ago (1 children)

So not native on Linux. Is the Android version even usable?

[–] dukatos@lemm.ee 1 points 3 months ago (1 children)

I managed to connect to a local server and play a while. I gave up quickly because lack of languages, already present in Java version.

[–] boredsquirrel@slrpnk.net 4 points 3 months ago

No fun without pirate speak!

[–] boredsquirrel@slrpnk.net 3 points 3 months ago

How is it today? I find it crazy that not even the most rewarding game of the world couldnt be fully rewritten in a faster language.

[–] palordrolap@kbin.run 2 points 3 months ago (1 children)

It was (and may still be) possible to make an older version of Pocket Edition run on Linux through unofficial shenanigans, but the official launcher says "Not playable on this device".

minecraft.net also explicitly says: "Minecraft: Java Edition runs on Windows, Mac, and Linux; Minecraft: Bedrock Edition runs on Windows. Deluxe Collection content only runs on Minecraft: Bedrock Edition on Windows."

Other unofficial shenanigans that may or may not work include but are not limited to: Running under a VM, running under something like Wine.

So, yes, technically it runs, but Microsoft are pretty clear that it's not supposed to.

[–] boredsquirrel@slrpnk.net 2 points 3 months ago (1 children)

Well I guess they needed to do at least one shit apart from locking accounts and requiring to be in their hellscape?

Btw, trying to get the sky dimension running, the official minecraft launcher is the only one creating .rar and .json for the version.

[–] palordrolap@kbin.run 1 points 3 months ago (1 children)

Do you mean the Aether mod that recently got updated or something else?

Installing mods to Java Minecraft can be a chore regardless of the ecosystem. And usually it's a third party mod loader that adds a new version to the default launcher config, not something provided by Mojang.

That said, Aether is a Forge mod and I haven't used Forge in a few years at this point, so maybe things are different now, or I'm only remembering the way that the rival Fabric ecosystem works instead.

[–] boredsquirrel@slrpnk.net 1 points 3 months ago

No the real sky dimension, which was hidden from beta 1.6 to 1.9 but not activated.

I used the beta 1.6 for a while but it is so old....

I used a spider spawner to get strings, to make wool, to make a bed.

The only mobs were chickens, which just dropped useless feathers.

[–] Kerb@discuss.tchncs.de 11 points 3 months ago

hold on,
did it only delete the programms gone too?

open your home folder and set the option to show hidden files.
if there is a .minecraft folder check the saves folder inside that.

[–] Kerb@discuss.tchncs.de 8 points 3 months ago (1 children)

is it not in the trashbin?

i have used photorec to resore deleted files on several occasions.
but i dont think there is a filetype for minecraft worlds available

[–] PrivateNoob@sopuli.xyz 2 points 3 months ago

Well it definitely isn't in the trashbin, and nowhere in the filesystem since I've done a find cmd search on all the directories, and also checked the .minecraft folder's saves, but thank you for the idea tho!

[–] FQQD@lemmy.ohaa.xyz 4 points 3 months ago

I've heard of "Disk Driller" but I have no idea how sletchy it is or if it'd work

[–] SnowBlind2005@social.vivaldi.net 4 points 3 months ago (1 children)

@PrivateNoob

testdisk and photorec.

I did a similar boneheaded move by rm -rfing my Minecraft server directory.

Depending on how much free space is on the drive and how much data as been over written will depend on how much of the world files you recover. High probability it's gone.

The thing that saved my server world files was I had Dynmap plugin installed. Dynmap is a world mapping plugin that creates hundreds of thousands of png/jpg files. This caused a delay in the rm command and that made me realize what was happening and stop the process. The damage was already done though.

[–] PrivateNoob@sopuli.xyz 2 points 3 months ago

Oh roger that I'm gonna try out these then. Well if I'm right, then I might have saved a version of my world on a cloud storage, but I have never needed to do data recovery on Linux yet.

[–] possiblylinux127@lemmy.zip 3 points 3 months ago* (last edited 3 months ago) (2 children)

Use bottles as it has sandboxing. Alternatively you could manually setup bubblewrap with a wine environment.

[–] vrighter@discuss.tchncs.de 7 points 3 months ago (1 children)

this will not help op in any way with what they need. Which is to recover data already lost.

So in other words, thank you, Captain Hindsight!

[–] possiblylinux127@lemmy.zip 3 points 3 months ago

I meant this as a suggestion going forward

[–] PrivateNoob@sopuli.xyz 1 points 3 months ago (1 children)

Oh I haven't heard of bubblewrap before. What's that?

[–] possiblylinux127@lemmy.zip 2 points 3 months ago (1 children)

It is a sandboxing program that isolates programs from the system. It is what Flatpak uses behind the scenes

[–] PrivateNoob@sopuli.xyz 1 points 3 months ago

Ahh so that is the main tech Bottles and Flatpak uses then, right? Good to know.