linux

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

palordrolap, in can you chkdsk from a windows vm?

Tentatively yes.

I did once manage to mount an external USB NTFS drive to a VirtualBox-hosted copy of Windows 7 and was actually able to defrag it. I assume I also ran a quick disk check before that, but it was a long time ago now.

Before I did it, I backed up everything important off the drive to another location just in case. I'd recommend you do the same.

As to how I did it, I'm afraid I don't remember, but it can't have been that difficult. There may have been some kind of raw mount option in the virtualisation software.

The other potential obstacle is the fact that things have moved on since I did it. Newer Windows / NTFS might be not be as easy to fool into accepting a drive over weird virtualisation pathways. Or the virtualisation software might not allow it as easily or at all.

Hopefully that's not the case.

node815, in Ubuntu is my daily driver but I'm thinking of setting this up on my never used Raspberry PI -- anyone using it? How tough do you think it will be as a first project?

Brings back memories of running “The Upper Room BBS” and “007 BBS” as a teenager in the late 80’s as a SYSOP. Those were fond memories, of having someone dial into your computer and making online friends from across the country sometimes.

I think now though, you can just Telnet into different BBS’s still.

www.telnetbbsguide.com/bbs/list/brief/

wowwoweowza,

This looks amazing! Thank you.

melroy, in Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?
@melroy@kbin.melroy.org avatar

Sure. Just restore my proxmox vm backup. I got it running again in to time if needed.

melroy, in New systemd update will bring Windows’ infamous Blue Screen of Death to Linux | Ars Technica
@melroy@kbin.melroy.org avatar

What?? No no.. Please no.

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

I will absolutely not use an electron terminal.

aard, in Why I need extra kernel modules to be able to run Wayland on nvidia?
@aard@kyu.de avatar

Almost a decade ago there was a discussion how to draw into display buffers for Wayland. Everybody agreed on using Mesa GBM, nvidia wasn’t really interested, but said they’d do EGLstreams.

As nvidia wasn’t interested, and generally is a dick to everybody anyway Wayland development just progressed ignoring nvidia, and now they have to catch up to where all the other graphics driver were at already years ago. While ignoring most of the things those others learned, because they want to keep their own tiny proprietary island.

Just avoid supporting nvidias dickish behaviour by not giving them money, and eventually they might learn and change.

Samueru, in What are the differences between linux distributions?

Fedora ships Btrfs and Zram by default.

bionicjoey, in Is there a way to autocomplete user defined search terms in firefox search

This is one of the features in chrome that I wish Firefox would implement.

majestic, (edited ) in Is there a way to autocomplete user defined search terms in firefox search

You could try system wide macros. If you type @l, macro deletes last 2 chars and types lemmy

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

Depends on specific machine setup and how good the backup is.

Backup requirements for /usr there are sticky bits set on some binaries. That needs to be preserved. In all cases soft links likely need to be preserved for things to work correctly on future package installs. Hard links can be problematic, but if you have a large enough drive or not that many it wont matter. Running package verification can be help after restore to make sure everything looks right. If running a Linux system with SELinux in enforcing mode (RHEL on many derivatives), then the security context will also need to be preserved BUT running a relabel will probably work if the security context was not included in backups. Sometimes running the relabel process wont work if there are files that needs a specific security context but are not listed in the security context database. Can’t provide more details because most of my experience with that is on systems we just replace (LSPP custom labeling resulted in systems that if you booted into permissive would then be unbootable, so they were just reinstalled once any debugging was done).

For /boot things can get tricky depending on the distribution, what boot manager is used, and /boot was a separate partition or not. Basically the boot manager (probably grub) needs to know how to find the files in boot so it can load the kernel. In most cases if you restore /boot and rerun the tools to update the boot manger everything will be fine. BUT some distributions, hardware setups, or dual boot configurations are more complicated, so extra work might be needed.

You didn’t mention /dev, which is all special files. These don’t need to be restored, just make sure the right processes recreate them. There are tools to do this, hopefully the packages are installed. Or boot from a rescue disk and fix it. Look up instruction for your specific distro.

h2anomaly, in Vote on the new KDE Plasma 6 Logo

Triangles i think

heygooberman, (edited ) in My first year using Linux: My experience
@heygooberman@lemmy.today avatar

I made the switch to Linux about 1.5 years ago. Never looked back. I started with Linux Mint and have been happy with it ever since. Now, I’m learning about Arch Linux and trying to make that my primary driver.

FYI, you don’t have to get a Steam Deck to try out gaming. I’m sure your current distro would support that quite well. But, if you’re looking for something that is portable, then I definitely recommend the Steam Deck. Now is a good time to get one, since they released a refresh with an OLED screen. Also, the Steam Deck runs on Arch Linux, so if you’re ever interested in checking that out, then definitely get a Steam Deck.

0x4E4F,

Try Void. I was aiming at Arch as well, but then I stumbled upon Void… never made the switch to Arch.

jameskirk,
@jameskirk@startrek.website avatar

What’s good about Void?

0x4E4F, (edited )
  • It doesn’t use systemd, it uses runit.
  • The repo is full of any software you might need, including proprietary (through xbps-src).
  • Everything just works, if it doesn’t it’s probably your fault.
  • It’s a rolling release distro, yet focused on stability and usabilty, so you won’t get the latest and greates, but instead builds that are known to be solid. For example the kernel, it’s not the latest, as is with Arch, but it’s maybe one or two minor versions behin. The same applies to software, they’re known to jump versions if the current build proves to be unstable.
  • Lightning fast boot up. It’s also the fastest distro there is, apart from the *BSDs.
  • Compiling and testing is a breeze thanks to xbps-src.
  • A lot of tools and scripts that make building templates for software not in the repo very easy.
  • Supports a lot of architectures. NetBSD is the only other POSIX OS that supports more architectures than Void.

There are other things, I’m sure, but these are the ones I can think of ATM.

vrighter,

it’s pretty much just arch without systemd then. which is enough of a dealbreaker for me, as I think that systemd is the best thing to happen to linux since sliced bread.

MonkderZweite,

it’s pretty much just arch without systemd then.

No, that’s Artix.

0x4E4F,

No, it’s not Arch without systemd. Arch breaks a lot more than Void does. Ask Void users when was the last time a Void update broke their system. I use it as a daily driver, plus for a lot of other things (at work and home) that are considered mission critical. I would never use Arch for that. Also, it’s faster than Arch, it supports A LOT more architectures than Arch does… or any other Linux distro for that matter (LFS excluded).

Cwilliams,

Personally, I’ve never had an Arch update break my system. But it’s probably only a matter of time

MonkderZweite, (edited )

Everything just works, if it doesn’t it’s probably your fault.

Not even console locale did on my notebook, have to fix that setup sometime. And the installer is pretty barebones and a bit buggy.

Supports a lot of architectures. NetBSD is the only other POSIX OS that supports more architectures than Void.

Nononono, there are only two POSIX certified linux distros: K-UX and Huawey’s EulerOS.

0x4E4F,

Not even console locale did on my notebook, have to fix that setup sometime.

What exactly did you do that you couldn’t change your locale? You do know that you have to reconfigure glibc-locales afterwards.

And the installer is pretty barebones and a bit buggy.

What exactly is buggy about the installer?

Nononono, there are only two POSIX certified linux distros: K-UX and Huawey’s EulerOS.

POSIX certification costs money. There are a lot of distros and OSes that are POSIX compatibe, just not certified.

MonkderZweite,

You do know that you have to reconfigure glibc-locales afterwards.

Oh, i did? Thanks anyways!

What exactly is buggy about the installer?

I had to work around it so that it doesn’t send me to (disk? network? not sure anymore) setup again and again.

0x4E4F,

I had to work around it so that it doesn’t send me to (disk? network? not sure anymore) setup again and again.

Never happened to me. How long ago was this?

MonkderZweite,

A month or so. Maybe i should reflash again.

0x4E4F, (edited )

You should also probably try and see if the same thing happens in a VM. The flash drive might be failing and I don’t think Void does CRC checks of files when copying them… definitely not when funning them, like the installer for example.

EDIT: I remember the installer bringing me back to the partitioning setup, but that’s because I partition manually, not through the Void installer, so the installer thinks that that step is skipped. No worries though, just go to the end of the installer setup and continue with the provided settings. If an adequate target partition has been set, it will install Void.

uis,
@uis@lemmy.world avatar

Supports a lot of architectures.

I can only see x86 and ARM though. Where MIPS? PPC32BE? And I’m not even asking for some obscure architectures like SuperH.

0x4E4F, (edited )

Do you know any other distro that’s not LFS or Gentoo that still supports x86? I said a lot, not everything. Most distros don’t support anything below 64-bits.

A fork supported PPC up until a while ago. That project halted though. There was a new spin on it, can’t remember the distro’s name though.

xbps-src can cross compile for MIPS. There are no packages in the repo for MIPS though.

uis, (edited )
@uis@lemmy.world avatar

Do you know any other distro that’s not LFS or Gentoo that still supports x86?

You guessed it:

https://derpicdn.net/img/view/2020/9/24/2451747.png

But also OpenWRT.

Most distros don’t support anything below 64-bits.

How to they even support early raspis?

0x4E4F,

But also OpenWRT.

Oh, come on 🤦.

uis,
@uis@lemmy.world avatar

What? I have it on my MIPS router.

0x4E4F,

I meant as in a real OS, not a stripped down version meant to run as firmware.

uis,
@uis@lemmy.world avatar

Not that stripped down. AFAIK you can even install X server and GUI on it.

0x4E4F,

Damn, you’re more persitent than me hagling 😂.

nexussapphire,

Especially since MacBook don’t come with Nvidia cards. Still frustrated with dual booting windows whenever the drivers brake for gaming.

kbal, in New systemd update will bring Windows’ infamous Blue Screen of Death to Linux | Ars Technica
@kbal@fedia.io avatar

As people have said in some of the many, many other threads on this subject, if they really wanted to copy someone else's style of full-screen error message they'd have done much better to go with "Guru Meditation"

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

At last, the Year of the Linux Desktop.

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

Not until I can have my pretty screensavers. Yes, I care. When my laptops are on battery they don’t need to S3 sleep, nor s0idle. They just show pretty animations that prompt for a password and let me in, without waiting ten years for it to wake up from its slumber

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