On 4/24/2019 16:06, Jose Luis Pavón Pavón wrote:
> Hi!
> I'm trying to install Crux 3.4 on a MacBook mid 2009. All is smooth
> except when it comes to grub.
> If I follow the manual it seems to go well but at restart I end in a
> grub shell, and if I try to boot from shell I end up with a "no suitable
> video mode found booting in blind mode" and it hangs on forever.
> Later I will try a manual config file to see if I'm more lucky...
> But anyone has a solution for this?
> P.S: Crux will be the only system on the computer.
> Thanks a lot!Greetings!
If you get the grub shell then at least part of the installation is
done. Grub is installed and bootable at that point but sounds like it's
not able to find its config file. By default the config file should be
located at /boot/grub/grub.cfg.Regarding the "no suitable video mode found" message, that's generally
caused when booting an EFI system without kernel support for the EFI
framebuffer, or with a grub configuration that tries to use the gfxterm
terminal output without setting gfxmode and gfxpayload first. (For what
it's worth the system has probably booted, you just can't see the console.)I'd suggest double-checking that your kernel configuration has the
following enabled:
CONFIG_FB_EFI
CONFIG_FB_SIMPLEAfter those are enabled, make sure your grub.cfg file has the
appropriate commands for setting the gfx options. grub-mkconfig should
be able to figure these out for you and you should be able to find a
"set gfxmode=" line somewhere in the config it generates. It may or may
not have a "set gfxpayload=" line as well.If, on the other hand, you want to configure it manually, you would need
something along these lines:-----
search --no-floppy --fs-uuid --set root 11111111-1111-1111-1111-111111111111
set prefix=($root)/usr/lib/grubinsmod efi_gop
insmod font
if loadfont unifont; then
insmod gfxterm
set gfxmode=auto
set gfxpayload=keep
terminal_output gfxterm
fi
-----The UUID of all 1s above should be replaced with your root partition's
UUID which you can find with 'blkid'. Setting the 'root' and 'prefix'
variables allow grub to find the rest of its modules and components like
the included font. If you want to use a specific resolution instead of
the auto-detected one, you can change gfxmode accordingly. For example,
'set gfxmode=1920x1080'.Hope this helps.
Regards,
Matt
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
https://lists.crux.nu/mailman/listinfo/crux