Solving Lenovo Thinkpad t470p stuck on Lenovo logo screen problem

For a couple of weeks I’ve been suffering an irritating problem when my laptop tried to boot, it was completely stuck on Lenovo logo screen, after reading a lot of Lenovo Support pages, one of the most common reasons shared by people which was causing this issue in their cases was a hardware problem, for example if your internal SSD drive starts failing you could have this problem, so I was checking that my internal hard drives, USB ports, … were working completely fine, so I decided to give it a try to another theory according to which resetting CMOS (Complementary Metal Oxide Semiconductor) and also setting default values in UEFI BIOS could fix this problem. To resetting Thinkpad’s CMOS is needed to disconnect and reconnect its CMOS battery, this procedure is pretty easy and you can follow explained steps in this page to do that.

Then the next step was set default values in UEFI BIOS and then check if my laptop still had the freeze problem, but I realized that when the UEFI BIOS is set to default my dual boot configuration was lost so I only can start MS Window 10 😦

Sometimes in the past I had to repair Grub2 to fix my boot configuration but this time I spent a lot of time to discover all the steps needed to recover success the boot loader so I decided that I had to documented the steps I followed properly, and here I am:

  1. Install Rufus application on MS Windows 10
  2. Download and write SystemRescueCD-6.0.4 image to an USB stick (with just 2GB). I have to say that this tool is based on Arch Linux and it’s quite useful in a reduced amount of MB.
  3. Boot from USB, pressing F12 key and selecting USB pen from the boot menu
  4. The following commands were useful due how my laptop is partitioned, so these command could change if you have a different configuration, in my case I haven’t a separated boot partition and I have my Debian GNU/Linux root partition setup with LVM 2. Once SystemRescueCD has started and run these commands to repair the boot loader:
# setkmap es        # Set Spanish QWERTY keyboard layout 
# fsarchiver probe       # To review my devices and partitions
[=====DEVICE=====] [==FILESYS==] [=====LABEL=====] [====SIZE====] [MAJ] [MIN]
# pvscan       # To verify if my LVM partitions were detected
  PV /dev/nvme0n1p5   VG vg-root         lvm2 [195.31 GiB / 0    free]
  Total: 1 [195.31 GiB] / in use: 1 [195.31 GiB] / in no VG: 0 [0   ]
# vgscan       # Scans for LVM Volume groups
  Found volume group "vg-root" using metadata type lvm2
# vgchange -ay # Activates LVM Volume groups
  1 logical volume(s) in volume group "vg-root" now active
# lvscan       # Scans for available Logical Volumes
  ACTIVE            '/dev/vg-root/lv-root' [195.31 GiB] inherit
# mount /dev/vg-root/lv-root /mnt    # Mount my root filesystem
# fdisk -l /dev/nvme0n1  # to identify my EFI partition (/dev/nvme0n1p1 in my case)
# mount /dev/nvme0n1p1 /mnt/boot/efi # if you have a seperated boot partition you'll need to mount it in /mnt/boot
# mount --bind /dev /mnt/dev
# mount --bind /dev/pts /mnt/dev/pts
# mount --bind /proc /mnt/proc
# mount --bind /sys /mnt/sys
# mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars   # This mount instruction prevents a warning message when grub-install command is executed
# mount --bind /run /mnt/run   # Prevents a problem initializing devices in udev database 
# mkdir -p /mnt/hostlvm
# mount --bind /run/lvm /mnt/hostlvm
# chroot /mnt /bin/bash
# grub-install --efi-directory=/boot/efi --recheck /dev/nvme0n1

Once we have finished it’s needed to umount all the mount points:

# umount /mnt/sys/firmware/efi/efivars
# umount /mnt/sys
# umount /mnt/dev/pts
# umount /mnt/dev
# umount /mnt/proc
# umount /mnt/boot/efi
# umount /mnt/hostlvm
# umount /mnt/run
# rm -rf /mnt/hostlvm
# umount /mnt
# reboot

Other useful information collected trying to fix this problem were some options to be used during Thinkpad t470p boots (I always fotget them):

  • F1: Enter to setup UEFI BIOS
  • F10: Laptop Diagnostics
  • F11: Windows System Recovery
  • F12: Boot order menu

Once I checked that all these steps recover my boot loader I change I modified one value in my BIOS configuration because I don’t want to see again the Lenovo logo screen for a long time, the modified property was: Startup menu > Boot Mode -> Diagnostics

No more values were modified by I want to write down some of the important ones to prevent future problems:

  • Startup menu > UEFI/Legacy Boot -> Both
  • UEFI First
  • CMS -> Enabled

Think in the morning. Act in the noon. Eat in the evening. Sleep in the night
–William Blake

2 thoughts on “Solving Lenovo Thinkpad t470p stuck on Lenovo logo screen problem

  1. Appreciating the time and energy you put into your website and in depth
    information you offer. It’s nice to come
    across a blog every once in a while that isn’t the same
    out of date rehashed information. Fantastic
    read! I’ve saved your site and I’m adding your RSS feeds to my Google account.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s