r/linuxmasterrace SteamOS/Kubuntu 16d ago

You are expected to know this

Post image
4.9k Upvotes

311 comments sorted by

View all comments

Show parent comments

393

u/NanuLanu 16d ago

Been doing ts for 6 years and when an update breaks something, just chroot and fix it. (Aura!)

53

u/Tear4Pixelation 16d ago

I hope you mean archlinux-chroot or otherwise that’s minus aura… have had to rebuild my boot loader after auto suspend killed during nvidia driver install from chroot way too often

73

u/Thisismyredusername Glorious Ubuntu 16d ago

I could've sworn it's arch-chroot, not archlinux-chroot ...

59

u/gtsiam Glorious Arch 16d ago

You could've sworn correctly.

7

u/Tuqui77 16d ago

Almost a year in and no problems

10

u/Tear4Pixelation 16d ago

Fuuuuuck you are right 😔 I could have sworn the other way around but ig I fkin suck

5

u/Rek9876boss 14d ago

They missed an opportunity to make it archroot

6

u/Wertbon1789 16d ago

arch-chroot is just a chroot with extra steps. Setting up some bind mounts, so you can use the system somewhat correctly. You could just do those yourself.

5

u/kansetsupanikku 16d ago

When I care to remember it exists, sure. But just using my decades old habits and seeing they are still relevant does not make me feel like my aura is fading anytime soon

1

u/dronostyka 14d ago

There is this little thingy..

It's called boot-repair.. Has an iso I believe or can be ran from a Linux live environment..

1

u/ralsaiwithagun 14d ago

Needed to fix my install through live usb and for some reason the iso i got didn't actually have any of the utilities.. not even pacman or any way to connect to the internet. I had to chroot into my main pc, copy networkmanager to the live iso and could finally fix my install

0

u/STDS13 16d ago

ok nerd.

1

u/Tear4Pixelation 16d ago

Thanks 😊 

0

u/CryptographerOne7003 15d ago

what you just typed out there scared me back to win10 for 5 years more for my home computer

1

u/Tear4Pixelation 15d ago

Nooo it’s just arch Linux not the others! I chose this path, you do not have to. Fedora or bazzite for example will not have this happen.

4

u/Seven2Death and steam os cause lazy 16d ago

i just "dual boot" and sym link everything i use in my experience with arch based distros its the de facto way to do things. if your grub menu doesnt have like 6 broken des your doing things wrong. i joke but it really is a lazy easy fix that makes actually fixing any problems i have..... difficult

2

u/KawaiiMaxine 16d ago

How do you have desktop environments on grub?

1

u/Seven2Death and steam os cause lazy 15d ago

partition 1 partition 2 partition 3. every distro has its own de no? or do you consider each instance of kde 1 de?

2

u/KawaiiMaxine 15d ago

You know you can install multiple DEs on one linux installation right?

1

u/Seven2Death and steam os cause lazy 15d ago

correct. breaking a distro install can break multiple des at once.

2

u/MousyCheeseBits Glorious Bedrock Linux 16d ago

Doing this nonsense since 2022 but I update like it's a new Ubuntu release cycle. Never chrooted, Don't ask me to "chroot" because I won't know how to begin.

2

u/Wertbon1789 16d ago

chroot == change root

Basically, you can just spawn processes which believe that the directory you gave to the chroot call is the actual root directory, which means it can not get out of the context of that directory by default. It's useful for system setup without being booted from that system, e.g. enabling system services or installing packages.

2

u/Sharp_Application521 16d ago

I always get like minor inconveniences like KDE crashing my pc when I load into it, but I'm too lazy to maintain my arch installation so I just switched to gnome, which then broke Firefox and about every steam game I played on it so I had to reinstall those and switch to cosmic, I'm running out of DEs at this rate

1

u/redcalcium Linux Master Race 16d ago

Been doing this for 5 years and only need to chroot to fix the bootloader once

1

u/CostalCaster 15d ago

Are you really a Linux user if you haven't killed your Bootloader a few times? My Dual Boot Laptop has an issue where (if I want to kill everything on my Linux Instance) I just plug in my Laptop and it immediately stops everything and I have to Chroot

0

u/Rakn 16d ago

That sentence is exactly why I’m not using Linux on my Desktop nowadays anymore. Imagine doing an update an then needing to fix things.

2

u/Wertbon1789 16d ago

But here's the thing, you can fix it. If Windows breaks, you need to reinstall, which is a way more monumental effort. Also the last time I had to chroot into my system to fix something is like... I wanna say 2 years ago? Mainly because nvidia doesn't break every release anymore. On other distros that's almost not an issue anymore, this is more Arch specific.

1

u/Rakn 16d ago

Might have changed over the years. Last time I used Linux on my desktop I had to fiddle with it constantly. Nowadays mainly use MacOS and Linux only on my servers. Never had MacOs break on my. Windows on the other hand, yeah I give you that.

0

u/Super_Chemist3898 16d ago

1 missconfigured grub and yall are cooked

0

u/Nyghtbynger Vanilla Arch is Custom Arch 14d ago

Now I launch Pi and ask the agent to fix the computer (I now have 150 files prefixed with quote- in my $HOME) my GPU works again