Short Bytes: The mere thought of permanently damaging your laptop is daunting. But, what if you are trying to erase your current Linux installation and you end up hard bricking your device? One such incident happened with a user who ran the ‘rm -rf –no-preserve-root /’ command and ended up breaking his laptop.
To get rid of the Arch Linux installation on his MSI Notebook by avoiding simple reinstallation, he decided to run this command. Afterwards, when he tried to boot into the BIOS, it didn’t work.
On the Arch Linux forum, he writes:
“So today me and a friend ran “rm -rf –no-preserve-root /” on a MSI Notebook because we wanted to get rid of the pretty bloated Arch installation. Of course we could have just formatted the root partition and reinstalled Arch. But instead we thought it would be fun seeing the GNOME installation die. We weren’t dumb enough to leave important partitions mounted. We unmounted everything except of root (/).”
Explaining the unfortunate outcome, he writes:
“But the unpleasant surprise came when we tried to boot into the BIOS afterwards:
It didn’t work. The screen stays off, the HDD LED turns on for a second but nothing else happens.”
It’s possible that the folder at
/sys/firmware/efi/efivars/ was destroyed due to the command. This location stores the scripts and information used to boot the computer. If something happens to
/sys/firmware/efi/efivars/ , the computer is hard bricked and it fails to turn on anymore.
At the moment, this issue is reported only in MSI laptops. However, in the comments following the original rant, one user complained about the same issue reported in his Lenovo machine.
Whatever the reason may be, losing your machine permanently is very frustrating. The fossBytes readers are advised to format their machines in case they want to erase a Linux installation.
— Arch Linux Forum
Do you have any remedy for this damage to MSI laptop? Let us know in the comments below.