How to Undo in Vim / Vi text editor

To update the firmware on a Lenovo ThinkPad X1 Extreme or P1 Gen 2 on Linux, you can use the fwupd tool. Here are the steps to update the firmware:

  1. Install the fwupd package on your Linux system, if it’s not already installed. On Ubuntu or Debian, you can install it with:
sudo apt-get install fwupd

On Fedora, you can install it with:

sudo dnf install fwupd
  1. Make sure your system is up to date with the latest firmware definitions by running:
sudo fwupdmgr refresh
  1. Check to see if there are any updates available for your ThinkPad by running:
sudo fwupdmgr get-updates
  1. If there are updates available, you can install them by running:
sudo fwupdmgr update
  1. After the update is finished, reboot the system.

Please note that these are general steps and you should refer to the official Lenovo documentation and Lenovo Vantage for more information, as the firmware update process may vary depending on the model and version of your ThinkPad.

It is also important to verify that your system is on AC power, as firmware update on battery may cause your system to lose power and may cause damage to the system.

Also, Before proceeding with a firmware update, you should make sure to have a backup of all important data, and also make sure to read the release notes and instructions provided by Lenovo very carefully as firmware update can cause damage or loss of data if not done correctly.

Leave a Comment