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_SIMPLE After 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/grub insmod 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
On 4/25/2019 04:47, Jose Luis Pavón Pavón wrote:
The manual entry, as you posted, run sweet. I only have one problem an error that says "invalid search option" but it prompts me to press any key and continue (maybe the wrong is --fs-uuid?) Also in the manual says you have to copy the bzImage from x86 is there any difference if I copy the one in x86_64? Thanks a lot.
No problem, glad to help. Not sure which option would cause trouble in the search line, I pulled that from a working config, for what that's worth. If you want to pastebin and send a link to a copy of your full grub.cfg I'll take a look at it. As for x86 vs. x86_64, they're the same in current kernel versions: $ ls -l x86_64/boot/bzImage lrwxrwxrwx 1 root root 22 May 12 2018 x86_64/boot/bzImage -> ../../x86/boot/bzImage Regards, Matt
participants (2)
-
Jose Luis Pavón Pavón
-
Matt Housh