Running this command on a Linux laptop can change the device bricks permanently.

Source: Internet
Author: User
Tags arch linux

Running this command on a Linux laptop can change the device bricks permanently.

A user posted a question on the Arch Linux Forum last month, why is it that his notebook cannot be started after running a simple "rm-rf-no-preserve-root/" command. If you have a Linux foundation, you should know that running this command is actually stupid, But it generally does not produce any destructive hardware results. However, running this command on an MSI notebook may cause the EFI boot partition to be completely cleared.

The user who posted a post on the forum is called "9233". In his post, he said: "Today, my friend and I ran the rm-rf-no-preserve-root command on an MSI notebook because we wanted to solve the Arch installation expansion problem. You can also format the root partition and reinstall Arch ." (He mentioned later that instead we thought it wocould be fun seeing the GNOME installation die ...)

In fact, the path to damage the system is/sys/firmware/efi/efivars, which stores the information required to start with the EFI standard (replacement of the old BIOS. After the folder is damaged, the device cannot be started. The notebook is changed to a brick and cannot be repaired.

The discussion was also initiated on GitHub. Developers all said that the directory of EFI startup data should not be completely writable. It is unreasonable to run a command to change hardware bricks. At present, this problem seems to have only affected the MSI notebook. Since there should not be many people who dare to make such an attempt, it will not attract much attention.

However, a device can be permanently destroyed so easily and permanently, which is still a terrible thing, even if the command itself is stupid.

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.