Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
My Lenovo is now a brick
-
- Posts: 1
- Joined: 2018-09-26 01:34
My Lenovo is now a brick
I attempted to install Debian on my laptop (A Lenovo W540). Now when the laptop is booted I get a list of hard drives/USB devices where I could start the system from. But when I select any of them, I just get reverted back to the same screen. Is there a way to re-partition everything on a laptop that will allow me to get past this point? Or did I create a brick?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: My Lenovo is now a brick
I would remove the CMOS battery on the motherboard for half an hour and see if that resets the firmware.
There is no way that installing Debian would cause your machine to fail to boot USB sticks, it must be a coincidental failure.
EDIT: maybe I'm wrong then...
There is no way that installing Debian would cause your machine to fail to boot USB sticks, it must be a coincidental failure.
EDIT: maybe I'm wrong then...
Last edited by Head_on_a_Stick on 2018-09-26 05:11, edited 1 time in total.
deadbang
Re: My Lenovo is now a brick
found this searching internet for linux+Lenovo+w540
https://duckduckgo.com/html/?q=linux+Lenovo+w540
http://www.thinkwiki.org/wiki/Category:W540
https://duckduckgo.com/html/?q=linux+Lenovo+w540
http://www.thinkwiki.org/wiki/Category:W540
https://forums.lenovo.com/t5/ThinkPad-P ... -p/1400393
ATTENTION!
Do not install Linux if you are using a BIOS version prior to 2.08! Depending on your BIOS settings this can break your mainboard.
resigned by AI ChatGPT
- rivenathos
- Posts: 217
- Joined: 2009-01-09 11:57
Re: My Lenovo is now a brick
Ouch! I had assumed all Lenovo products were practically 100% Linux-friendly.I read all the info available. Interesting...bw123 wrote:found this searching internet for linux+Lenovo+w540
https://duckduckgo.com/html/?q=linux+Lenovo+w540
http://www.thinkwiki.org/wiki/Category:W540https://forums.lenovo.com/t5/ThinkPad-P ... -p/1400393
ATTENTION!
Do not install Linux if you are using a BIOS version prior to 2.08! Depending on your BIOS settings this can break your mainboard.
Running Debian on Dell: OptiPlex 3010, OptiPlex 7010, OptiPlex 9010, and Inspiron 1545.
Linux User #461545
Savannah, Georgia, USA
Linux User #461545
Savannah, Georgia, USA
Re: My Lenovo is now a brick
I would be interested to learn how any Linux operating system could break a computer's BIOS or UEFI firmware. The only thing I can think of where an OS routinely updates a motherboard's firmware is the setting of the boot order during installation on UEFI-based computers (the boot order must be stored somewhere "inside" the firmware). Also there is the efibootmgr utility available under Linux, which does the same function - I wouldn't surprised if the Linux installation programs don't use the efibootmgr program to set boot order. But even that "shouldn't" brick a computer, because you "should" always be able to override the boot order from within BIOS/UEFI setup screens during boot.
So while I can see it might be possible for Linux to muck with the BIOS/UEFI code, and break it, I don't see why it would. I would like to think Linux takes special care to avoid doing any such thing. Anyone have insights on this?
So while I can see it might be possible for Linux to muck with the BIOS/UEFI code, and break it, I don't see why it would. I would like to think Linux takes special care to avoid doing any such thing. Anyone have insights on this?
Re: My Lenovo is now a brick
OP, please check your BIOS version!
that was the old lenovo.rivenathos wrote:I had assumed all Lenovo products were practically 100% Linux-friendly.
- FreewheelinFrank
- Global Moderator
- Posts: 2112
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 231 times
Re: My Lenovo is now a brick
Have I missed something here? Looking at the Lenovo forum link above, it seems that the original issue was installing *Windows* bricking the machine. It looks like installing any OS bricks this computer- some sort of issue with a specific SSD? Sorry if my casual glance at this thread has given me a mistaken impression, but this doesn't seem to be a Linux issue particularly.
- Ardouos
- Posts: 1077
- Joined: 2013-11-03 00:30
- Location: Elicoor II
- Has thanked: 1 time
- Been thanked: 4 times
Re: My Lenovo is now a brick
I remember there was a time when rm -rf / would break computers, something with systemd and EFI systems. It has been patched now though. I remember it happened to someone I know.tynman wrote:I would be interested to learn how any Linux operating system could break a computer's BIOS or UEFI firmware.
Correct me if I am wrong though.
There is only one Debian | Do not break Debian | Stability and Debian | Backports
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀
Re: My Lenovo is now a brick
This is possible when efivars is mounted read-write. AFAIK all distros mount it ro nowadays as a precaution. Not sure about Debian, I stopped using it when Debian switched to systemd.
-
- Posts: 190
- Joined: 2018-05-05 22:30
Re: My Lenovo is now a brick
Can you boot the system into its BIOS setup? This should (I say SHOULD) be possible even if there is no HDD present. If you can then maybe looking up the BIOS version is the first thing to do, then possiby much through it looking for security settings, boot devices etc. What does Lenovo supply for a BIOS update utility?
Re: My Lenovo is now a brick
It won't boot even into setup if firmware was erased or corrupted via efivars mount.
^^ This will brick your board. You need to remount it rw beforehand.
Code: Select all
rm /sys/firmware/efi/efivars/*
-
- Posts: 190
- Joined: 2018-05-05 22:30
Re: My Lenovo is now a brick
"if firmware was erased or corrupted via efivars mount." Quite so. So if it does boot into setup that isn't the problem.Segfault wrote:It won't boot even into setup if firmware was erased or corrupted via efivars mount.
^^ This will brick your board. You need to remount it rw beforehand.Code: Select all
rm /sys/firmware/efi/efivars/*
Re: My Lenovo is now a brick
Thinking about it. Linux cannot brick the board because it does not write into efivars. But Grub2 can. When Grub install is run then one of commands issued is efibootmgr adding the entry. Now, if the firmware is not standards compliant then firmware corruption may occur.
So I believe it is probably possible install Linux without bricking this laptop and use some other boot method, like EFI stub kernel.
Here is shown how you unbrick it.
So I believe it is probably possible install Linux without bricking this laptop and use some other boot method, like EFI stub kernel.
Here is shown how you unbrick it.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: My Lenovo is now a brick
Segfault wrote:This is possible when efivars is mounted read-write. AFAIK all distros mount it ro nowadays as a precaution. Not sure about Debian, I stopped using it when Debian switched to systemd.
Code: Select all
empty@stretch:~ $ grep efivars /proc/self/mounts
efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
empty@stretch:~ $
Code: Select all
rm -r /sys/firmware/efi/efivars/*
EDIT: that machine uses systemd-boot rather than GRUB.
EDIT2: did a bit of digging and it turns out that the efivars are all immutable and cannot be deleted with a simple `rm -rf`:
https://www.kernel.org/doc/Documentatio ... ivarfs.txt
deadbang
Re: My Lenovo is now a brick
Not sure if it has to do with your problem or machine specifically, but a bunch of Lenovos that came my way had a problem with linux that required BOTH secureboot to be off and IMOUU to be turned off or set to legacy before any type of bootloader would work (that wasn't the installed windows 8 version).michaelbesselman wrote:I attempted to install Debian on my laptop (A Lenovo W540). Now when the laptop is booted I get a list of hard drives/USB devices where I could start the system from. But when I select any of them, I just get reverted back to the same screen. Is there a way to re-partition everything on a laptop that will allow me to get past this point? Or did I create a brick?