linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

chitak166, in Laptop with long runtime

Do you mean battery life?

youngGoku, in New systemd update will bring Windows’ infamous Blue Screen of Death to Linux | Ars Technica

This is a joke, right?

youngGoku,

When the system crashes?

So very rarely I guess.

ardent_abysm,
@ardent_abysm@lemm.ee avatar

It is a real, and useful feature, while also being a joke.

Cralder,

It’s real. A bluescreen is literally just an error message displayed in fullscreen so it’s not as weird as it sounds

virr,

More of it will display the LOG_EMERG message instead of just stopping without displaying anything.

There are some headless servers I’d prefer to just reboot, but unless actual hardware is faulty I would not be too worried about it.

nyan, in What are the differences between linux distributions?

The main difference between Ubuntu and Fedora is the package manager. Most of the rest is just selected default values for configuration and cosmetics, and what helper scripts are or aren’t present on the system. They’re both mainstream distributions aimed at the general user, and they’re shaped by their goals.

To see how different distributions can be, you need to compare the mainstream distributions to stuff that’s decidedly not mainstream, like Gentoo, Alpine, and Nix.

Just as a trivia note: Gentoo does package a couple of other distros’ package managers (app-arch/rpm and app-arch/dpkg), for use in installing otherwise-unavailable commercial binaries, although I suspect app-arch/rpm2targz sees more use than either of them.

majestic,

NixOS, Alpine and Gentoo are also pretty popular, but yeah, Fedora and Ubuntu it is the distros the regular person is associating linux with. Or doesnt know what is linux at all :)

Btw i use NixOS

danielfgom, in An open-source, cross-platform terminal for seamless workflows
@danielfgom@lemmy.world avatar

Too fat and unnecessary. Just use the regular bash shell that comes with your distro.

woelkchen,
@woelkchen@lemmy.world avatar

Bash isn’t a terminal. It’s a shell. You can run Bash within XTerm, Gnome Terminal, Konsole, or even Windows Terminal.

IsoKiero, in Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?

That can be done, but as others mentioned, if you don’t have permissions/other attributes for the files it’s going to be a real PITA to get everything working. If I had to do that I’d just copy over the files, chown everything to root and then use package manager to reinstall everything, but even that will most likely need manual fixes and figuring out what to change and to what value will take quite a bit of time and complexity of it depends heavily on what you had running on the host, specially things under /var.

MentalEdge, in can you chkdsk from a windows vm?
@MentalEdge@sopuli.xyz avatar

I don’t think so, but you should be able to create an install usb, same as for linux, boot into that, and access recovery tools. From there, you can definitely run chkdsk, done it before though I don’t recall every step.

ryonia,
@ryonia@beehaw.org avatar

For those who don’t know, shift+F10 to bring up a command prompt when using a windows install image. Can do it when it starts asking you for stuff. I know the chkdsk tools and manage-bde (the bitlocker cli) are avaliable there at least.

bizdelnick, in Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?

No way, reinstall.

If even file owner is not preserved (it is not always root, espetially in /var), you likely lost files’ extanded attributes an, maybe, also permissions. Without them your system won’t work normally.

Then, contents of these directories must be consistent with other ones. E. g. /var contains a package manager data about packages you installed. If you installed/removed anything after creating a backup, information about this will be lost.

If you created the backup while system was working, some files (espetially under /var, again) could be changed during that process, and this also makes such backup unusable. Every sysadmin knows that to create a database backup by copying files, dbms must be stopped.

In future, think about restoration before planning a backup and test if this possible immediately after it is done.

bertmacho, in Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?

you dont say the o/s but if the pkg manager works, or you can add a statically compiled version, you could force reinstall all pkgs

lemmyvore, in [Video] Red Hat Is About To End Xorg: Is Wayland Ready?

There’s no Red Hat anymore, it was sold to IBM 5 years ago. All their recent shifts in FOSS strategy are a predictable result of that. IBM only cares to streamline RHEL operations not about what’s usable or appropriate for Linux in general.

penquin, in Laptop with long runtime

And I’m out here ecstatic for getting 4 hours on my laptop 😂

oneguynick, in Laptop with long runtime
@oneguynick@lemmy.world avatar

Lenovo x13s Arm setup with Linux is coming along and can hit those runtimes. Will be slower, but good enough for daily work

gomp, (edited ) in Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?

Just reinstall :)

Copying back the files to the right partition/directory works, but if you didn’t backup the owner and permissions for each file it’s gonna be a pain to restore those.

After reinstalling, you can compare your new system with your backup to see what changes/configs you had made

radioactiveradio, (edited ) in What are the differences between linux distributions?

How much snap you have/need. Or the stability I guess, but in my experience that hasn’t been a problem yet.

bruhduh, in Laptop with long runtime
@bruhduh@lemmy.world avatar

Basically any laptop with AMD U series apu with big enough battery will suffice, just set up properly TLP programm after installation

haagch, in Laptop with long runtime

Not the most comfortable but if you get one with usb-c pd charging, there are quite a few powerbanks even with 100+ watt now.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #