Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
refind auto detection not working (blank boot screen)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
functorext
n00b
n00b


Joined: 08 Oct 2019
Posts: 5

PostPosted: Tue Jan 28, 2020 11:52 am    Post subject: refind auto detection not working (blank boot screen) Reply with quote

I'm using refind to dual boot a Windows / Gentoo setup. refind auto detection is however not working. All I'm getting is a blank boot screen with the refind logo on top and no boot options.

  • /dev/sda1 is mounted at /boot
  • I ran refind-install and refind is installed at /boot/EFI/refind
  • Gentoo kernel is renamed to *.efi and is at /boot/EFI/gentoo
  • I've not touched refind_linux.conf or refind.conf as that didn't seem necessary in the past

I should mention that refind worked on this computer before. Normally when a Windows update runs, it sets the Windows boot manager as default and running refind-install from Gentoo fixes that. The blank refind screen happened after the last Windows update / refind-install. Subsequently I've used Windows recovery to boot into Windows, and run a fresh refind-install from Gentoo. The Gentoo kernel, fstab, etc., are the same as before.

Any tip would be appreciated!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7602
Location: Goose Creek SC

PostPosted: Tue Jan 28, 2020 2:12 pm    Post subject: Reply with quote

did you run refind-install on a routine basis just before this problem or were you inspired to run it by this problem?
https://www.rodsbooks.com/refind/installing.html
boot install media, mount gentoo root at /mnt/gentoo, mount any/all separate partitions at their usaul mount points run
Code:
ls -lR /boot | wgetpaste -t
efibootmgr -v | wgetpaste -t
fdisk -l | wgetpaste -t
mount | wetpaste -t

_________________
Defund the FCC.
Back to top
View user's profile Send private message
functorext
n00b
n00b


Joined: 08 Oct 2019
Posts: 5

PostPosted: Tue Jan 28, 2020 6:07 pm    Post subject: Reply with quote

The blank screen happened after a routine refind-install.

ls -lR /boot: http://dpaste.com/2EQQCVR
efibootmgr -v: http://dpaste.com/1QM86SZ
fdisk -l: http://dpaste.com/235NN97
mount: http://dpaste.com/0KRHF80
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7602
Location: Goose Creek SC

PostPosted: Wed Jan 29, 2020 12:25 am    Post subject: Reply with quote

Sorry to say that I could see no problems in the data you provided. I then ran refind-install (11.4 version) to see if I would have the same problem. Updated my refind for the first time sine 2017 :) , unfortunately, no problem on reboot.
My refind.conf is at http://dpaste.com/3YZCT53 .Be glad to look at a pastebin of yours.
you wrote:
All I'm getting is a blank boot screen with the refind logo on top and no boot options.
no boot options including windows and reboot to EFI etc.?? were you getting icons and text before?
I'd consider removing /boot/EFI/refind directory and contents, /usr/prtage/sys-boot/refind-install and contents, and /usr/portage/distfiles/refind-src*, then remove the sync timestamp rm /usr/portage/metadata/timestamp.x ,emerge --sync , emerge refind, run refind-install or perform a manual install from windows or linux.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 502
Location: Hawaii

PostPosted: Wed Jan 29, 2020 3:49 am    Post subject: Reply with quote

Try moving your kenel(s) to /boot.
_________________
Asrock X470 Taichi
Ryzen 2700x
32Gb Samsung B-die (16GB dual rank x2) DDR4
Geforce GTX 1060 6GB
Samsung Evo 840 500Gb +Seagate 1TB HDD
Etc....
Back to top
View user's profile Send private message
functorext
n00b
n00b


Joined: 08 Oct 2019
Posts: 5

PostPosted: Wed Jan 29, 2020 9:20 am    Post subject: Reply with quote

DONAHUE wrote:

you wrote:
All I'm getting is a blank boot screen with the refind logo on top and no boot options.
no boot options including windows and reboot to EFI etc.?? were you getting icons and text before?

Correct. The boot screen now is just the refind logo and nothing else. No icons, no text whatsoever.

Secureboot is disabled.
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 835

PostPosted: Wed Jan 29, 2020 10:19 am    Post subject: Reply with quote

Interesting. I installed rEFInd by hand, as I took a look at its installer and (a) couldn't work out what was happening, and hence (b) didn't trust it not to brick my system. (FWIW I used the Windows tool to set up the EFI entries.)

The relevant point is I have NO refind.conf. Indeed, rEFInd briefly moans at me about it on every boot. Then it presents the usual boot screen with a Windows icon and a couple of Gentoos, one for the antique kernel I put in /boot/efi ages ago when trying things out, and the other one represents the latest kernel from /boot (and it lists all the alternatives).

So, try removing (or probably safer renaming) refind.conf.

An aside: I'm using an HP laptop. About a year ago I updated the BIOS, after which its settings editor presented a menu of bootable entries from the EFI partition - the Windows boot manager, rEFInd, and that Gentoo kernel. So I could set rEFInd in the BIOS, which was nice, and does exactly what was wanted. It avoids all the stuff about renaming rEFInd as the Windows boot manager, which I never trusted.
_________________
Greybeard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum