This Wrong Command Could Brick Your Linux Laptop

Advertisement
By Manish Singh | Updated: 2 February 2016 18:12 IST
This Wrong Command Could Brick Your Linux Laptop

If you have a Linux-powered computer, you would want to be extra careful when erasing your existing build from the device. Turns out, one command can end up bricking your device.

The issue was first reported by a user last month on Linux Arch forum. The user noted that he executed the "rm -rf --no-preserve-root /" command. This command was supposed to get rid off the Arch build from the user's MSI notebook, but it bricked the device instead.

"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. Is it possible that we caused permanent damage to the BIOS by running "rm -rf /" ?," the user wrote (via The Next Web).

Advertisement

As comments on the forum thread point out, the folder /sys/firmware/efi/efivars, which stores scripts and boot information, got deleted by the command. It should have been a read-only folder, that is, preventing a user from making any writes on this folder, however, that doesn't seem to be the case.

Advertisement

"Of course, I would blame whoever have designed a firmware that's so easily brickable. That's said, I also think that GNU/Linux (I mean the whole system) should do with what they have. I find it a problem that systemd mount such sensitive directory in a hardcoded way," another user noted. "The proper solution would be for systemd not to mount it unless it appears in /etc/fstab. That's what was the traditional way of mounting things. Note that efivars is not at all indispensable to have a running system."

Currently, only MSI laptops seem to be affected with the vulnerability, though you might not want to try your luck with a laptop from a different manufacturer.

 

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Further reading: Laptops, Linux, MSI
Advertisement

Related Stories

Popular Mobile Brands
  1. Nothing's Independence Day Sale: Discounts on Ear A, Buds 2 Plus and More
  2. Vivo T4 Pro India Launch Teased; Flipkart Availability Confirmed
  3. Vijay Sales Freedom Sale Brings Discounts on iPhone 16 Pro Max and More
  4. Honor X7c 5G Will Launch in India Later This Month
  5. iPhone 17 Air in Sky Blue Colourway Appears in a Video Online
  1. Scientists Apply Stephen Hawking's Theory to Propose Detectable ‘Black Hole Morsels’ in Space
  2. China Advances Guowang Internet Constellation with Latest Satellite Launch
  3. ESA’s Mars Express Discovers Deep Valleys and Frozen Features Hinting at Mars’ Icy Past
  4. New Physics-Based Model Sheds Light on How Deep Neural Networks Learn Features
  5. Cosmic Visitor: 4.56-Billion-Year-Old Meteorite Strikes into Georgia Home
  6. Apollo 13 Commander Jim Lovell, Hero of Space Crisis, Dies at 97
  7. NASA Missions Uncover a Diverse Galaxy of Super-Earths, Raising New Questions About Planetary Evolution
  8. Isolated Now Streaming on Netflix: Everything You Need to Know
  9. Tehran Now Streaming on ZEE5: What You Need to Know About John Abraham Starrer High-Stakes Spy Thriller
  10. 84 Toh Baad Now Available for Streaming on This OTT Platform: A Gripping Punjabi Thriller Exploring the Shadows of 1984
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.