r/linux4noobs • u/OC_Hyper • Aug 09 '25
Meganoob BE KIND Help
I was having issues with running an AppImage and I asked Claude for help (I know how stupid that was even before doing it) it suggested I run this command: "sudo rm -f /lib64/ld-linux-x86-64.so.2 sudo rm -f /lib/ld-linux-x86-64.so.2" shortly my entire system started freezing and I decided to restart it, I got a Kernel panic blue screen and after forcing restart I got this black screen. I've tried booting to Endeavor OS intrafms for recovery and I don't have a live USB rn for recovery, please what do you suggest I do?
I'm on Endeavor OS
574
u/Existing-Violinist44 Aug 09 '25
It's tragically hilarious that an LLM confidently suggested deleting the fucking dynamic linker. One of the most critical system components. I have no idea how it even got to that conclusion... This is one of the best examples of why beginners should never use LLMs for troubleshooting under any circumstance
22
u/OC_Hyper Aug 09 '25
Is there a way I can recreate the dynamic linker with a Live USB
61
u/Existing-Violinist44 Aug 09 '25
In theory you can copy it from a fresh copy of EOS. But if I were you I would copy your home directory to an external drive from a live session and reinstall. It's not worth the trouble trying to save the current system, and may lead to other headaches down the line if not done properly
5
u/OC_Hyper Aug 09 '25
I don't have an external drive that is big enough RN
21
u/Existing-Violinist44 Aug 09 '25
Go buy one. Those things come in handy from time to time and are really cheap nowadays, especially if you don't care about speed. And I would also recommend keeping a live usb around for rescue operations, especially if you don't have a second PC. Shit happens and it's useful to have recovery tools ready
10
u/vecchio_anima Arch & Ubuntu Server 24.04 Aug 09 '25
Just your home directory, that's usually not too big.
3
u/archiekane Aug 10 '25
Some people keep EVERYTHING in there, including movies, music, etc.
10
u/mopster96 Aug 10 '25
Isn't it intended purpose of home directory? I keep there everything not system related: documents, movies, games, projects, etc.
6
u/archiekane Aug 10 '25
Yup, exactly.
In a world of non-newbies, the home dir is mounted on its own partition. By doing this, you can destroy the OS around it, and simply remount the home dir after doing a complete OS reinstall.
It's actually annoying that the defacto install on most distributions is to shove everything into the single / these days. I mean, I get it for ease, but when things like OPs situation arise, it would be a simple reinstall fix and not having to worry about losing home data.
4
u/mopster96 Aug 10 '25
In a world of non-newbies, the home dir is mounted on its own partition.
I am pretty sure that same advice was also for windows: keep a separate partition, where you should put all valuable stuff.
3
u/GabrielRocketry Aug 10 '25
Separate partition or a drive to move your home directory into is possible and used to be the go to way by more proficient Windows users. But you don't see it done nowadays that much because noone really reinstalls windows as much as in ye olden days since by mid-Windows 7 and later it will rarely encounter a bad driver or something like that.
3
4
u/CardOk755 Aug 09 '25
Run the rescue disk, copy back the missing file.
Or just reinstall.
2
u/OC_Hyper Aug 10 '25
How do I run the rescue disk
3
Aug 10 '25
To make it easier for you boot from a live CD to load up Linux desktop and then search for your home folder and copy the files from there. If E Os doesnโt have one then any Linux that does.
2
u/OC_Hyper Aug 10 '25
I booted up pup Linux on my laptop using my phone as a live USB, for some reason I can't mount my system drive from pup Linux
2
Aug 10 '25
I would just find or buy a USB stick. If itโs not showing in the file explorer then find it in disks utility and mount from there. There are probably quicker ways but for a noob this is the easiest till you know the steps. If you decided to have encryption on the original install for E Os then use a live OS that supports it such as Ubuntu, etc
2
u/BCMM Aug 10 '25
for some reason I can't mount my system drive from pup Linux
(Sorry if this sounds a bit harsh! I don't just want to flame; this is an opportunity to learn a useful troubleshooting skill.)
That's not a useful comment; there's nothing there that we can really understand or fix.
A better comment would include what you tried and what went wrong. It should be as specific as possible about those, ideally by pasting the command you ran and the output it produced.
2
u/CardOk755 Aug 10 '25
If you were using Debian just boot the install media and pick "recovery" under the advanced options.
For other distros look at their doc.
3
u/chasmodo Aug 10 '25
Can't you read the OP? He said that he's running Endeavour, which is Arch based
3
9
u/henrytsai20 Aug 10 '25
You can just install it again with pacman. Now your question is how are you gonna run pacman when the system can't boot right? Well the classic method is to boot from another source, then gaslight it to thinking it's running on your (not functioning) boot drive, more specifically, boot from live iso, mount your system drive (onto /mnt for example), use arch-chroot command to pretend /mnt is the actual root, then you can pacman things like usual.
2
1
u/RobotJonesDad Aug 09 '25
Easy. Mount the filesystem under your usb linux. Then, download and replace those files. And plave them where they need to be. If there are links pointing to those missing libraries, they may have the correct version numbers.
Getting the right version numbers would be the only trick. There are a bunch of ways if figuring out the right versions... tje LLM may be able to help!!!
Next time, don't type commands, especially commands running as root (sudo) without understanding the command. Since you probably know what
rmdoes, you should have done a search on what is this file I'm about to delete?And if I'm deleting files like this, I'll usually just do
mv file ~/backup/instead of deleting them, so that I can easily pop them back if this kind of disaster happens!1
u/Wertbon1789 Aug 10 '25
You have a live ISO, which you can also just boot and use as a volatile environment. You can recover by using something called chroot.
https://forum.endeavouros.com/t/chroot-into-a-btrfs-uefi-system-from-live-media/15986
Found a EndeavourOS specific forum post, when you get into this chroot environment, you just need to reinstall the glibc package, I think. Hope it helps ya!
1
u/BCMM Aug 10 '25 edited Aug 10 '25
I definitely disagree with the people saying it's too broken and you should just reinstall. It would be good advice for the surprisingly common situation where somebody has done a recursive
rmand it's not clear exactly what has been deleted.However, if you've deleted just those two files, restoring them from a live system is a perfectly reasonable approach. Even doing it manually with
cpwould be OK, as long as you make sure the permissions are correct. Doing it with a package manager is better, but I don't use Arch and I don't know what sort of features pacman has for operating on an alternative root.(Do try to make sure they're the exact right libraries. Don't use the files from some other distro, for example. After you've got the system booted, consider reinstalling glibc with the system's own package manager, just to make sure that the expected version is installed with the expected permissions.)
149
Aug 09 '25
/u/OC_Hyper, I genuinely want to see the log of your convo with Claude if you can share it. That it suggested that is absolutely insane.
81
u/OC_Hyper Aug 10 '25
Should I post it as another post or just add it as a comment? ๐
6
u/Necessary-Plate1925 Aug 10 '25
Share or didnt happen
3
1
u/Masterflitzer Aug 12 '25
claude literally told him to check the files first and delete if they're symlinks, claude didn't say just delete them
so yeah OP might've messed up their system, but it didn't happen like they claimed
38
Aug 10 '25
Just comment it here, I don't think it'd be relevant enough for a full post on this sub.
9
u/Colbsters_ Aug 11 '25
Honestly, it might be. It would make a good cautionary tale for others who want to use AI in this way.
1
1
u/Important-Rope212 Aug 13 '25
I think he made this mistake by himself tbh as i dont see the logs being shared anywhere, prob just a lack of research
8
u/Gaweringo Aug 10 '25
RemindMe! 2 Days
4
u/RemindMeBot Aug 10 '25 edited Aug 11 '25
I will be messaging you in 2 days on 2025-08-12 12:18:09 UTC to remind you of this link
5 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback 2
1
u/PncDA Aug 12 '25
!RemindMe 2 days
1
u/RemindMeBot Aug 12 '25
I will be messaging you in 2 days on 2025-08-14 21:54:20 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback -4
13
u/drinkordie_ Aug 10 '25
This has to be a troll post. Hallucinations are one thing but this!?
10
u/OC_Hyper Aug 10 '25
I wish it was a troll post ๐
5
u/snoopervisor Aug 10 '25
Hey, it's been 21 hours. Reinstalling takes up to an hour if you add installing updates and stuff. It's like a broken car, easier and quicker to buy a new one, rather than repairing the bad one. :)
For the future rm -f means remove forcefully (no confirmation from the user required).
Don't you have any old laptop laying around? You could tinker with Linux on it, without risking situations like this on your main machine. You could test making backups and restoring them for a start.
2
u/OC_Hyper Aug 10 '25
I don't have an old laptop and I can't really afford another one or a USB hard drive tbh
1
u/thegloriouspotato36 Aug 11 '25
Check out a website like gov deals, I've used them before and you can usually pick up a decent surplus computer for dirt cheap, like I've bought multiple 7th gen Dell optiplex's for like 10 dollars each. I mean it depends on where you live but like unless you live in literally the middle of nowhere you should be able to find some cool stuff (I live in Anchorage, Alaska for reference)
2
22
u/vecchio_anima Arch & Ubuntu Server 24.04 Aug 09 '25
These LLM's just make stuff up constantly. I tried to make chatgpt useful by telling it to always check external sources and verify any conclusion it comes to with a secondary source, cite sources it uses to come to it's conclusion and quote a portion of the main source that lead to the conclusion.... It just makes up quotes, cites web pages that don't exist and it's wrong 98 percent of the time... It is tragically hilarious ๐
→ More replies (4)16
u/Otherwise_Rabbit3049 Aug 09 '25
confidently
Would you want an artificial "intelligence" to have doubts? Maybe that's how Skynet starts.
I have no idea how it even got to that conclusion...
Trained on material taken from trolls. Nobody fell for "delete System32" anymore so the branched out to sudo.
11
u/Existing-Violinist44 Aug 09 '25
I mean considering how wrong it was maybe some doubt wouldn't hurt sometimes. Like an impostor syndrome LLM XD
5
u/NoelCanter Aug 10 '25
Would you want an artificial "intelligence" to have doubts
Yes, it is called a reliability estimate and some AI do have this.
Also people, follow the sources of information when it provides it.
2
u/irmajerk Aug 10 '25
Its a fancy ui for a complicated chatbot built on a faulty premise and a crappy search engine, not a mind. I wouldn't worry about it.
Also, it has no way to validate anything it says, it spews probability based word salad, and it's really good at making it read like english language, because it has a bunch of preset rules about what words go with what, but it isn't english language. you could do the same thing really slowly by flipping coins to pick words at random until them make sense.
2
2
u/Minimum_Neck_7911 Aug 13 '25
I can just picture two LLM chuckling to each other and saying "go on tell him he needs to sudo -rm /*"
1
u/StretchAcceptable881 Aug 10 '25
I really donโt know how it was possible for Claud to tragically suggest that OP should use sudoRMF command in the terminal in which case, OP should reinstall Novara from scratch because its a lot easier to just start with a clean slate
1
u/NovaKaldwin Aug 10 '25
I have that problem at work. Gemini loves to ask me to change the company's project dependencies and destroy other people's code.
1
u/Rmnhernan Aug 12 '25
I mean, they can be useful, but everyone SHOULD ALWAYS double (or even triple lol) check the LLM suggestions, and understand what they are doing before even trying them. It's pretty basic but people still fail to understand that hallucinations are as common as always in these models
1
1
u/Kral050 Aug 12 '25
I once fixed kernel panic with great help from chatgpt. I think it's great at helping beginners, but beginners should just be more cautious.
1
1
u/reginalduk Aug 13 '25
It's probably picked up on all the joke rm -rf suggestions and is unironically storing them up as potential solutions for the future.
1
u/LashiDoesStuff Aug 13 '25
I see this all the time. LLMs just matches patterns and often gets stuff wrong. I sometimes ask it trivial maths questions and it completely falls flat on its face. It's a great tool but I would never execute a command it gives me for altering the system without knowing what it precisely does.
17
u/solarized_dark Aug 09 '25
Get a live image of Endeavour, pacman -Syu, then mount your OS partitions, check what package owns that file with pacman -Qo /lib64/ld-linux-x86-64.so.2 (probably glibc?), and use pacstrap from arch-install-scripts to reinstall it into your mount. In theory this should use the package cache from the target, so it shouldn't give you an incompatible glibc.
# mount /path/to/your/root /mnt
# pacstrap /mnt glibc5
u/OC_Hyper Aug 09 '25
Thank you. 1.boot from the Endeavor OS USB Pacman-SYu? In the USB or on my OS partition?
3
u/solarized_dark Aug 09 '25
On the USB, just in case you need to install arch-install-scripts to get pacstrap. If pacstrap is already there you may not need it at all.
10
u/lonelyroom-eklaghor Daily drove Linux for a year Aug 09 '25
you need to have a live usb for recovery.
that's the first step right now
2
u/OC_Hyper Aug 09 '25
I just booted a puppy linux ISO using my phone (I'm rooted). What should I do next?
3
u/lonelyroom-eklaghor Daily drove Linux for a year Aug 09 '25
does puppy linux have gparted?
3
u/OC_Hyper Aug 09 '25
Yes
3
u/lonelyroom-eklaghor Daily drove Linux for a year Aug 09 '25
check if connecting your phone to your pc shows your hard drive
3
u/OC_Hyper Aug 09 '25
It does, I have Gparted open on my laptop RN
4
u/lonelyroom-eklaghor Daily drove Linux for a year Aug 09 '25
perfect. Now, just check if your /home is fine or not.
now, take some space from your drive, then install puppy. You can remove the /root filesystem (PLEASE PLEASE don't touch /home, only /root).
after that, you will get a stable system. from puppy, you can directly check firefox and from there, you can download endeavour again.
71
Aug 09 '25
Donโt ask AI for Linux help. Youโll have to get into a chroot and fix what it had you break.
62
u/CardOk755 Aug 09 '25
Don't ask "AI" for anything. (it's not AI, because it's not intelligent).
19
17
5
u/SartenSinAceite Aug 12 '25
AI is like a google search, except you can't tell if the info comes from an expert or a 4chan user telling you to microwave your phone to charge it
9
u/1mproved Aug 10 '25
I think you can, as long as you know what youโre doing and just need some assistance. A beginner however would have no idea if the LLM response is correct or not, and trusting it blindly is just a disaster waiting to happen.
8
u/StretchAcceptable881 Aug 10 '25
If a beginner nukes their linux system, they will need the help of another person not an LLM because even as good PerplexityAI is when it comes to Linux help, if beginners donโt research or read the man page associated with any given terminal command and the AI tells them to run a terminal command they donโt understand what the command will do to their system and they wouldnโt even know how to get themselves out of the situation they should in order to be safer than sorry rely on the distros documentation online communities
2
u/xThatShadowGuyx Aug 10 '25
I honestly use chatgpt when I need to figure something out, though im specific about what im looking for, and I have it set up to also tell me what it's wanting me to do, also never search without the internet search toggled on, lol
1
u/1mproved Aug 11 '25
+1 for the web search toggle. FYI Itโs called Retrieval-Augmented Generation. Very useful especially when running a local model with a relatively small amount of parameters.
1
u/BCMM Aug 10 '25
OP will not be able to chroot. It's not just
/bin/init- every dynamically-linked binary will fail to execute, including the shell.By the time it's fixed enough to chroot, it'll be fixed enough to just boot normally.
1
u/OC_Hyper Aug 11 '25
Correct, when I tried to use chroot I kept getting input/output error.
1
u/BCMM Aug 11 '25
Hmm. I/O errors is not at all what I'd expect!
1
u/OC_Hyper Aug 11 '25
I just copied the linker directly from the booted Endeavor OS USB ISO to my installed Endeavor OS system and it worked
-2
Aug 10 '25
Iโm not sure if you know what chroot is with that statement
4
u/BCMM Aug 10 '25 edited Aug 10 '25
Ok, what do you mean by "chroot", in this particular context?
-1
Aug 10 '25
You boot into a live iso and manually chroot into your install from the terminal on the live iso. You arenโt trying to boot into the actual install.
4
u/BCMM Aug 10 '25
Ok, so you are talking about chrooting in to the broken install. What do you think the chroot command actually does?
-1
Aug 10 '25
→ More replies (1)6
u/BCMM Aug 10 '25 edited Aug 10 '25
I'm not reading the Arch wiki, ffs. I was asking what you think it does.
Look, here's what will actually happen if OP mounts his broken system at /mnt/root and runs
chroot /mnt/root:
The
chrootprogram performs thechroot()syscall, changing its own root directoryThe
chrootprogram attempts toexec()a shell (within this new root directory)
exec()fails, because the shell can't be executed without the missing dynamic linkerProcesses running in the chrooted environment have no access to the dynamic linker provided by the live environment. They can only see files inside their new root directory.
You arenโt trying to boot into the actual install
Obviously. The thing is, OP's problem isn't that the installation is unable to boot; it's that the installation is, in effect, unable to do anything.
EDIT:
Also, having a missing linker causes rather cryptic error messages, along the lines of "/bin/bash: No such file or directory".
That would very likely send OP down a rabbit-hole of triple-checking that /bin/bash really does exist, because that message makes absolutely no sense without some context which, as far as I know, is most easily found in the middle of the
execve()man page:ENOENT The file pathname or a script or ELF interpreter does not exist.
(Note "or ELF interpreter".)
2
u/Dashing_McHandsome Aug 10 '25 edited Aug 10 '25
OP is absolutely correct. When you try to chroot into this environment part of the dependencies that will be needed is the dynamic linker in that environment. Any binary you executed in the chroot'ed environment will look up the linker in that chroot, not externally. Just because you have a functioning linker in the boot environment from your ISO does not mean a chroot will work.
What I would try doing is copy in the linker from the ISO, try to chroot, and if that works immediately reinstall the package.
Edit: I should have said the package to reinstall is glibc. I think they call it libc6 if you're on Debian or a derivative
Edit 2: if you can't copy the linker from the ISO to your filesystem and chroot with that, the next thing I would do is get a copy of the specific glibc package for your system, extract it and put those files in place.
2
3
u/Full_Conversation775 Aug 10 '25
Ai helped me pretty well with a lot of simple stuff. like writing a basic script or creating a systemd service with user level privilidges, and making an automated backup to a remote machine via SSH. you can use AI, just make sure to dubble check what its suggesting by googling it and reading man pages. Also being somewhat security literate and understanding what 777 privilege for example means is a must.
it just makes research easier, but you should not completely rely on it without having a vague idea what the thing you're messing with does. like i was really amazed at how well it was able to help me. i'd advice more people to use it, but don't blindly trust it and make sure you know how to undo it if you need to.
1
u/2204happy Aug 13 '25
You can ask it but you need to check whatever commands it gives you before running them. Don't just blindly trust it. Same goes for any command somebody suggests. You need to at least have some idea of what you're running.
10
u/doc_willis Aug 09 '25
You really should give more details.
And please use better titles in your future posts.
7
5
u/lonelyroom-eklaghor Daily drove Linux for a year Aug 09 '25
no more details are needed ig... what details are we even talking about
1
1
3
u/javier382 Aug 10 '25
I just asked chat gpt to explain those commands to me, basically Claude trolled you xD:
"That command is extremely dangerous.
What it does is:
sudo rm -f /lib64/ld-linux-x86-64.so.2 sudo rm -f /lib/ld-linux-x86-64.so.2
Step by step explanation:
sudo โ run the command with root privileges.
rm -f โ deletes a file without asking for confirmation, even if it is write-protected.
/lib64/ld-linux-x86-64.so.2 and /lib/ld-linux-x86-64.so.2 โ are critical files: the Linux dynamic loader (dynamic linker/loader).
This program is responsible for loading the necessary libraries so that any dynamic binary (almost all system programs) can run.
Consequence: If you delete ld-linux-x86-64.so.2, the system will no longer be able to execute virtually any command, including sudo, ls, apt, yum, etc. In other words: the system becomes unusable and you would need a live CD/USB or reinstall to recover it.
It is a command that is used as a malicious prank or sabotage, because there is no way to easily reverse it from the same system once executed.
If you want, I can explain to you exactly what would happen step by step after running it."
1
u/OC_Hyper Aug 10 '25
This isn't the first time it has suggested I run a destructive command, lol. The first time it suggested something like this, I knew better and didn't do it. This time I finally fell for its hallucination lol
1
2
u/khnmrz Aug 12 '25
it is literally concerning that the llm suggest so confidently to run command and tells what does that do. i literally broke the root partition (such a way that ram did not load the system file) just to setup freaking i3 wm with a loginscreen
1
2
135
105
u/GreatSworde Aug 09 '25
Did... did the ai just tell you to delete the linux kernel?
97
u/CardOk755 Aug 09 '25 edited Aug 10 '25
No, just libc. Which is possibly worse.
(Actually, not even "possibly" worse, just worse. Delete the on-disk copy of the kernel and the system keeps running until the next reboot. Delete libc and you can't start any new programs. You could maybe recover if you had a running copy of BusyBox).
25
u/MyTinyHappyPlace Aug 10 '25
Not libc, but the dynamic linker/loader. A core component of executing binaries.
This is basically a port of the โdelete system32โ windows joke.
1
u/angelicosphosphoros Aug 12 '25
Technically, dynamic loader is kinda part of libc.
If you compile your program by statically linking to musl, it wouldn't need dynamic linker to run.
1
u/Aggressive-Usual-415 Aug 16 '25
Is the dynamic loader part of the libraries that I make?
1
u/angelicosphosphoros Aug 16 '25
No, your program or shared library (e.g. DLL or .so) has a mark in the executable file that tells if they are statically or dynamically linked and a path to dynamic loader (which is a separate program preinstalled in OS distribution). In the post, files `/lib/ld-linux-x86-64.so.2` and `/lib64/ld-linux-x86-64.so.2` are dynamic linker files (they are often just 2 hardlinks to same file in linux).
The OS executes code from dynamic loader which in turn uses memory mapping to load parts of your executable to memory (e.g. it puts .text section into read+executable memory page, .rodata section to readonly memory page, .data section to read + write page), and loads dependencies (other shared libraries) to memory and do the same for them.
If your program is dynamically linked, it cannot start execution without running dynamic loader first.
If your program is entirely statically linked, it doesn't need to use dynamic loader and can start execution immediately (e.g. this is typical behaviour of busybox).
1
u/Aggressive-Usual-415 Aug 18 '25
My point is that the dynamic loader is part of my libraries just as much as it is part of libc (i.e. none). Pedantic argument, yes -- sorry! I know how dynamic linking works: I have written my own operating system that can load dynamically linked ELF binaries.
31
u/Maiksu619 Aug 10 '25
Do not blindly following any terminal commands from the internet. This goes for internet randos like me on Reddit and any AI bullshit. This is how bad things happen.
I highly recommend plugging all terminal commands into explainshell.com first so it will break down the command and help you understand it in its entirety.
You should also use โโhelpโ after a command and โmanโ. You can also install โtldrโ to breakdown commands in the terminal in a different way than the man pages.
2
1
1
13
9
u/paulstelian97 Aug 10 '25
Yo holy fucking shit this is a funny one. I have never seen THIS one. Delete the dynamic loader?
Advice on how to get it back you have already received.
4
u/StretchAcceptable881 Aug 10 '25
Whatโs next an LLM suggestion to nuke grub? This is why regardless of LLM, there all dumb asses
3
u/paulstelian97 Aug 10 '25
Nuking Grub is something that can be on forums, but this delete the loader oneโฆ today is the first time Iโve ever seen it!
8
8
u/Foxler2010 Aug 10 '25
What in the fuck was Claude on when it told you to do this shit? Deleting the fucking dynamic linker?! When would that ever solve the problem? Literally there is no reason to be messing with these execs and libs. They should just be there, doing their jobs. And to fix an AppImage??? Seriously. This is why I'm so skeptical of current AI systems. Because they say shit like this with confidence.
5
u/Hytht Aug 10 '25
Claude was probably trained on reddit which made dangerous commands from trollers go into the training dataset.
1
7
7
u/Asterix_The_Gallic Aug 10 '25
Rule number one, NEVER EVER remove anything that's got: Linux, x86-64, lib64 and/or the distro's name written on it, You'll have to restore it manually
2
u/309_Electronics Aug 10 '25 edited Aug 10 '25
Sorry but its just funny and kind of your own fault for asking an Ai to help you. Yes Ai can be helpful in certain ways but when my friend first learned linux and was too lazy to read documentation or stackexchange he just asked Ai and they suggested to remove some critical directories to free up some space and help system run way better... It did.... Just it ran the application called 'kernel panic' really well and could not even open a shell. For anyone asking, it suggested to remove the bin directory ๐คฆ. And another case was when i was in my linux noob era that it somehow suggested to link the dynamic linked to something it was not supposed to (idk cant really remember anything) but it ended up bricking the system.
I wont attack you for it and we all learn and even if its a hassle, bleeding edge is the best way to learn what can be done and what should never ever be done and it helped me get better with linux and *nix and just understand it better. Welp it takes a reinstall or some live usb to restore the current disk but hey i hope you learned from it and i have too from past mistakes.
Use Ai for the higher up stuff like networking or desktop environment or apps or whatever but never mess with the lower end critical stuff or else the system wont be bootable. If i f up my network i can at least boot into the system and fix it
2
u/OC_Hyper Aug 10 '25
All the fault is mine bro, I'll definitely start reading documentation ๐๐พ ๐ญ
5
4
1
1
u/Massive_Town_8212 Aug 13 '25
Right click AppImage -> Properties -> Permissions -> Mark As Executable
I use arch btw
1
1
u/pentabromide778 Aug 13 '25
Hey OP, word of advice. It's perfectly fine to use AI for these kinds of things, and most people I work with do, however, when it comes to system management stuff, it would really benefit you to scrutinize what the AI is doing and maybe look up some of these commands before executing them.
1
1
1
1
3
u/tozz0r Aug 10 '25
since youre on an arch based distro, just boot into an arch based live environment (like endeavour, if you still have the iso) then
locate your bricked system with lsblk (usually sdX or nvme0n1)
mount your root partition (usually partition 2) to /mnt
mount your efi partition (usually partition 1) to /mnt/boot/efi
sudo pacstrap /mnt base. this will reinstall every core arch package, so it might take a while
then boot into your fixed system. if anything else is broken, then at least you have your dynamic linker/loader back so you can boot back into your live environment and chroot into the broken system to fix things
3
u/Downtown_Research_59 Aug 10 '25
I think you have got your answer in the comments.
It's perfectly fine to brick your system when you're new to this thing. The next time use AI to just find what the problem is. It's surprisingly very effective on finding bugs especially when you have a very long log file to read. I frequently get issues with my graphic drivers(nvidia). And it helped me every time to identify the problem.
3
2
2
u/Austiiiiii Aug 10 '25
So the first step to fixing your problem here is cancelling your Claude subscription.
2
u/pointenglish Aug 10 '25
no way ai told you to delete a dynamic loader lmaooo. Claude trolled you real hard.
2
u/Astrodude80 Aug 10 '25
And now youโll never run random commands from the internet without knowing exactly what they do!
2
Aug 10 '25
ChatGPT once recommended "sudo rm /usr/bin/python" instead of "sudo apt-get install --reinstall python3"
2
u/Catenane Aug 11 '25
It's only a matter of time until it's suggesting people to mix bleach and ammonia to make "crystals" like the old 4chan threads lol....
BTW it shouldn't have to be said, but I'm going to say it anyways. Don't ever mix bleach and ammonia (or bleach and anything really, unless you know what you're doing) unless you want permanent lung/eye damage and likely death.
2
u/lovechii Aug 11 '25
As it is just arch, you can save easily with a bootcd/bootUSB and chroot :
https://wiki.archlinux.org/title/Installation_guide#Chroot
I am not sure if you're GNU/linux level is enough for doing that. It is not difficult but you must understand the linux structure.
2
u/Grubbauer Gentoo Aug 12 '25
Oh, that is tragic. The command that you have run inside of your terminal runs a command that deleted the DYNAMIC LINKER. (That is why I whip myself every time with a belt when I use AI). Never trust AI models. I hope you have fixed your issue, because the dynamic linker is hard to get back without any experience. Also, when the CEO of Claude-AI's company said "90% percent of code will be written by AI", he was not only wrong, but COMPLETELY wrong.
But my advice: Borrow a friends laptop, install Endeavor on it, copy the deleted file, boot into a live usb, and replace the file.
2
u/WhatInTheBruh Aug 12 '25
One hell of a conversation with AI.
Yes it made you blow up your computer, but while troubshooting damn it gave suggestions after suggestions to fix it like actually speaking to an support guy or even better.
Crazy times
2
2
2
2
2
2
1
1
Aug 10 '25
It seems that you just deleted an important system library. Maybe you can try chrooting into the system with a Live USB drive, and reinstall glibc package (which provides the dynamic linker).
This is a major problem so I don't have confidence in whether it can be solved.
1
1
1
1
u/dumbasPL Aug 11 '25
Well you learned your lesson the hard way. Now boot a live CD and reinstall glibc from a chroot.
1
u/BlazingThunder30 Aug 12 '25
I corrupted my filesystem, system libraries and dynamic linker recently by pulling the power during a kernel update.
1
1
u/throwaway275275275 Aug 12 '25
This is like deleting the system32 directory on windows, but on Linux
1
1
1
1
1
-1
-9
35
u/OC_Hyper Aug 10 '25
Thanks to everyone that gave suggestions, especially u/lonelyroom-eklaghor and u/solarized_dark. I kept prompting Claude, and it regurgitated enough commands to help me mount and copy /lib/ld-linux-x86-64.so.2 from my Endeavour OS live USB ISO back to my Endeavour OS install. Here is the link to the chat (I was pretty stupid for the entire interaction): https://claude.ai/share/65f438c9-7f25-4a12-a708-1ce0104d997c