Lenovo ThinkPad X1

From ArchWiki
Revision as of 21:42, 20 February 2013 by Silverhammermba (Talk | contribs) (UEFI: add gotchas for booting using efibootmgr entry)

Jump to: navigation, search

Model description

Lenovo ThinkPad X1, Sandy Bridge (Core i5, 2,5 GHz), NWG2MRT This model has SSD 80/HDD 320 pair. Comes without optical drive. Has UEFI BIOS with BIOS-legacy fallback mode. Has Windows 7 Pro pre-installed, with tons of bloatware (bing toolbar, big Lenovo superbar button et all) pre-installed, too.

Drive space customization

By default:

- SSD: two WinRE partitions and one Windows system partition
- HDD: blank

I've chosen to:

- leave WinRE untouched (there are two such partitions)
- use SSD for my root partition
- use HDD for swap, /home, /var (~30 Gb, pacman cache goes here), /tmp

Installation method

Note: If you'd like to create Windows recovery flash drive, do it before Arch installation with the help of autorun located at recovery partition, from your installed Windows system.

Due to the fact that there is no optical drive, you need to install Arch from USB stick.

The lazy way to install is just default installation, works flawlessly. Installed system will boot in legacy-BIOS mode.


Note: This procedure reflects a single user's experience, and no attempt was made to experiment with different settings.

Download the official ISO or create your own using something like Archiso. Follow the instructions for creating a UEFI bootable USB from the ISO. Note that the default bootloader works fine so there's no need to install an alternative one like rEFInd. In the BIOS under Startup, set "UEFI/Legacy Boot" to UEFI only and turn off CSM support (this step might not be necessary, try skipping it first if you like).

Upon saving your changes and restarting, the UEFI boot options from the USB stick should come up and you can proceed to installing Arch.

It appears that the default partition table (and Windows installation) uses MBR. To use UEFI, you should reformat the disk as GPT (wiping the drive in the process). Follow the instructions for creating the EFI system partition. gdisk recommends a size of 300M. Follow the Beginner's Guide to see how to correctly generate (and then fix) the fstab entry for the ESP.

Booting using an efibootmgr entry is quite simple (and doesn't require any extra packages). Simply follow the instructions for creating the EFISTUB and adding the efibootmgr entry. Note that the note about Lenovo Thinkpads truncating the UEFI options doesn't apply to the X1: the recommended efibootmgr entry works just fine. The note about escaping the backslashes in the initrd path **does** apply, verify with efibootmgr -v that the boot entry doesn't have any missing characters.


Just everything works out of the box. I installed only synaptics and video-intel drivers.

Power management

Just consult Laptop page to read about tp_smapi, pm-utils, uswsusp and acpid.

Suspend works fine, even with status indicator.

Other notes

I will improve this page after several days using this laptop. Today is mine first day of it.