Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: broke boot manager trying to install, now always boots straight to windows 10

  1. #11
    Join Date
    Mar 2020
    Beans
    15

    Re: broke boot manager trying to install, now always boots straight to windows 10

    So I ran boot-repair and then reinstalled ubunutu on a correctly formatted partition (w/ home, root, and swap). Everything went smoothly during the install, but upon restarting and hitting f12 to get into my computer's boot menu, in *still* takes to directly to Windows 10 no matter what option I pick.

    I ran boot-repair again and generated another report. Don't really know what to make of it, it seems my laptop's (Lenovo C940) boot management system is extremely broken. It it time to just do a factory reset?

    Here's the output from my most-recent (post re-install) boot-repair report.

    https://paste.ubuntu.com/p/jn4w5vcpWc/

  2. #12
    Join Date
    May 2013
    Location
    Galiza
    Beans
    1,535
    Distro
    Ubuntu

    Re: broke boot manager trying to install, now always boots straight to windows 10

    1. A separated /home is optional; it has some advantages but not really better than a separated partition for your data (personal files). Again, it must be stressed, it's OPTIONAL, and has nothing to do with your problem.

    2. A swap partition WAS needed, it no longer is. The default installation now uses only one (root) partition. Also this has nothing to do with your problem.

  3. #13
    Join Date
    Mar 2020
    Beans
    15

    Re: broke boot manager trying to install, now always boots straight to windows 10

    Do you mind telling me how you know it has nothing to do with my problem?

    Do you know what does have to do with my problem?

    I've noticed looking through the paste-bin report it seems that when it tries to test-mount the volumes every single one except for the one labeled "Microsoft Reserved" doesn't mount properly, could that be part of the problem?
    Last edited by natebot; March 29th, 2020 at 06:34 PM.

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

    Re: broke boot manager trying to install, now always boots straight to windows 10

    Report still has lots of mention of RAID & Optane on second NVMe drive. And then various gpt errors.
    Ubuntu may try to boot but will try to mount all those paritions with errors. It may not work or may take a very long time to timeout if those errors otherwise do not prevent boot.
    Windows will not show the Linux partitions.

    What version of Ubuntu. Your system is new enough you need newest Ubuntu.
    Perhaps even 20.04, which will not be released until April. It works, but you may have issues that are still being fixed. It has newer kernel & newer drivers.
    You could try disabling your second NVMe drive temporarily in UEFI settings, to see if then you can boot Ubuntu.

    Yours may be too new for this to apply. But UEFI update is always a good idea. And SSD firmware update is often required.
    UEFI update required for USB-C port issues 2017 thru 2019 models
    ThinkPad models including the ThinkPad X1 Carbon (5th Gen to 7th Gen), X1 Yoga (2nd Gen to 4th Gen), and P-series
    https://www.cnet.com/news/is-your-th...-its-firmware/
    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. #15
    Join Date
    Mar 2020
    Beans
    15

    Re: broke boot manager trying to install, now always boots straight to windows 10

    I've reabsorbed the ubuntu partition back into the main windows partition but my laptop's boot manager is STILL showing ubuntu as the the top choice in the boot menu.

    I don't see the point in trying to repartition and reinstall because I've already tried that. Same problem. I'm sure if I tried to reinstall ubuntu it would just keep taking me to Windows 10.

    Fast start up and secure boot are disabled.

    I'm completely at my wits end. It seems like my laptop's boot manager is permenantly broken.

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

    Re: broke boot manager trying to install, now always boots straight to windows 10

    But issue is your second NVMe drive and you do not seem to be making any fixes to it.
    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. #17
    Join Date
    Mar 2020
    Beans
    15

    Re: broke boot manager trying to install, now always boots straight to windows 10

    I'm actually not trying to install Ubuntu anymore, I've completely removed it and I've reabsorbed the ubuntu partition back into the main partition.

    But when I boot to UEFI settings, ubuntu is still shown as the top boot priority. I feel like this is a signal that the boot configuration is still "broken" and there's no point in trying to reinstall ubuntu until I fix it. Right now I'm trying to get my UEFI menu to look like it did before I attempted any of this. I *thought* completely reinstalling Windows and de-partitioning the drive would do this but obviously I was mistaking.

    I looked in my UEFI settings but couldn't find anything that disabled my second NVMe drive. Both NVMe drives are listed in the boot priority order, I could try moving them down the list but I don't see what that would accomplish.

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

    Re: broke boot manager trying to install, now always boots straight to windows 10

    The settings on disabling a drive is not in boot options but hardware/drive settings. Different tab in UEFI.
    Should be somewhat similar to third screenshot in my old post. That showed ports. My newer system shows drives in similar fashion.
    https://ubuntuforums.org/showthread....2258575&page=2

    Your ESP - efi system partition will normally have both /Microsoft & /ubuntu folders. Unless you houseclean any of those you do not want, you still have part of Ubuntu/grub boot. Do not delete ESP partition as essential for Windows boot.

    And UEFI retains UEFI boot entries. You can see those:
    sudo efibootmgr -v

    To delete UEFI boot entries. You may want to houseclean old entries also:
    # from liveDVD or flash booted in UEFI mode and use efibootmgr
    sudo efibootmgr -v
    The "-v" option displays all the entries so you can confirm you're deleting the right one, and then you use the combination of "-b ####" (to specify the entry) and "-B" (to delete it). Examples #5 is delete:, with Ubuntu you need sudo, others must be at root. some need all 4 hex chars, others only need significant digits
    sudo efibootmgr -b XXXX -B
    man efibootmgr
    http://linux.die.net/man/8/efibootmgr
    http://linux.dell.com/cgi-bin/gitweb...README;hb=HEAD
    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.

  9. #19
    Join Date
    Mar 2020
    Beans
    15

    Re: broke boot manager trying to install, now always boots straight to windows 10

    I'm looking at this, told me to run

    bcdedit /enum firmware

    in windows command prompt as admin to list all UEFI boot entries and also gives instructions on how to delete them. Seems very similar to what your proposing, just using command prompt instead of Ubuntu/bash.

    My UEFI boot manager, the one I get on restart, doesn't look as "fancy" as the one in the screen shot you posted. I also don't recall seeing any options to disable drives in it but I could double check.

    Are those screens you posted of the UEFI manager one would get by restarting and botting from the recovery partition or is that something different?
    Last edited by natebot; April 1st, 2020 at 12:56 AM.

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

    Re: broke boot manager trying to install, now always boots straight to windows 10

    The screenshots are from my Asus Z97 system's UEFI. Asus allows screenshots from within UEFI and you can save to a FAT32 partition. That is f2 with the Z97 system.
    Also motherboard manual shows screens but has more explanation of all the settings. If you do not have manual you should be able to download from vendor's support page for your specific system. Google gave me this.
    https://pcsupport.lenovo.com/us/en/p.../doc_userguide

    I have seen some discussion where Windows BCD is sync'd with UEFI, but do not know Windows.
    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 2 of 3 FirstFirst 123 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
  •