Okay, I'm "unbricked" now as I can finally boot up my system but BIOS is still corrupted.
I've instaled a new hard drive, with the help of a PXE environment I've set up partitions so that matches my old drive configuration and overriden the ESP UUID to the old drive UUID with gdisk and finally installed Ubuntu 16.04 on it. Anyways, USB Boot, DVD Boot and BIOS Settings are still a no-go. Trying to add, delete entries through efibootmgr errors out. Even setting timeout errors out: sfera@coruscant:~$ sudo efibootmgr -t 5 efibootmgr: Could not set Timeout: No such file or directory -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734147 Title: Ubuntu 17.10 corrupting BIOS - many LENOVO laptops models To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1734147/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs