Results 1 to 6 of 6

Thread: Ubuntu sometimes does not boot correctly

  1. #1
    Join Date
    Jun 2020
    Beans
    3

    Question Ubuntu sometimes does not boot correctly

    Hi!

    I have a Thinkpad T495 and I decided to install Ubuntu alongside Windows 10.

    To install Ubuntu I followed the instruction presented by the installer and selected the option "Install alongside Windows 10" when the installer asked me in which disk to install Ubuntu.

    GRUB seems to work fine and 100% of the times I can boot into Windows 10 without any issues, the problem comes when I try to boot into Ubuntu, sometimes works and sometimes it doesn't and just freeze in a black screen after selecting Ubuntu in GRUB.

    I tried running boot-repair tool and it when i click on auto-repair and I got this message:

    "Please create a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag). This can be performed via tools such as Gparted. Then try again."

    The boot info summary info is available here: https://paste.ubuntu.com/p/nY7j8qKnpJ/

    Any idea of what is the cause of the problem? I don't understand why sometimes it boot in seconds and some it's just a black screen :S
    Thanks

  2. #2
    Join Date
    May 2013
    Location
    Galiza
    Beans
    2,588
    Distro
    Ubuntu

    Re: Ubuntu sometimes does not boot correctly

    Welcome.

    Thank you for making the effort and presenting Boot Repair's summary report, it's always good to have a look at those things, but if "GRUB seems to work fine" then there's no point in using Boot Repair. The problem comes after Grub and the purpose of Boot Repair is exclusively install or reinstall Grub.

    Knowing that the T495 line is AMD Ryzen based I suggest updating UEFI before anything else. Also update firmware of any SSDs, if applicable. Then, as usual for any dual-boot with Windows 8 or newer, disable Fast Startup in Windows.

  3. #3
    Join Date
    Jun 2020
    Beans
    3

    Re: Ubuntu sometimes does not boot correctly

    Thank you very much for the answer, could you tell me how to update UEFI and SSD firmware?

  4. #4
    Join Date
    May 2013
    Location
    Galiza
    Beans
    2,588
    Distro
    Ubuntu

    Re: Ubuntu sometimes does not boot correctly

    Go to the vendor's and find if there's an update - "BIOS" (although it really isn't and hasn't been for 10 years +) - UEFI or "UEFI BIOS" is the section you should be looking for.
    The same for the SSD manufacturer.

  5. #5
    Join Date
    Jun 2020
    Beans
    3

    Re: Ubuntu sometimes does not boot correctly

    Both seems to be updated to the newest version, Fast Startup is also disabled.

    I thought it could be an ACPI problem and tried to boot with the command acpi=off but that makes it unable to boot into Ubuntu. Any more ideas?

    Edit:

    It seems to be a general problem, after searching in Reddti for a while I found this post: https://www.reddit.com/r/thinkpad/co..._1_tb_ssd_now/
    and this comment:

    "Love my t495. I will have to caution you on booting into ubuntu based distros on this thinkpad. There is a continual and annoying issue with booting while on battery on kernels older then 5.6 or 5.7. The laptop wont always boot in linux on battery and is very inconsistent. There is a work around setting some video setting to immosoft or something like that that has worked. I’ve tried elementary, mint and even ubuntu 20.04."


    My kernel version is 5.4 but this seems to be the issue since I have been trying and every time I boot with the power cable connected it works :S
    Last edited by justanto; June 28th, 2020 at 06:53 PM.

  6. #6
    Join Date
    May 2013
    Location
    Galiza
    Beans
    2,588
    Distro
    Ubuntu

    Re: Ubuntu sometimes does not boot correctly

    there is a work around setting some video setting to immosoft or something like that that has worked.
    It's actually
    Code:
    IOMMU=soft
    but NOT a video settings and yes, you should definitely try it although I wouldn't bet on it. This used to be needed for some AMD based boards with broken IOMMU from around 6 years ago (?). At least for the old ones something at the kernel level was added and the boot parameter was no longer needed. I installed Ubuntu 18.04 in one of those without any additional parameter.

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
  •