336
Chroot adventures 2.0 (sh.itjust.works)
top 47 comments
sorted by: hot top controversial new old
[-] coldsideofyourpillow@lemmy.cafe 2 points 5 days ago

laughs in atomic distro

[-] 30p87@feddit.org 59 points 1 week ago

Can't relate, arch testing never broke in years. Without manual maintenance.

If it where arch, but its manjaro. Somehow during the last kernel update the grub info was not changed to point to the current kernel names...still pointed at the old kernel....and that had been replaced. After figuring all that out in chroot, fix was as simple as changing a single line in that grub file

[-] QuazarOmega@lemy.lol 64 points 1 week ago

Yet another Majaro L? Not one to dunk on random distros, but I'll always make an exception for Manjaro

[-] tritonium@midwest.social 3 points 1 week ago

Only the morons that turn on AUR despite being warned against it ever have problems on Manjaro.

[-] meekah@lemmy.world 11 points 1 week ago

Maybe im misunderstanding something but how is turning on the AUR supposed to prevent the grub file from being updated?

[-] muhyb@programming.dev 39 points 1 week ago

Manjarno never surprises -_-

[-] 30p87@feddit.org 17 points 1 week ago

The dangers of relying on a prebuilt system which is maintained ... lets just say not state of the art.

Also, would grub-hook be an option?

[-] bzLem0n@lemmy.ca 8 points 1 week ago

Grub-hook is what I use to prevent this exact situation.

[-] 30p87@feddit.org 11 points 1 week ago* (last edited 1 week ago)

GRUB-HOOK PACKAGE GIVES YOU STABILITY ON THE SYSTEM YOU LOVE

THE KINDA STABILITY THAT MAKES YOU BOOGY

*insert cringe dance*

[-] OR3X@lemm.ee 41 points 1 week ago

Reminds me of that time I updated my UEFI firmware which automatically re-enabled secure boot which caused my Nvidia driver to fail to load on boot because Nvidia doesn't sign them so I was stuck with the noveau(spelling?) driver which would crash when I tried to log into my DE. What an adventure figuring that out was. Oh, and the cherry on top: updating the firmware didn't fix the initial issue I was troubleshooting.

[-] AstralPath@lemmy.ca 13 points 1 week ago

That is brutal lol. RIP.

[-] BradleyUffner@lemmy.world 4 points 1 week ago

Ugh, I just went through the same thing last week. Let's just say that checking if secure boot had been turned back on was NOT one of the first 500 things that came to mind during troubleshooting.

[-] OR3X@lemm.ee 2 points 1 week ago

Exactly. I was about to rip my hair out before I thought to check my UEFI settings.

[-] Acters@lemmy.world 1 points 1 week ago

I know this is a day old and most people who would have seen this already have moved on, but this is a simple fix. In fact if you have secure boot enabled, the Nvidia driver installation will detect it and start the signing process. If you don't have secure boot enabled, then it will skip it. I think having secure boot enabled and properly signing your drivers is good to not end up in that situation again. Though I understand how annoying it can be too. Sigh

[-] riodoro1@lemmy.world 37 points 1 week ago

„Wheres that fucking pendrive again?”

[-] mugdad1@lemm.ee 9 points 1 week ago

ah shit here we go again

[-] lengau@midwest.social 28 points 1 week ago
[-] chunkystyles@sopuli.xyz 6 points 1 week ago

I'm sorry, is this some joke I'm too atomic to understand?

[-] daggermoon@lemmy.world 25 points 1 week ago

Do y'all only have one kernel installed?

[-] Trail@lemmy.world 13 points 1 week ago

Yes. If I ever need something else because something unforeseen happened (which has not happened for years, and I use a non-default one), I can boot up from a live USB and fix things.

I use arch btw.

[-] daggermoon@lemmy.world 6 points 1 week ago

I also use Arch btw. I have an lts kernel installed just in case. Came in handy when the amdgpu driver was broken for a week. The screen was flashing on Wayland.

[-] Tangent5280@lemmy.world 2 points 1 week ago

Which LTS kernel do you have installed? I'm shopping around

[-] daggermoon@lemmy.world 2 points 1 week ago* (last edited 1 week ago)

On Arch it's just linux-lts I think. 6.12 is the current version I believe. In any case, I only need to use it when something breaks which is rare.

[-] megabat@lemm.ee 4 points 1 week ago* (last edited 1 week ago)

vmlinuz vmlinuz.old vmlinuz.old.old vmlinuz.old.old.old vmlinuz.borken

I'm sure one of these boots and has a Nvidia module that matches user space!

[-] rem26_art@fedia.io 21 points 1 week ago

chroot has all the power to fix it, but my mental state cant handle it

[-] Callypo@lemmy.world 4 points 1 week ago
[-] SaltyIceteaMaker@lemmy.ml 20 points 1 week ago

lughs in multiple installed kernels

[-] lightnsfw@reddthat.com 17 points 1 week ago

My PC: "Oh, you touched /etc/fstab? Fuck you"

[-] zzx@lemmy.world 21 points 1 week ago

Give

systemd-analyze verify /etc/fstab

A try!

[-] lightnsfw@reddthat.com 1 points 1 week ago

But then I'd never get to use my recovery media :(

[-] superkret@feddit.org 1 points 1 week ago

Systemd solves all of your problems!

[-] Natanox@discuss.tchncs.de 6 points 1 week ago

Users should never have to fiddle with the fstab manually. It's a shame the internet is still pointing to it when asked most of the time instead of explaining the GUI disk tools. Or at least some CLI management tool in case that one exists.

[-] LucidNightmare@lemm.ee 5 points 1 week ago

This is the correct mindset to have when trying to push Linux as a viable alternative to the big two.

If you make more things easy for newcomers and just anyone in general, you'll eventually get more users, and a larger base that then correlates to higher overall usage of Linux. You know, like those screenshots of the Linux install base we see every now and then?

You don't have to keep Linux behind arbitrary lines, but for some reason, that's all we like to do.

[-] Natanox@discuss.tchncs.de 1 points 1 week ago

"Unfortunately" most of the higher user base comes from the Steamdeck where most users never use it as a desktop PC. While many people are now trying Linux for themselves due to lots of good reasons, it remains unnecessarily complicated to use for many reasons. Abundance of bad advice being one of them.

[-] ricdeh@lemmy.world 5 points 1 week ago

Wrong. You just need to know what you're doing and must not be impatient. Just spend 5 damn minutes reading before you do the thing. We don't always need unnecessary abstractions upon abstractions upon abstractions.

[-] Natanox@discuss.tchncs.de 6 points 1 week ago

Welcome to the reason 99% of Linux distros remain so unpopular and both hard and unintuitive to use unless you're tech-savvy. After those 5 minutes about 50% do it correct, the other 50% put a single character in the wrong place or follow an incomplete and bad guide and get stuck in boot. Or they'll go and use an OS that's more intuitive and more efficient for them despite probably also extorting them because that weird "Linux" thing is obviously only for nerds, who're completely detached from the reality of most people out there not realizing that modifying core system configuration by hand that can make your device inoperable without any help from your operating system itself should not be the god damn norm.

[-] lightnsfw@reddthat.com 1 points 1 week ago

On don't have a gui on that one.

[-] Natanox@discuss.tchncs.de 1 points 1 week ago

Those who use a system without any GUI are adv. users or professionals who know what they're capable of, who can safely ignore any safety features.

99% of users ain't Linux professionals though. So 99% of guides and tips should show the more safe, intuitive, accessible GUI tools.

[-] lightnsfw@reddthat.com 1 points 1 week ago

Ok? Not sure what that has to do with my situation.

[-] PerogiBoi@lemmy.ca 9 points 1 week ago

I can’t relate because Bazzite doesn’t let me do stupid shit :)

[-] bruhduh@lemmy.world 4 points 1 week ago

My laptop with arch was lying around untouched by 2 months and this shit happened too, after that i switched and daily drived opensuse tumbleweed for PCs and debian stable for servers for a year already

[-] xycu@programming.dev 4 points 1 week ago

I once fully updated a Gentoo system that hadn't been touched in 4 years. That was an adventure in troubleshooting.

[-] bruhduh@lemmy.world 1 points 1 week ago
[-] m4m4m4m4@lemmy.world 3 points 1 week ago
[-] Samespot@lemmy.world 1 points 6 days ago

I dont understand, what does this command do?

[-] m4m4m4m4@lemmy.world 1 points 6 days ago

Turns off the system

this post was submitted on 29 Jan 2025
336 points (100.0% liked)

linuxmemes

22317 readers
1440 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS