Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Can't boot into Ubuntu after Lenovo repair

  1. #11
    Join Date
    May 2008
    Beans
    4,473
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Can't boot into Ubuntu after Lenovo repair

    Quote Originally Posted by dragonfly41 View Post
    Other than that I would install rEFInd and in BIOS (F2 or F10 or whatever when starting up) select that as your primary boot option. It does not replace Grub. They sit side by side as boot options in BIOS. I always use rEFInd.
    Yes, rEFInd is a good recommendation, especially that it can be used as bootable usb (without installing)
    Also, rEFInd offers an option to boot the Ubuntu kernel directly, in effect, bypassing Grub.
    Certainly worth trying.
    https://www.rodsbooks.com/refind/
    https://www.rodsbooks.com/refind/getting.html > A USB Flash Drive Image File

  2. #12
    Join Date
    Apr 2024
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't boot into Ubuntu after Lenovo repair

    Quote Originally Posted by vonHumboldtFleischer View Post
    Hello, I have a ThinkPad laptop which is/was dual boot configured with Ubuntu and Windows, with a Grub screen allowing me to choose the OS at startup. I shipped it back to Lenovo to repair broken USB ports. Despite me telling them to not touch the installation, the laptop will only boot into Windows now. 🤬
    I know it's no help here, but just for the future. *Always* remove all and any disks from any device that you submit for repair or whatever, and always lock your UEFI/BIOS settings with a strong password or, if available, biometrics. Not sure if all Thinkpads support biometric, both of mine certainly do. (Although, I never use that, preferring strong passwords.)
    Last edited by werewulf75; August 15th, 2024 at 08:48 PM.

  3. #13
    Join Date
    Nov 2007
    Beans
    11

    Re: Can't boot into Ubuntu after Lenovo repair

    Thanks to rEFInd I managed to boot into my Linux and reinstall grub from there.
    This completed without error and grub menu shows at startup now.
    Many thanks again to everyone.

  4. #14
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Can't boot into Ubuntu after Lenovo repair

    It's hard to go wrong with rEFInd,

    Grub is a boot loader, rEFInd is a Boot Manager, and they live together nicely.
    Good Job...

  5. #15
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Can't boot into Ubuntu after Lenovo repair

    I think there is a bug some where with grub or modprobe.
    grub-install: info: executing modprobe -q efivars.
    If you have UEFI boot entry, you can ignore error.
    Seems to be from systems upgraded, vs. new installs.

    Error seen as missing efivars in kernel folder in /boot.
    But efivars really here:
    ls /sys/firmware/efi/vars
    My fstab shows this:
    efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)

    If you need efivars mounted add to either Boot-Repair or chroot commands to mount it to correct location.
    chroot needs this in addition to other commands:
    mount -t efivarfs efivarfs /sys/firmware/efi/efivars
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •