On 02/18/18 12:25, Neil Bothwick wrote:
> On Sun, 18 Feb 2018 11:10:38 -0800, Daniel Frey wrote:
> 
>> I started moving away from Grub2 mostly because on my EFI computers it
>> was booting in blind mode so you couldn't see what was going on while
>> booting.
> 
> I moved away from it on my EFI computers simply because I could!
>  
>> The thing I hate is that the grub2 configuration generator generates
>> 5000 line config files and if it doesn't do exactly what you want it's a
>> real pain in the arse to do something simple like rename a loader entry.
> 
>> So I've been making my own config files that are much more brief.
> 
> The generators are only shell scripts. I wrote my own which generate
> much shorter configs that do what I want, and removed the executable bit
> on the original scripts.
>  
> 

Well, just an update. refind wasn't using the video properly in my NUC
either, but after a couple hours of messing around I found a solution
that doesn't boot in blind mode (i.e. I can actually see the text
console when it boots up.) This is a manual config that is easy to
maintain, not the godawful config the scripts generate.

Thought I'd share it.

Dan

==== grub.cfg ====
timeout=5
default=0

# Declare where the Grub modules are located
set prefix=(hd0,gpt2)/grub

# Load EFI video drivers. This device is EFI so keep the
# video mode while booting the linux kernel.
insmod efi_gop
insmod font
if loadfont ${prefix}/fonts/unicode.pf2
then
        insmod gfxterm
        set gfxmode=auto
        set gfxpayload=keep
        terminal_output gfxterm
fi

# Declare boot entries below this line
menuentry 'Gentoo 4.9.95' {
        root=hd0,gpt2
        linux /boot/kernel-4.9.95-gentoo quiet root=/dev/sda4
}

Reply via email to