grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Completely disable graphics support in grub2 x86_64-efi


From: KESHAV P.R.
Subject: Re: Completely disable graphics support in grub2 x86_64-efi
Date: Tue, 24 Aug 2010 19:41:33 +0530

I am getting these errors when grub.efi is started but before the menu
comes up :-


error: no such device found
(3 times)
error: no suitable mode found
error: no video mode activated


using this config :-


insmod efi_gop
insmod efi_uga
insmod font

if loadfont ${prefix}/unifont.pf2
then
   insmod gfxterm
   set 
gfxmode="1280x800x32,1024x768x32,800x600x32,640x480x32,1280x800,1024x768,800x600,640x480"
   set gfxpayload=keep
   terminal_output gfxterm

   set color_normal=light-blue/black
   set color_highlight=light-cyan/blue

   insmod png
   background_image ${prefix}/archlinux.png
fi

insmod part_gpt
insmod fat
insmod ext2

set timeout=5
set default=0

search --file --set=arch64 --no-floppy /vmlinuz26

set _kernel_flags="nomodeset add_efi_memmap"
set _rootfstype="ext4"

menuentry "Arch Linux 2.6.35.3-ARCH" {
linux (${arch64})/vmlinuz26
root=/dev/disk/by-uuid/0cc6e472-7f98-42ff-b7f3-309b641377ad
rootfstype=${_rootfstype} ro ${_kernel_flags}
initrd (${arch64})/kernel26.img
}

menuentry  "Arch Linux 2.6.35.3-ARCH Fallback" {
linux (${arch64})/vmlinuz26
root=/dev/disk/by-uuid/0cc6e472-7f98-42ff-b7f3-309b641377ad
rootfstype=${_rootfstype} ro ${_kernel_flags}
initrd (${arch64})/kernel26-fallback.img
}


The menu colors come up properly but no background image is shown.
While booting no kernel boot messages are displayed.

Without the gfx related lines (config file starting from "insmod part_gpt" ),

(before menu)
error: no such device found
(3 times)

(while booting)
error: no suitable mode found
Booting however

No menu color change and no kernel boot messages. I am using 64-bit
UEFI 2.1 firmware (Tianocore EDK1 DUET UEFI64). How do I resolve this?
I want to see the kernel boot messages and be able to boot into
terminal (runlevel or init 3), not particular about grub2 menu colors
or background image. Thanks in advance.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]