You do have boot loaders installed. I suspect you're reading the following:
=> No boot loader is installed in the MBR of /dev/sda.
That, however, refers to BIOS-mode boot loaders. Your system, however, is clearly booting in EFI mode, and there are EFI-mode boot loaders on your EFI System Partition (ESP; /dev/sda2
in your case).
EFI boot loaders are registered with the firmware, and the Linux efibootmgr
tool can display information on them. Your Boot Repair output includes this information on lines 1081-1108:
Boot0003* UEFI: Built-in EFI Shell Vendor(5023b95c-db26-429b-a648-bd47664c8012,)..BO
Boot0004* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot0007* Hard Drive BIOS(2,0,00)..GO..NO........o.S.a.m.s.u.n.g. .S.S.D. .8.5.0. .E.V.O. .2.5.0.G.B....................A...........................>..Gd-.;.A..MQ..L.2.S.N.1.X.N.G.A.0.C.8.1.2.3. .H. . . . ........BO..NO........o.W.D.C. .W.D.1.0.E.Z.E.X.-.0.0.B.N.5.A.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.3.C.0.F.L.N.T.V.D.Y........BO
Boot0008* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot0009* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot000A* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot000B* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot000C* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot000D* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot000E* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot000F* Unknown Device BIOS(b,0,00)..GO..NO........i.P.N.Y. .U.S.B. .2...0. .F.D. .1.1.0.0....................A.......................<..Gd-.;.A..MQ..L.P.N.Y. .U.S.B. .2...0. .F.D. .1.1.0.0........BO
Boot0011* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot0012* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot0013* UEFI: PNY USB 2.0 FD 1100 ACPI(a0341d0,0)PCI(12,2)USB(1,0)HD(1,70,1d19f90,c3072e18)..BO
Boot0014* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot0015* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot0016* UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot0017 UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot0018 UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot0019 UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot001A UEFI: Samsung SSD 850 EVO 250GB ACPI(a0341d0,0)PCI(11,0)03120a000000ffff0000HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)..BO
Boot001B* Windows Boot Manager HD(2,e1800,32000,a58a1cd6-0de6-44ef-ba6e-a358cdc2952b)File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO
Two things jump out at me about this output:
- There is no
ubuntu
entry, as there should be.
- There are multiple duplicate entries for
Samsung SSD
.
You should be able to fix the first problem with the following command, typed from the emergency disk you used to run Boot Repair:
sudo efibootmgr -c -d /dev/sda -p 2 -l //EFI//ubuntu//shimx64.efi -L "ubuntu"
(If the system complains that there is no efibootmgr
command, type sudo apt-get install efibootmgr
to install it.)
That command should create an ubuntu
entry and make it the default. That said, it's possible that the ubuntu
entry does not exist because whatever has caused the redundant Samsung SSD
entries to appear has messed up the NVRAM data and pushed the ubuntu
entry out. This type of problem could also prevent the new entry from "taking." If so, there are at least a couple of possible workarounds:
- You can use
efibootmgr
to delete the redundant entries. Typing sudo efibootmgr -b 0004 -B
will delete the Boot0004
entry. Repeat the command, but changing 0004
to each of the Samsung SSD
entries in turn, to delete them all (or perhaps just all but one of them). Do not delete the various entries other than the Samsung SSD
-- those all seem to be valid, and I've seen EFIs flake out if you delete certain necessary entries.
- You can use the firmware's setup tool to reset all the firmware options to the default. This may eliminate all the NVRAM entries, whereupon you'll need to use
efibootmgr
to re-create the ubuntu
entry, as just described.
If you continue to have problems after trying this, I recommend you read the following pages for more background information before trying anything else:
With any luck, the information on those pages will help you understand EFI-mode booting, which should help you debug EFI boot problems and, if you can't figure it out yourself, ask the right questions.
/var/lib
can't be seen by the BootRepair. Is it mounted (you should mount it if it isn't). Is it empty? That's why you are getting the package manager errors, it can't create the lock file that they make when they run (so only one can run at a time). It can't create because the subdirectory doesn't exist. – AlwaysTalkingAboutMyDog Apr 19 '16 at 06:04