This Wrong Command Could Brick Your Linux Laptop

Advertisement
By Manish Singh | Updated: 2 February 2016 18:12 IST

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.

Advertisement

"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).

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.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Further reading: Laptops, Linux, MSI
Advertisement

Related Stories

Popular Mobile Brands
  1. OPPO K14 5G Overview: Segment's Smoothest and Longest-Performing Smartphone Under ₹25,000
  2. iPhone 18 Pro CAD Renders Confirm Smaller Dynamic Island
  3. Samsung's One UI 8.5 Update Finally Rolls Out to These Smartphones
  4. CMF Watch 3 Pro With Up to 13 Days Battery Life Launched in India
  5. Vivo X300 FE Arrives in India With a 50-Megapixel Zeiss Camera at This Price
  6. Apple Agrees to Pay $250 Million Settlement for Misleading Claims on AI
  7. Vivo X300 Ultra Debuts in India With 200-Megapixel Zeiss Cameras: See Price
  8. Vivo X300 FE Review: A Strong Contender With a Catch
  1. iPhone 18 Pro CAD Renders Reveal Smaller Dynamic Island, Identical Rear Camera Design
  2. Astronomers Discover Trans-Neptunian Object With Atmosphere in Outer Solar System
  3. Samsung's One UI 8.5 Update Finally Rolls Out to Galaxy S25 Series, S24 Series, S25 FE, Z Fold 7 and Z Flip 7
  4. Samsung Galaxy A27 5G Shows Up on Geekbench Again With Slightly Improved Performance Scores
  5. Adobe Unveils New Productivity Agent for Acrobat, Adds New Features to PDF Spaces
  6. Google's May 2026 Update for Pixel Devices Rolls Out With Fixes for Slow Wireless Charging, Screen Freezing Issues
  7. Colombia Seeks to Mine Bitcoin Using Surplus Renewable Energy From Country's Coastline
  8. CloudZ RAT Malware Could Exploit Microsoft Phone Link App to Access Messages and OTPs, Researchers Warn
  9. Vaazha II: Biopic of a Billion Bros OTT Release Date: When and Where to Watch This Malayalam Drama Film Online
  10. Dacoit: A Love Story OTT Release Date: When and Where to Watch Adivi Sesh and Mrunal Thakur Starrer Online?
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.