Page 6 of 8 FirstFirst ... 45678 LastLast
Results 51 to 60 of 78

Thread: Struggling to install Ubuntu 20.04 LTS to newly built PC

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

    Re: Struggling to install Ubuntu 20.04 LTS to newly built PC

    Lets delete these entries. Do not think it will solve any of the issues. But may avoid confusion on which Ubuntu entry is correct.

    Code:
    Boot0006* ubuntu    HD(1,GPT,1e5db068-d49d-407d-9349-2d7fbcdfd6e3,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
    Boot0007* ubuntu    HD(1,MBR,0x716656fb,0x800,0xf3800)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
    Boot0009* ubuntu    HD(1,MBR,0x716656fb,0x800,0x100800)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
    # 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

    You can delete the /EFI/ubuntu in your Windows drive. nvme0n1p1/efi/ubuntu
    And you have what looks like valid entry on Ubuntu drive. nvme1n1p1/efi/ubuntu

    And boot entry to configure to full grub in your install looks correct as it has UUID of your new / (root) partition.
    Code:
    search.fs_uuid b7e68ab3-88f8-4b32-b279-40230b145364 root 
    set prefix=($root)'/boot/grub'
    configfile $prefix/grub.cfg
    Can you reboot live installer in UEFI mode, not install mode and run Boot-Repair & its reinstall of grub?

    Or then run this? You may have to install efibootmgr.

    sudo efibootmgr -c -L "Ubuntu" -l "\EFI\ubuntu\shimx64.efi" -d /dev/nvme1n1 -p 1
    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.

  2. #52
    Join Date
    Aug 2020
    Beans
    37

    Re: Struggling to install Ubuntu 20.04 LTS to newly built PC

    So.. Just to re-confirm your instructions here @oldfred

    Right now, I have the /dev/nvme1n1 with a partial failed install on it. I'm not wiping it. I'm booting into the live USB and then deleting Boot006, Boot0007, and Boot008 using efibootmgr.
    I will also delete the EFI on the windows drive, and keep the entry which is on nvme1n1p1/efi/ubuntu.
    Then you want me to run the Code you provided in the terminal...
    Then reboot to the live installer in UEFI mode? How's that different than install mode?
    Once there, I will run boot-repair, and if that fails, the last line of code?

    Thank you for working with me
    Last edited by flexbriggs; August 27th, 2020 at 05:12 AM.

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

    Re: Struggling to install Ubuntu 20.04 LTS to newly built PC

    Yes.

    Try the install of the UEFI boot entry using efibootmgr before running Boot-Repair.
    And post any error messages.

    Boot-Repair is complaining you have /target still mounted which is part of the install mounts.
    It may be just boot flash drive and before clicking on any install options, add & run Boot-Repair.
    I have not installed from USB flash drive for ages. (I use grub2's loopmount to directly boot an ISO ).
    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.

  4. #54
    Join Date
    Aug 2020
    Beans
    37

    Re: Struggling to install Ubuntu 20.04 LTS to newly built PC

    I'm getting an error on the line efibootmgr install attempt

    Code:
    ubuntu@ubuntu:~$ sudo efibootmgr -v
    BootCurrent: 0008
    Timeout: 1 seconds
    BootOrder: 0008,0000,0007
    Boot0000* Windows Boot Manager    HD(1,GPT,1e5db068-d49d-407d-9349-2d7fbcdfd6e3,0x800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
    Boot0007* ubuntu    HD(1,GPT,fd82d002-a501-4ac6-a1e5-e7bd37762ef4,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
    Boot0008* UEFI: VendorCoProductCode 2.00, Partition 1    PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/USB(7,0)/HD(1,GPT,6d9d6460-22f5-4c42-b815-b005c32c162b,0x800,0xeff7df)..BO
    ubuntu@ubuntu:~$ sudo efibootmgr -c -L "Ubuntu" -l "\EFI\ubuntu\shimx64.efi" -d /dev/nvme1n1 -p 1 
    Could not prepare Boot variable: No such file or directory
    ubuntu@ubuntu:~$
    ALSO --> I ran a boot-repair "Recommended Repair" and got an error, here's the pastebin
    Note: I read the paste bin, and it seemed like the windows hard drive was in hibernation mode (fast start up).
    https://paste.ubuntu.com/p/xYsVt86KXV/

    I don't know why this is text is being marked as a link. Anyway. I disabled the fast start up on the windows OS, and re-ran boot-repair
    and it ran into an error again, here is the up-to-date pastebin
    https://paste.ubuntu.com/p/zw9KxcR8pG/

    Also... I noticed in the up-to-date pastebin that there is now an extra ubuntu Boot in my efibootmgr (/dev/nvme0n1 which should be /dev/nvme1n1). I'll delete the extra
    Last edited by oldfred; August 27th, 2020 at 03:46 PM.

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

    Re: Struggling to install Ubuntu 20.04 LTS to newly built PC

    Anytime you boot into Windows it may do an update.
    And many Windows updates turn fast startup back on.

    I often have to click on text I copy from my Zim file that is after a link and click on the world with X icon above to remove it from being part of link.

    You show a correct UEFI ubuntu entry for ESP on ubuntu NVMe drive.

    Code:
    Boot0000* Windows Boot Manager    HD(1,GPT,1e5db068-d49d-407d-9349-2d7fbcdfd6e3,0x800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
    Boot0007* ubuntu    HD(1,GPT,fd82d002-a501-4ac6-a1e5-e7bd37762ef4,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
    Boot0008* ubuntu    HD(1,GPT,1e5db068-d49d-407d-9349-2d7fbcdfd6e3,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
    
    nvme1n1p1 vfat     3AAC-CE48                            fd82d002-a501-4ac6-a1e5-e7bd37762ef4
    UEFI uses GUID also known as partUUID to know which ESP to use to look for boot files.
    Your fstab also seems to have all the correct UUIDs and the /EFI/ubuntu/grub.cfg has correct UUID for your / (root) partition to find your full grub.

    Does entry 0007 work to boot even with the error on install.
    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.

  6. #56
    Join Date
    Aug 2020
    Beans
    37

    Re: Struggling to install Ubuntu 20.04 LTS to newly built PC

    Oddly enough, the NVME isn't even showing up as an option in the Boot menu of the MSI bios.

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

    Re: Struggling to install Ubuntu 20.04 LTS to newly built PC

    I just showed the NVMe drive's partUUID, that was not a boot entry.

    0007 would be one of the ubuntu entries you should see in your UEFI as a boot option.
    Often not clear which entry is which when you have same description, so may have to try both, if you have not housecleaned out the one from your Windows ESP (0008).
    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.

  8. #58
    Join Date
    Aug 2020
    Beans
    37

    Re: Struggling to install Ubuntu 20.04 LTS to newly built PC

    I hear you. But, the BIOS only has 1 adata NVME. After school today I will remove and then install the NVME hard drive again to see if the BOOT in the bios will recognize it.

    Interestingly enough, I changed the mode to CSM and the drive showed up... (but not in UEFI mode)
    Last edited by flexbriggs; August 27th, 2020 at 09:03 PM.

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

    Re: Struggling to install Ubuntu 20.04 LTS to newly built PC

    Sounds like some setting in UEFI.
    I would review manual on NVMe drives.
    Many NVMe drives conflict with a SATA drive port so you cannot use some ports when using NVMe.
    Perhaps a Boot setting, but seems more like drive setting in UEFI.

    Have you updated UEFI?
    And while different brand do you have IOMMU setting? That is more by chipset.
    Asus Rog Strix B550 Disable IOMMU
    https://askubuntu.com/questions/1265...141726_1265397
    Last edited by oldfred; August 27th, 2020 at 09:38 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.

  10. #60
    Join Date
    Aug 2020
    Beans
    37

    Re: Struggling to install Ubuntu 20.04 LTS to newly built PC

    I'm not sure. Tomorrow I will take out both NVME hard drives, and attempt an install on a samsung 860 evo SSD. I will boot into UEFI mode, with secure boot disabled. I will ensure the SSD is a GPT partition, and if not I will partition it using Gparted,
    I will choose "Something else" and create a EFI 512mb, 35000mb ext4 formatted at /, and the rest ext4 formatted at /home. I will check the mount before installing... and hopefully this will work. I'll update you tomorrow about it.

Page 6 of 8 FirstFirst ... 45678 LastLast

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
  •