192
u/john_palazuelos Sep 14 '21
I'm going to erase the efi variables
go on, see if I care!
86
u/NiceMicro Dualboot: Arch + Also Arch Sep 14 '21
if your motherboard manufacturer uses an EFI chip that correctly implements the EFI standards, it should be reset to factory conditions if I'm not mistaken.
Most motherboards however implement the standards in a way that it barely works, so, expect a bricked motherboard. :(
48
Sep 14 '21
I used efibootmgr and deleted all of the EFI entries, I even deleted the ones for USB. I was able to get into the UEFI/BIOS but could not get the BIOS boot menu to show anything. I reset the BIOS to factory, no entries still. I ended up booting with a Ventoy USB mem stick, it booted to the Ventoy menu and I was able to reinstall Pop!_OS, which I was going to do anyway, I wanted to remove all of the Windows entries and the extra Linux Distros as I had been testing a few different ones at the time. After installing Pop, the entries for Pop and USB and Network booting were back.
33
u/john_palazuelos Sep 14 '21
Never reached this level of despair. The closest I had was when I was trying to enable secure boot but something did really wrong and I couldn't reach the UEFI bios anymore. Somehow I was able to drop to the EFI shell and disable it. I think that's the closest to brick my mobo.
13
3
u/railwayrookie Sep 14 '21
I once did this. I just reverted to legacy BIOS boot and left the mess under a carpet.
0
Sep 14 '21
[deleted]
7
Sep 14 '21
I cannot remember if the EFI shell came up or not. But I will not do that again, so I will not be finding out.
5
u/PolygonKiwii Glorious Arch systemd/Linux Sep 14 '21
Unless you have a really shitty board with buggy firmware, which actually get bricked if you delete all efi vars (some thinkpads, allegedly)
8
u/kitchen_synk Sep 14 '21
My favorite feature on modern motherboards is BIOS flashback.
Barring a physical fault, good modern motherboards are near unbrickable.
→ More replies (2)2
u/PolygonKiwii Glorious Arch systemd/Linux Sep 14 '21
I agree with your assessment except I think nowadays most motherboards have UEFI implementations that are decent enough. I think a bricked board would be the exception rather than the rule.
2
u/NiceMicro Dualboot: Arch + Also Arch Sep 15 '21
so maybe Poettering's WONTFIX NOTABUG prayers have been answered.
→ More replies (2)
608
Sep 14 '21
windows, where it's easier to delete system32 than it is edge or cortana
176
Sep 14 '21
Years ago I knew someone that just up and deleted their system(this was before 64 bit) directory because they needed space on their HD.
111
u/TheAceBlock Sep 14 '21
I actually did exactly that when I was like 8. I was cleaning my computer for garbage files and I saw that there are a lot of files in
System32and thought "that should just be a bunch of 'garbage' files". I then proceeded to download some "force delete" tool after Windows said that I am not allowed to delete that folder, and when I rebooted it's just black screen. This is the first time (and probably the last time) that I had someone to fix my computer.Then I learned how to install Windows from USB drive.→ More replies (16)30
u/RevRagnarok Since 1999 Sep 14 '21
Years back my mother did this. Her HD was filling up, and she erased a bunch of files with the Windows logo on them. She thought the logo was IE and she said "I use Mozilla!" Her second line of defense was "you should be proud of me; most women my age would be afraid to do it!" "You should be afraid to do it, because you just lost your whole computer!"
Merging Windows kernels was the best thing for her; she didn't get admin from then on and I got a lot fewer tech support calls.
→ More replies (5)17
u/_evil_overlord_ Sep 14 '21
would be afraid to do it!
And she's absolutely right. I was teaching some elderly folks how to use windows/office and they were afraid of absolutely fucking everything. Courage and experimentation is how you learn new things. You rarely can break modern software. Worse case scenario it's an OS reinstall, but it's a valuable lesson :)
12
u/cutchyacokov Probably recompiling my kernel. Sep 14 '21 edited Sep 14 '21
System32 was called System32 before 64bit Windows. You're (probably) thinking of "Program Files" and "Program Files (x86)" the latter was introduced in XP x64. System32 went the other way, the 64bit "System32 directory" was called "SysWoW64." Where WoW stood for Windows on Windows. I just checked my work computer and it looks like sometime since XP x64 the SysWoW64 folder was renamed to System. Unless I'm missing something, I do remember just a System folder way back too but System32 was definitely a thing on XP 32bit and 2000.
Edit: I'm not actually sure SysWoW64 was 64 bit and System32 was 32bit, it would have been confusing but I wouldn't put it passed MS to make System32 64bit but keep the name for historical reasons and make the SysWoW64 folder to handle 32bit stuff. I'm not saying that's what it was for sure but I vaguely remember there being something stupidly counter-intuitive about the way that was handled.
→ More replies (1)5
u/s_s i3 Master Race Sep 14 '21
XP x64
You mean XP Professional x64
Windows XP x64 was a special version released to run on Intel Itanium processors.
→ More replies (2)11
u/fuckEAinthecloaca Glorious i3 Sep 14 '21
There's the classic tale of the person that sorted all the different filetypes in system into their own directory to make things tidier.
2
25
u/FortressValkriye Sep 14 '21
I think you can uninstall Cortana with Winget.
6
14
u/freeturk51 Biebian: Still better than Windows Sep 14 '21
you also can uninstall edge that way
47
u/themedleb Sep 14 '21
Edge after a (forced) Windows update: Hi, I'm back! I miss you.
46
u/Stig27 Sep 14 '21
Seeing you must have uninstalled me accidentally, I've reinstalled, pinned to the task bar and start and set myself as preferred browser, so we can be friends forever!
21
u/setibeings Sep 14 '21
I feel like at some point, microsoft is just proving what a bad reputation IE has had. They ditched the name, ditched the engine, changed the icon, changed the engine out again for the one that "everyone" uses. Now it's just a bunch of engineers making bets on how hard they can make the task of avoiding using it, and still have their users avoid using it.
→ More replies (1)→ More replies (2)12
u/RevRagnarok Since 1999 Sep 14 '21
set myself as preferred browser
And then when you try to change it back...
I'm not that bad, I promise! UwU
→ More replies (1)3
u/Technical_Experience Glorious Fedora Sep 14 '21
I tried on windows 11..
Wouldn't let me.
There might be a more forceful way of doing it than i did, but eh.. Too lazy to care.8
Sep 14 '21
Or just use LTSC so there's 0 bloatware included.
4
u/FortressValkriye Sep 14 '21
But that's piracy, unfortunately.
23
Sep 14 '21
I try to pirate literally everything that costs money. Random film that I can't watch the next 5 seasons on Amazon Prime? I pirate it. eBook that Google Play Books won't let me buy because it's "not available in my country"? I pirate it. Good but overpriced AAA game? I pirate it. Image manipulation program that can only be used if you buy a 10 trillion Bezos Pezos license key? I pirate it. Good antivirus that also costs 10 trillion Bezos Pezos? I pirate it. Literally the only thing I don't pirate are things made by small indie developers that deserve their money.
→ More replies (14)2
11
u/Nova_496 Sep 14 '21
Funny but I don't think it's true. Both can be uninstalled with a simple PowerShell command.
10
6
1
Sep 14 '21 edited May 19 '24
spotted tease cooperative bright panicky detail rock cough knee heavy
This post was mass deleted and anonymized with Redact
1
u/Hplr63 Arch 🤝 Debian Sep 14 '21
takeown /f C:\Windows\System32 /r
del C:\Windows\System32\*
30 characters + 24 characters
1
u/TheAwesome98_Real i make my own linux distros :troled: Sep 20 '21
AAAAAA FORMATTING
su Administrator takeown /rf system32 del /rf system32EDIT: spelling
EDIT 2: FORMATTING BROKE ITSELF I SWEAR IT WASNT ME
EDIT 3: I’m cursed with formatting today
102
u/davidjackdoe Sep 14 '21
Bootloaders are bloat, I'll manually load my boots.
31
u/CAM_o_man Glorious Arch Sep 14 '21
Stupid question: Is it actually possible to manually load boots?
41
u/Traches btw Sep 14 '21 edited Sep 14 '21
Sorta. These days the linux kernel can be its own bootloader, so if you only ever boot in one configuration you don't need a bootloader.
→ More replies (3)6
u/indomiebestfood Glorious Artix Sep 14 '21
If I'm not wrong, you can do this with efibootmgr, yes?
→ More replies (1)→ More replies (1)8
u/noradis Sep 14 '21
On the PDP-11 computer (where Unix originated) you could insert assembly opcodes into memory using the front panel. It could technically be done with a whole kernel but that's a whole new level of tedious.
→ More replies (2)
81
u/unnamed_enemy Sep 14 '21
You don't need bootloader if you don't turn off your system.
Uptime go brrrr.....
5
1
u/grem75 Sep 15 '21
You can wipe your whole MBR, partition table and all, the system will continue to run. Just don't turn it off or try to mount/remount anything on that drive.
I once dd zeroed the MBR of the wrong drive and recreated the partition table from memory and reinstalled the bootloader before shutting down.
0
Sep 14 '21
[deleted]
13
56
u/adevland no drm Sep 14 '21
Taking things apart, intentional or by accident, is the best way to learn how they work. Disclaimer: it can also lead to learning other things and a heightened sense of curiosity.
5
u/gosand Sep 14 '21
̶c̶u̶r̶i̶o̶s̶i̶t̶y̶
You spelled urgency wrong.
2
u/B_Rumblefish Sep 28 '21
Ah yes, like having to log into a zoom meeting from a live install because you broke your OS. And you just smile and say you need to sort out some configuration issues before you can meet the deadline.
103
u/UnitatoPop Absolutely Proprietary ChromeOS Sep 14 '21
Accidentally uninstalling your desktop environment. Yeah that's sucks
40
u/ejgl001 Glorious Fedora Sep 14 '21
sometimes when I try to xkill a programme i kill my DE by accident xD
4
38
u/apoliticalhomograph All hail the Arch wiki Sep 14 '21
Pretty easy to fix, tbh.
29
u/thexavier666 Glorious Linux + i3 Sep 14 '21
But scary the first time
4
u/minilandl Glorious Arch Sep 14 '21
First time you try a WM many like bspwm just show a black screen when not configured.
8
8
3
u/Larsenist Glorious Arch Sep 14 '21
I did this when I was a newbie. I was using the software management GUI and uninstalled something that was a dependency of gnome and it uninstalled all of gnome. After being stuck in the terminal, I did a full reinstall of Manjaro. lol
116
u/bkdwt Glorious Windows NT 4.0 SP6a Sep 14 '21
hey can I uninstall systemd
hey can I uninstall gnome
uninstall the entire system
hehehe, nothing personal, kid.
1
31
Sep 14 '21
In general is way easier to install and use any Linux distro than to burn with fire and scripts the bloatware and telemetry on a fresh Windows installation for hours.
72
Sep 14 '21
sudo pacman -Rns sudoI ended up reinstalling my system after doing this with a disabled root user
111
u/riasthebestgirl Glorious Arch Sep 14 '21
Pretty sure
chrooting from the live environment could've saved you a reinstall35
Sep 14 '21
Yes, I have panicked and overlooked the other options, but at least it taught me a lesson to calmly analyze the situation and always look for the least invasive solutions available
→ More replies (11)16
u/Patsonical NixOωOS Sep 14 '21
chrootsaved my ass so many times! It's beautiful cuz it can get you root access to the system no matter what since it bypasses the bootloader, systemd, login, network, all that crap, and gets you right in.7
3
3
1
u/mirsella Glorious Manjaro Sep 14 '21
would
suthenpacman -S sudowork ?8
u/NiceMicro Dualboot: Arch + Also Arch Sep 14 '21
not if superuser is disabled.
booting from the Arch Live USB and then chrooting or pacstraping sudo would though.
64
u/Tanner9078 Glorious Kubuntu Sep 14 '21
Linux is the definition of freedom
6
u/Aurora_Glide Glorious Arch Sep 14 '21
I think GNU would fit that definition more. This isn't about the name controversy, just the fact that the GNU project is specifically meant to give freedom.
6
u/Zambito1 Glorious GNU Sep 15 '21
Linus also explicitly does not care about users freedom. The GPL is just a means for him to get contributors (which is a good thing, but not the only good thing). If he cared about user freedom, Linux would be GPLv3 by now. Unfortunately, the most locked down (from me) device I own runs on Linux (Android phone). The most freeing devices I own run GNU (usually over Linux). The common denominator between the least free device I own, and the most free device I own is Linux.
6
13
13
Sep 14 '21
windows explaining why it is crucial for your system to have Microsoft Classic Solitaire Collection installed orelse it will result in the second coming of the Cthulhu
1
23
u/Magnus_Tesshu Glorious Arch Sep 14 '21
Bootloader is bloat, just don't reboot idiot
8
Sep 14 '21
You also don't need a kernel to manage your system resources, just manage them yourself.
2
u/midir Sep 14 '21
Most of the things that computers make it easy to do don't even need to be done. Real hackers just don't bother with a computer.
28
u/PenaflorPhi If Gentoo is so good, why isn't there a Genthree? Sep 14 '21
29
u/FungalSphere I don't even know what I am doing anymore Sep 14 '21
12
u/Strostkovy Sep 14 '21
I've worked with several windows controlled lasers. Sucks balls
8
u/mynamehere90 Glorious Arch Sep 14 '21
I've seen the aftermath of an electron beam welder running in a vacuum crash when windows decided to do an update. $100,000 welding module needed to be replaced, $70,000 worth of scrap parts from the explosion in the vacuum, and an operator that shit his pants. Windows automatic updates had been disabled because it was a production machine but it decided to turn those back on at some point.
→ More replies (1)3
9
17
Sep 14 '21
rm -R / | yes
Okie dokie boss…
I think I found my sub. Fuck pcmasterrace, windows loving jabronies
3
1
0
Sep 14 '21
[deleted]
→ More replies (1)2
u/Aurora_Glide Glorious Arch Sep 14 '21
You're right. The output of yes should be piped into the other command, so the command receives a stream of "y". That pipe should be the other way around.
8
u/Dub_Monster Glorious Debian Sep 14 '21
I troubleshooted problem with LAN not working intermittently. Uninstalled NetworkManager in Debian just to figure out I need network connection to download it again. Luckily I found way to somehow manually connect back
1
7
u/vohltere Sep 14 '21
echo c > /proc/sysrq-trigger
0
Sep 14 '21
[deleted]
4
u/Lonkoe Glorious Fedora Silverblue Sep 14 '21 edited Sep 14 '21
Lol going to test it right now
EDIT: It seems that I had disabled the sysrq, at the moment I am seeing more about its use
7
6
u/purpledickhead Sep 14 '21
Bruh fr, microsoft edge literally reinstalled itself while i was using my computer
1
u/T351A Sep 14 '21
Yes you need to disable the setting that tells windows to install the "new" chromium edge if it's not found during updates.
2
6
6
u/Nurgus Sep 14 '21
Serious question, what happened to MS getting into so much trouble for forcing their browser on everyone?
That seems to be gone and we're back to being forced to use Internet Explorer Edge.
I think maybe I missed something?
4
5
u/gudvinr Sep 14 '21
I once bricked PC by installing custom secure boot keys.
Turns out this process deletes built-in keys and Intel apparently had other keys apart from Microsoft ones that they do not list in public so it couldn't load GPU firmware or something like that. They RMA'd it though.
2
u/T351A Sep 14 '21
Unless you reflashed the firmware, most BIOSes have an option somewhere to reset to factory keys (separate from resetting the settings) or enter a setup mode and prompt for keys.
2
u/gudvinr Sep 14 '21
To enter setup mode you need PC that is able to boot in said mode. Even fallback mode that supposed to be accessible through jumper didn't work.
→ More replies (1)
8
4
u/max_ishere Sep 14 '21
Lmao. Speaking of dangerous things: i switched to zsh because i like * expansion because last time i ran something with * i had to reinstall my system
Dont run this, its gonna remove execute permission in bin and you will be reinstalling linux chmod 644 /*
Or be like me and think that chmod * in srv is the same as * in /.
2
u/gudvinr Sep 14 '21
chmod -x /lib64/ld-linux-x86-64.so.2If you also like to live dangerously
→ More replies (1)
4
3
3
u/rb3po Sep 14 '21
I want to post this to r/windows10, but they’ll just get mad at the truth
3
u/Froggypwns /r/Windows10 mod who also uses Ubuntu Sep 14 '21
Go ahead and post in on Monday (memes prohibited other days), you likely will get a ton of upvotes. It isn't like we don't know what Linux is, hell most of us also use Linux.
2
2
2
2
u/Fl1pNatic Linux Master Race Sep 14 '21
I actually remember the first time I was installing arch I fucked up the bootloader really bad, so bad I also accidentally deleted the home directory.
2
u/nierusek I don't use Arch btw Sep 14 '21
A friend of mine accidentally uninstalled X11 and half of other random packages on his Ubuntu. We had a lot of fun fixing that.
2
2
u/Crazy_questioner Sep 14 '21
I was trying to delete a specific file that had a really long path name so I tried to save time by clipping the location from one terminal into another with "sudo rm -r". Some how most of the file path got cut and I ended up deleting /usr or something like that. I had gotten through ten years of Linux without making an rm goof. Only at the point when I consider myself expert did I make the cardinal error.. Luckily I recently started using timeshift so I was able to recover quickly.
3
u/ydna_eissua Sep 14 '21
Unix won't prevent you from shooting your foot off, because it might prevent you from doing something clever.
2
u/mirh Windows peasant Sep 14 '21
I'm pretty sure you can remove edge.
It was internet explorer that was deep rotten in older windows versions.
5
3
u/T351A Sep 14 '21
You can remove both. IE11 is easy to remove in Win10, just go to the Features settings. Edge takes a few commands and you'll want edgedeflector to handle remaining URIs
1
1
1
1
1
1
1
Sep 14 '21
I was a long time windows user before I recently switched but I just find it funny that if you run one command as a super user you can delete everything after the root directory
1
1
1
1
1
1
Sep 14 '21
I did move a folder named debian, other than the grubx64.efi from the boot efi directory, to see if it is needed, so i broke my system and had to redownload it again
1
1
u/calimari_ tokyonight > dracula > nord Sep 14 '21
Sorry bro, I think I'd rather manage my packages myself
1
u/T351A Sep 14 '21
I literally uninstalled edge on a pc a few days ago... not too bad just a couple commands
1
1
u/newb_h4x0r Glorious Artix Sep 14 '21
Well you can uninstall edge now uaing winget, with a small restriction that it will reinstall on every big update.
Edit: you can do the same to cortana too.
1
1
1
u/Brillegeit Linux Master Race Sep 14 '21
Back when I started using Linux I broke 3-4 installs of Debian Sarge (2005-ish) in a day because I'd do dpkg -i package-from-the-internet.deb and APT would say something like:
This package depends on glibc-n+1, you're using glibc-n, I recommend uninstalling glibc-n and all packages depending on that package, is this what you want?
And I'd go: "Eh.... sounds good to me I guess, I assume you'd let me know if this was dangerous?"
1
u/Spocino Sep 14 '21
Who needs a bootloader (efistub) or even a bios (coreboot/heads) when you have linux?
1
Sep 14 '21
I got mad at windows not petting me remove something so i disabled UAC and deleted trusted installer as a user
1
u/hlmtre Sep 14 '21
Friend of mine uninstalled python on a Debian system. apt needs python. I think he ended up reinstalling the OS entirely.
1
1
1
Sep 15 '21
When I was a Linux noob I deleted bash, because I was stupid and didn't knew this would break the system
1
Sep 16 '21
One time I broke my system trying to remove some config files from a program that I had removed. I'm still not sure exactly what I did, but I think it involved deleting /usr
1
1
Sep 20 '21
reminds me of when i was installing arch for the first time only to boot into a system without any network interface present, it was funny and also very painful
1
u/TheAwesome98_Real i make my own linux distros :troled: Sep 20 '21
the thing is it would still boot if you squeezed a boot loader back in but good luck getting edge back
1
1
1
u/BurntBanana123 Nov 20 '21
Remember that time I deleted my partitions and wiped all my drives? I do. Please don’t ask, just keep a bootable USB nearby.
1
u/Particular_Depth5206 Nov 24 '21
Lol i accidently removed terminal once through terminal, it was just waiting for me to say a final good bye(press cross so that i never see it again)
1
u/1nekomata Glorious Mint Debian Edition and Arch Jan 17 '22
actually you can uninstall edge. within the edge program folder. should be either update.exe or install.exe. you need to run it with --uninstall --force --systemlevel iirc. that will remove edge from windows
370
u/chibiace Sep 14 '21
that time i was new to linux and removed glibc from slackware.