You are not logged in.

#1 2015-09-03 10:24:44

zerophase
Member
Registered: 2015-09-03
Posts: 239

[SOLVED]Bios cannot boot rEFInd after Windows 10 install.

I got Arch up on my machine with rEFInd boot loader working fine. I went ahead and installed Windows 10, and the boot loader stopped functioning.

I managed to boot into Arch, by loading rEFInd to a USB stick. In this other rEFInd screen I can see and boot into the internal drive, and from there launch Arch or Windows. (I can also launch them from the usb stick)

Inside Arch I tried rerunning the rEFInd install script. It gives a whole prompt about reinstalling without overwriting configurations. But I can't get the bios to boot rEFInd directly.

The outputs of efibootmgr -v are:

BootCurrent: 000E
Timeout: 1 seconds
BootOrder: 000D,000C,000E,0000,0002
Boot0000  Windows Boot Manager    HD(1,GPT,a4dfbe6f-b803-4e60-b06e-364752b3a56b,0x800,0x5f800)/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.}....................
Boot0001  Hard Drive     BBS(HD,,0x0)..GO..NO........o.S.a.m.s.u.n.g. .S.S.D. .8.5.0. .P.R.O. .2.5.6.G.B....................A...........................>..Gd-.;.A..MQ..L.1.S.U.S.S.N.G.A.2.1.0.2.4.9. .A. . . . ........BO..NO........o.S.a.m.s.u.n.g. .S.S.D. .8.5.0. .P.R.O. .1.T.B....................A...........................>..Gd-.;.A..MQ..L.1.S.R.S.W.N.F.A.0.C.2.1.7.5. .L. . . . ........BO..NO........k.P.N.Y. .U.S.B. .2...0. .F.D. .1.1.0.0....................A.............................8..Gd-.;.A..MQ..L.A.E.3.3.H.E.0.1.0.0.0.0.0.0.1.0.7........BO
Boot0002* rEFInd Boot Manager    VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot000C* Linux    HD(1,GPT,a4dfbe6f-b803-4e60-b06e-364752b3a56b,0x800,0x5f800)/File(\EFI\REDHAT\GRUB.EFI)shim.efi
Boot000D* Unknown Device    BBS(HD,,0x0)..GO..NO........o.S.a.m.s.u.n.g. .S.S.D. .8.5.0. .P.R.O. .2.5.6.G.B....................A...........................>..Gd-.;.A..MQ..L.1.S.U.S.S.N.G.A.2.1.0.2.4.9. .A. . . . ........BO..NO........o.S.a.m.s.u.n.g. .S.S.D. .8.5.0. .P.R.O. .1.T.B....................A...........................>..Gd-.;.A..MQ..L.1.S.R.S.W.N.F.A.0.C.2.1.7.5. .L. . . . ........BO..NO........k.P.N.Y. .U.S.B. .2...0. .F.D. .1.1.0.0....................A.............................8..Gd-.;.A..MQ..L.A.E.3.3.H.E.0.1.0.0.0.0.0.0.1.0.7........BO
Boot000E* UEFI: PNY USB 2.0 FD 1100    PciRoot(0x0)/Pci(0x14,0x0)/USB(9,0)/USB(1,0)/HD(1,GPT,a93dffc7-c7ba-4235-978f-4ed7324f1e31,0x800,0x2d5f)..BO

parted -l gave:

Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name  Flags
1      1049kB  201MB   200MB   fat32           BOOT  boot, esp
2      201MB   2201MB  2000MB  linux-swap(v1)  SWAP
3      2201MB  34.4GB  32.2GB  ext4            root
4      34.4GB  39.8GB  5369MB  ext4            var
5      39.8GB  169GB   129GB   ext4            home


Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name                          Flags
1      1049kB  17.8MB  16.8MB               Microsoft reserved partition  msftres
2      17.8MB  215GB   215GB   ntfs         Basic data partition          msftdata
3      215GB   920GB   705GB   ntfs         Basic data partition          msftdata


Model: PNY USB 2.0 FD (scsi)
Disk /dev/sdc: 16.1GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
1      1049kB  6995kB  5947kB                     boot, esp

I tried running efibootmgr -o 2,0,c with no luck.

Any suggestions on repairing rEFInd?

Last edited by zerophase (2015-09-14 19:46:25)

Offline

#2 2015-09-03 12:25:04

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED]Bios cannot boot rEFInd after Windows 10 install.

I am definitely no expert on EFI booting, but to my untrained eye, I see:

BootOrder: 000D,000C,000E,0000,0002

And if I understand those correctly, they are:

000D = SSD drive (Marked "Unknown Device")
000C = Linux, but pointing at some RedHat location
000E = USB drive
0000 = Windows Boot
0002 = rEFInd Boot

So if 000D fails because of "Unknown Device", and 000C fails because I assume (maybe wrongly) that there are no RedHat installs on your machine, and 000E fails because you have removed your USB drive, then 0000 boots Windows because 0002 was next in the list.

Again, I am no expert on this, but I think the EFI boot entries need fixed/corrected/rearranged. YMMV. (Also, you have an entry 0001 that is not used in the boot order list. That is another hard drive.)


Matt

"It is very difficult to educate the educated."

Offline

#3 2015-09-03 15:01:59

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED]Bios cannot boot rEFInd after Windows 10 install.

Boot0002* rEFInd Boot Manager    VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)

looks wrong should it not follow the same format as the Windows entry?

Boot0000  Windows Boot Manager    HD(1,GPT,a4dfbe6f-b803-4e60-b06e-364752b3a56b,0x800,0x5f800)/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.}....................

so something like

Boot0002* rEFInd Boot Manager HD(1,GPT,a4dfbe6f-b803-4e60-b06e-364752b3a56b,0x800,0x5f800)/File(\EFI\refind\refind_x64.efi)

I would try altering the entry or deleting it and letting the refind install script recreate it.

Offline

#4 2015-09-03 20:21:24

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED]Bios cannot boot rEFInd after Windows 10 install.

Try this:

# efibootmgr -o 2

Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB