Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Optane - Dual boot problem (GRUB doesn't load).

  1. #1
    Join Date
    Feb 2021
    Beans
    6

    Optane - Dual boot problem (GRUB doesn't load).

    Hello,

    I just bought a new laptop with Windows 10 pre-installed on it and I would like to install Ubuntu alongside Windows.
    Installing Ubuntu seems to have worked fine (no error during installation and I am able to access the files from the newly created partition when trying ubuntu from my bootable USB stick).
    However booting on Ubuntu doesn't work: if I select Ubuntu as the first boot option in the BIOS it boots Windows and if I explicitly boot on Ubuntu from the BIOS, either nothing happens and I get back to the BIOS or I get stuck on the ASUS splash screen. (This seems to be consistent after an installation e.g. if I install Ubuntu a first time I will always get stuck on the Asus screen but if I reinstall Ubuntu it might always do nothing this time)

    I have tried boot repair but it did not seem to help.
    Here are the boot-repair logs generated by "Create a BootInfo summary" (without actually doing any repair):
    https://paste.ubuntu.com/p/TfYKJrS32p/

    Additional Information:
    - My laptop is an Asus Zenbook UX425EA
    - My OS are Windows 10 Home and Ubuntu 20.40.2 LTS
    - I had to disable Secure Boot at some point
    - I read somewhere that switching from IDE to AHCI in the BIOS settings could solve the problem so I did but it didn't help.
    - This is my first time doing a dual boot (or even installing Ubuntu outside a VM from that matter), it is not impossible that I forgot something obvious.

    I would really appreciate some help here.
    Thanks you.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Dual boot problem (GRUB doesn't load).

    It should be switching from Intel RST to AHCI. You show the small second NVMe drive that is only used for the Windows hibernation file with RST.
    With new SSD & NVMe drives not sure why they still are adding the second drive for hibernation. That small SSD was common with HDDs as Microsoft wanted Windows to seem like it boots faster.

    Have you updated UEFI from Asus and NVMe firmware?

    Issues often common by brand as same UEFI with different options for configuration. Somewhat bigger difference if AMD or Intel.
    Asus Vivobook S14 S430FN 18.04 - Intel firmware update required
    https://ubuntuforums.org/showthread.php?t=2424764
    Asus ROG Zephyrus G Ryzen 7 GTX 1660 Ti UEFI update required, nVidia driver required
    https://ubuntuforums.org/showthread.php?t=2420199
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Feb 2021
    Beans
    6

    Re: Dual boot problem (GRUB doesn't load).

    Thanks for your reply!

    I have just updated UEFI and no luck. As for other drivers, I don't think these are related to my issue since ubuntu works fine when I'm using the "Try Ubuntu" option from my bootable stick.
    Additionally, I learnt that it's possible to add boot entries directly from the Asus BIOS and I thought a video would describe my issue better:
    https://streamable.com/54dumk

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Dual boot problem (GRUB doesn't load).

    You should not have to manually add entries.
    Some like HP have had to change order using UEFI as it does not remember the order after one boot. I believe that is UEFI that syncs with Windows BCD and why Boot-Repair at bottom of report has you adding an entry in Windows BCD.

    You can see details of UEFI boot entries with this, which also is in your Summary Report from Boot-Repair. See line 34.
    sudo efibootmgr -v

    It showed in report both Windows & ubuntu entries. And looks correct to me.
    The shimx64.efi is for UEFI boot but works for UEFI with Secure boot off.

    You should not need these in UEFI boot menu:
    grubx64.efi only works for UEFI boot with secure boot off.
    mmx64.efi is mokmanager to for a user to add his own UEFI Secure boot key for proprietary driver. Ubuntu cannot certify a proprietary driver is secure, but a user can, if he believes it is valid. Only required if Secure Boot on and you have to have a proprietary driver like nVidia or Wi-Fi.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Feb 2021
    Beans
    6

    Re: Dual boot problem (GRUB doesn't load).

    I tried to remove/add entries because when using boot-repair, I sometimes ended up with multiple ubuntu entries and I thought maybe the BIOS doesn't load anything because it can't find the efi files. But that's apparently not the issue.

    Is there any way for me to troubleshoot the issue? Right now all I know is that ubuntu seems to work on its own but I can't boot it for whatever reason.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Dual boot problem (GRUB doesn't load).

    The UEFI entry looks correct and grub looks correct.
    Is direct boot from UEFI, selecting "ubuntu" not work at all?
    Or if you press escape key(possibly several times) from UEFI/BIOS until grub should appear, do you then get grub menu and try recovery mode?
    If fast boot is on in UEFI, then you may not have time to press any key. Fast boot assumes no system reconfiguration or change & immediately boots. So that could be the issue also.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    May 2008
    Beans
    1,211
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Dual boot problem (GRUB doesn't load).

    A couple of observations in your boot-repair report:-

    Lines 19 - 21: Only one OS detected Ubuntu 20.04.2
    I would expect to see Windows 10 also because it seems to be your default boot OS?

    Line 119: Bitlocker on nvme0n1P3
    There have been instances where bitlocker can prevent successful dual boot operations.

    Perhaps you can disable bitlocker and see if you can access Ubuntu via the UEFI boot options?

  8. #8
    Join Date
    Feb 2021
    Beans
    6

    Re: Dual boot problem (GRUB doesn't load).

    This time I've tried redoing everything from scratch:
    - disabling bitlocker
    - switching from RST to AHCI (using https://discourse.ubuntu.com/t/ubunt...nabled/15347/1)
    - disabling fast boot, disabling secure boot
    (Some settings somehow got changed back, probably because of updates of both the BIOS and Windows)
    But Ubuntu still doesn't boot.

    Is direct boot from UEFI, selecting "ubuntu" not work at all?

    - It doesn't do anything (same behaviour as shown in the video).

    Or if you press escape key(possibly several times) from UEFI/BIOS until grub should appear, do you then get grub menu and try recovery mode?
    - Pressing escape while booting got me to the boot menu but lunching the boot entries from here didn't change anything : https://streamable.com/slcrx7

    Here's the new boot-repair report : https://paste.ubuntu.com/p/SBThWFbFvY/

  9. #9
    Join Date
    May 2008
    Beans
    1,211
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Dual boot problem (GRUB doesn't load).

    It seems that your difficulty is something to do with Intel Optane.

    I've no personal experience of this technology but there are many internet links with suggestions i.e. https://community.intel.com/t5/Intel...ot/td-p/659944

    Anyway, can you physically remove the Optane drive nvme1n1:29.3GB:nvme:512:512:unknown:INTEL HBRPEKNX0202AO:?

    I am also not familiar with your PC so my suggestion might well be completely impossible and cause unnecessary damage, therefore be cautious.

  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Dual boot problem (GRUB doesn't load).

    I see that is a very new system with the new Intel Iris Xe Graphics.

    To use both the Intel Iris Xe graphics and Intel Iris Xe MAX graphics
    Intel Xe MAX Needs Two Linux Kernels For Now - Meaning You Need To Use A GPU-Accelerated VM
    https://www.phoronix.com/scan.php?pa...Xe-MAX-dGPU-VM
    not to be confused with integrated Xe-LP graphics on the likes of Tiger Lake that work out great on Linux without any fuss


    https://www.intel.com/content/www/us...s-drivers.html
    For at least the first generation or two of Xe Graphics, the long-standing Intel "i915" Direct Rendering Manager driver will be used.
    A Look At Linux 5.10 + Mesa 21.0-dev On Intel "Tiger Lake" Xe Graphics Dec 2020
    https://www.phoronix.com/scan.php?pa...1.0-Xe-Compare

    If you have changed to AHCI, I think then Optane is off, unless also another setting in UEFI.

    When I built my system in Feb 2006, I had to install Ubuntu 16.04 which was not out for another few months to have latest drivers & support software needed. Since a pre-release version & it had many updates, I backed up & reinstalled after release just to houseclean all the cruft.
    You may want to at least try try the live version of 21.10, currently daily live as updates almost every day. I zsync ISO so I am not downloading the full ISO again. I am using Kubuntu & it is here. Similar path for Ubuntu.

    http://cdimage.ubuntu.com/kubuntu/releases/
    Last edited by oldfred; 10 Hours Ago at 03:08 PM.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 1 of 2 12 LastLast

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
  •