The 'rm -rf –no-preserve-root /' command in Linux can permanently damage your Laptop!
Attention!

Last January, a user posted on the Arch Linux forums claiming to have broken his own laptop after running the command 'rm -rf –no-preserve-root /' . However, this command is known to erase the existing Linux and nothing else. Well, this world is not that simple, and Arch Linux forum user 'user 9233' is a living example of this.
To 'get rid' of the Arch Linux installation on his MSI Notebook and avoid reinstalling, he decided to run this command. Then, when he tried to boot into the BIOS, absolutely nothing happened.
On the Arch Linux forum, he writes:
“Today, a friend and I ran the command “rm -rf –no-preserve-root /” on an MSI Notebook because we wanted to get rid of the Arch installation. Of course, we could just format the root partition and reinstall Arch. Instead, we thought it would be fun to watch the GNOME installation die. We removed everything except root (/).”
https://www.secnews.gr/103180/dual-boot-kali-linux-with-windows-10/btn-large” variation=”btn-info”]Read more: How to dual boot Kali Linux & Windows 10!! Step-by-step
And then he explains the unfortunate outcome of things:
“The (unpleasant) surprise came when we tried to boot into BIOS: it didn't work!
The screen remained inactive, the HDD LED lit up for a few seconds but nothing else happened! .”
It is possible that the folder in /sys/firmware/efi/efivars/ was corrupted by the command. This location stores scripts and information needed to boot the computer. If something happens to /sys/firmware/efi/efivars/ , the computer will be corrupted and fail to boot again.
So far, this issue has only been reported for MSI laptops. However, in the comments following the original rant, a user reports the same issue for his Lenovo.
— Arch Linux Forum
https://www.secnews.gr/103137/%cf%80%cf%89%cf%82-%ce%bc%cf%80%ce%bf%cf%81%ce%b5%ce%af%cf%84%ce%b5-%cf%86%cf%84%ce%b9%ce%ac%ce%be%ce%b5%cf%84%ce%b5-%ce%bc%ce%b9%ce%b1-%ce%bc%cf%85%cf%83%cf%84%ce%b9%ce%ba%ce%ae-%ce%ba%cf%81%cf%85/See more: Build a secret – hidden storage device! [images]
