Skip to main content Linux Questions
r/linuxquestions icon

r/linuxquestions

324K members
177 online


Looking to Future-Proof Your Business? See How Leaders Embrace Siemens Xcelerator.
Looking to Future-Proof Your Business? See How Leaders Embrace Siemens Xcelerator.



Considering moving entirely to Linux. Looking for answers before making the leap. Considering moving entirely to Linux. Looking for answers before making the leap.
Advice

So I was recently planning on side loading to linux but heard some recent windows made it worst for sideloading. So now I'm planning to completely switching to Linux.

I'm a beginner. So I'm going for Mint.

My pc spec: r5 5600 rx 6700 xt 16 gb ddr4 3200 1tb ssd.

I'm really fed up with Windows performance drops considering a permanent switch to Linux.And the customisation in linux looks cool.

I have some questions that need to be answered so I can switch without any worries. To sum it up it basically comes with gaming.

  1. Can I play games like seige , cs2, pubg. I don't play valorant. 2.Can i sideload games.

  2. Can I run latest AAA games without issues with sideload and also play denovu applied games. 4.Will I be able to use my windows save file for games.

Or should i stay where I am.

QUICK UPDATE just dual booted mint. It seems to work without problem. Actually I had 22h2 version installed which is ok for dual booting. Thank for responding at my mid night ranting. Love u guys.


How does 7z store odd seconds in ZIP files? How does 7z store odd seconds in ZIP files?

The 7z file archival utility can not only produce 7z files, but also some other formats including ZIP.

Normally, the ZIP format only supports a time granularity of two seconds. This means ZIP can only store even seconds (0, 2, 4, 6, 8), while odd seconds have to be rounded. But 7z can nonetheless somehow store odd seconds.

How to reproduce:

touch -m -t 202501010000.00 even.txt
touch -m -t 202501010000.01 odd.txt
7z a test.zip even.txt odd.txt
7z l test.zip

How is this possible?

Note that odd seconds still appear rounded up with lsar -L test.zip.


Looking for cookbooks on how to make my current build an .iso Looking for cookbooks on how to make my current build an .iso

Been using Linux for over 10 years pretty casually as a daily and been using it as my main gaming rig for the last year or so. Looking for a way so that I can skip alot of the basic installs I make when I reflash my current OS. Ie package my current kernal updates, snap/flatpack installs, driver changes, basic apt updates? Don't need to keep any files at all. Not really looking for a backup as I can't transfer that to my other computers. Currently using kubuntu 25.04


So I've been debating on using Linux for my new pc build So I've been debating on using Linux for my new pc build
Advice

So I recently had to build a new computer, long story short, my cat's a dick. Anyway, I took the opportunity to future proof my PC. ( Just for reference Ryzen 7 7800X3D and Radeon 6800 XT) Now, i've got all my parts but I haven't built it yet because now i'm stuck trying to decide if I want to buy windows for the yet again or switch to Linux. So I don't only use it for gaming, I also use it for digital art, music and the occasional video edit. But seeing as i've had to buy windows four times in the past couple years, I don't really want to buy it again, and i've heard recently that windows 11 is having issues with messing up ssds. So my question is, is it worth it to just go ahead and using Linux instead? 🤔 I've never used anything to do with Linux. So i'm a complete beginner with it so I know very little if anything. So are there any pros and cons that I need to be aware of, aside from not everything is linux compatible. I would appreciate any input. Thanks

Edit: all I mean by future proof is making it so I don't have to upgrade anything for a couple years.



Has anyone tried Salad instead of mining? 4090s are pulling $150/month (in rewards) over there...

Mining rates have been terrible lately, so I started looking for other ways to keep my rigs busy instead of letting them sit idle.

I’ve tried platforms like Runpod and Vast ai, but I found them a bit tricky to set up, and from what I’ve heard from other miners, work isn’t always consistent on those sites.

That’s when I came across Salad. I figured I’d give it a shot, and I’ve been pleasantly surprised. The download and setup process was super easy—much simpler than the alternatives. In less than an hour, my 4090 was up and running, and I was earning around $0.20 an hour.

I even took some time to break down price comparisons, and honestly, Salad beats pretty much everything else I’ve tried. Plus, it seems pretty reliable so far. Jobs do come and go, like with any platform, but it’s a solid backup option for my machines when there's no better work available.

Hope this helps some of you out!







Data on Ubuntu Raid. Data on Ubuntu Raid.

Hello,

Ich habe mir aus alter hardware einen homeserver zusammengestellt und betreibe diesen mit ubuntu.
nun habe ich 2 x 2TB HDD´s im RAID um über samba meine Daten ( Bilder, Akten etc.) zu sichern.

nun meine Frage:

wenn ich keine Lust mehr auf Ubuntu habe und doch win 11 nutzen will, kann ich den RAID und die Daten darauf (ebenso wie eine dritte 512 GB M.2 mit den selben Daten) in WIndows übernehmen?
Also wenn ich einfach Win 11 installiere und die Ubuntu installation lösche.


Where should you invest $10,000 right now? We asked four experts.

With the S&P 500 and Bitcoin tearing up the charts, are those red-hot areas the best places to invest $10,000 right now? 

In the latest edition of Where to Invest, one expert Bloomberg asked about timely opportunities counsels going long on the US and AI. Others, however, point to areas of the US and European markets that may offer greater value and the potential for continued momentum in coming months and years. Favored sectors run from defense to industrials to life sciences tools companies and banks. 

When the four wealth advisers were asked where they’d spend $10,000 on a personal interest, ideas stretched from buying whole genome sequencing for the family, to a trip to Australia with loved ones, to following a favorite sports team around the world.

Read the full story here. 

____________________________________________

For more in the series:

  • Where to invest $100,000

  • Where to invest $1 million


Bricked my SSD, need help! Bricked my SSD, need help!

Hello! Im currently travelling and somehow managed to brick my SSD :(

I recently bought a framework 13 amd ryzen, and a 2TB crucial T500 to go along with it. For the past 3 months it’s been working wonderfully.

2 days ago I tried to shut it down after waking it from a longer suspend, systemctl poweroff wasnt working, so I held the power button (silly me).

When restarting it, I was met with a black screen. After a while, it booted to my usb expansion pack which contains an arch linux installation for when I brick my system.

Checking the kernel logs gave me this message: Nvme0 device not ready aborting reset, CSTS=0x1

Which, according to Claude, suggests the ssd is failing to initialize internally due to some error.

I also cant see the block device from my rescue install, fdisk -l or lsblk dont show it.

I also tried doing ’nvme list’ from the rescue usb but nothing luck there either.

However lspci grep nvme returns: non-volatile memory controller: micron/crucial technology t500.

Suggesting that its seen on a hardware level (I think?)

I tried creating a crucial bootable iso with the newest firmware version hoping I could reinstall it and fix it that way, but

  1. The iso drops me into grub cmdline

  2. Following these steps: https://hints.jeb.be/2024/06/27/upgrade-the-firmware-of-crucial-mx500-ssd/

But after running ’boot’ I see ”Trying to terminate EFI services again…” after which it hangs again.

Im close to giving up and just buying a new SSD, which kinda sucks because I shelled out for a top of the line SSD thinking it was gonna give me good performance for a long while, but im out of ideas at this point. Also, why would a force shutdown brick my SSD to the point where it’s essentially unfixable even if Im ok with just reformatting everything?

Can anyone help me fix/troubleshoot this issue?

Btw all of this was on arch.


Installing Ubuntu & removing Windows 10 Installing Ubuntu & removing Windows 10

Hello , I wanna remove windows and Install Ubuntu LTS as only OS .

(I have an USB)

The problem is Whenever I search for a YouTube video that explain HOW to do it step-by-step its always by the Windows 11 and not 10 (IDK if there is big differences or not).

Im still searching for something that can give me a step-by-step to do it .

So if someone got an idea or somewhere to find every thing I have to know to do it , please tell me.



MiniPc attaccato alla Tv MiniPc attaccato alla Tv
Which Distro?

Ciao a tutti,

Vendo minipc, oggi pomeriggio parlando con un amico, mi ha chiesto se ci fosse l’opportunità di usare un minipc sotto alla tv. E io ho detto si, nessun problema.

Lui vorrebbe togliere la firestick di amazon. Mettere un minipc, dove puó avere un’interfaccia grafica per la tv (tipo kodi), dove puó vedere prime video, disney plus e netflix, e poi ci puó navigare in rete e perchè no, aggiungiamo anche il retrogaming..

C’è una distro che fa tutto questo?

Grazie




IN3DTEC: Custom Metal 3D Printing – Fast. Precise. Affordable. Global Service 🎁 Promo Code: TK3D610


Something spins up my hard drive every 10 minutes. Something spins up my hard drive every 10 minutes.
Support

I have a WD Red hard drive in an external dock. I use btrfs.

Something spins it up every 10 minutes. fatrace doesn't show anything at the time it spins up.

iotop shows btrfs-transaction, and some kworker/u48:4-btrfs-endio-write most of the time. Around the time the disk spins up, systemd-journald appears. But I don't see why journald would need the external drive.

What other ways could I diagnose this?


battery drain issues battery drain issues
Support

Recently I got this Asus Vivobook 15 X1504VA-E82190 laptop brand new (i5 1354u)

Installed fedora 42 with kde plasma.

My battery without any apps open and minimal background processes (5% cpu and igpu utilization less than 1GHz) 35% brightness and power-profiles-daemon set to power saving is max 5 hours and with only kitty open its even less than 4.

I tried both auto-cpufreq and tlp and both didn't do much probably because they cant do much when you're almost not using your cpu at all.

The same laptop in windows 11 gets at least double that.

What am I missing??

Edit: Also checked powertop didn't see anything abnormal there as well.


What is the proper way to launch the file manager as root? What is the proper way to launch the file manager as root?
Resolved

I'd say this question is more for Ubuntu/Debian-based distros, but here is what the question is.

What is actually the proper way to iaunch the file manager as root? I heard that launching the terminal and typing "sudo nautilus" is bad and the better way is to open the file manager, press CTRL + L, type "admin:" and enter your password. I use the second method (CTRL + L) by the way.


X11 Forwarding when host is on VPN X11 Forwarding when host is on VPN

I have been fighting this issue on and off and have never found a concrete answer. I have a few servers on my local network that I work on remotely. I use expressVPN and have it enabled on most of my machines. I have noticed that whenever the VPN is running on a host, while I can SSH over the local network with no issues, X11 Forwarding always fails and the DISPLAY variable is not set.

Today I realized that if I set X11UseLocalHost no in my sshd config, X11 forwarding works when the VPN is active. Of course I don't want to leave it this way for security reasons.

I am wondering if anyone has encountered this and found a proper solution? I assume the VPN is binding to a socket used by X11 (or something like that... Networking is not a strength of mine). I haven't found much information online so any insights are appreciated!


How do I fix this screen glitch? How do I fix this screen glitch?
Support

Just yerday I switched from windows 10 to linux after hearing so mch about it. I have never used it before. I tried a couple of linux distros which I had only a little problem getting to work and they all gave me the same glitch where my screen moves around quickly all over the place and static appears, sometimes even going black for a few seconds. I think it has something to do wirh my hardware but im honestly not so sure what the problem is. I have an evoo gaming laptop. I hope someone can help me out. My specs are: CPU: 9th Gen Intel i7-9750H GPU: Nvidia GTX 1660Ti 16 GB of RAM 512 GB of storage


Does displays / laptop lid affect PCR for TPM unlocking disk? Does displays / laptop lid affect PCR for TPM unlocking disk?

I just installed Fedora 42 and have noticed that the disk won't auto decrypt if the laptop lid is closed. I used the following command at setup.

sudo clevis luks bind -d /dev/nvme... tpm2 '{"pcr_ids":"1,4,5,7,9"}'

I want to install servers with keyboard and displays connected and then unplug them. Will it work by rebind after disconecting via ssh or does dissconected and never connected have different signature?