All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Completely disable graphics support in grub2 x86_64-efi
@ 2010-08-24 14:11 KESHAV P.R.
  2010-08-25  1:30 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 15+ messages in thread
From: KESHAV P.R. @ 2010-08-24 14:11 UTC (permalink / raw)
  To: grub-devel

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.


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Completely disable graphics support in grub2 x86_64-efi
@ 2010-08-21 14:56 KESHAV P.R.
  0 siblings, 0 replies; 15+ messages in thread
From: KESHAV P.R. @ 2010-08-21 14:56 UTC (permalink / raw)
  To: grub-devel

I am currently using grub2 experimental branch compiled for x86_64-efi
. I am getting the following error message (and no kernel boot
messages are displayed) -

error: no suitable mode found.
Booting however

What modules cause these errors? Will excluding them from grub.efi
display proper kernel boot messages. I already asked this before at
http://lists.gnu.org/archive/html/bug-grub/2010-06/msg00029.html and
it was suggested to use efi_gop or efi_uga module. I am currently
unable to boot my Archlinux x86_64 using bzr main trunk due to
corrupted initramfs. Thats why I use the experimental branch (due to
newreloc branch).

The bzr trunk does not display this error message but causes kernel
panic, while the exp branch shows no boot messages but boots into gdm
(login screen) in runlevel 5 successfully. But no text is displayed if
I try runlevel 3 or single user mode or simply console login. I don't
even know whether the boot is successful.

I want newreloc (or exp branch) functionality with main trunk's boot
messages for x86_64-efi ? How do I get this? Is there any way to force
grub2 to use simple text mode of UEFI instead of GOP or UGA, or
completely disable graphical terminal in efi in my system?

Thanks in advance.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-09-08 12:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-24 14:11 Completely disable graphics support in grub2 x86_64-efi KESHAV P.R.
2010-08-25  1:30 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-25  6:44   ` KESHAV P.R.
2010-08-25  9:44     ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-25 12:13       ` KESHAV P.R.
2010-08-26  8:02         ` KESHAV P.R.
2010-08-26  8:30           ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-26 10:04             ` KESHAV P.R.
2010-08-26 10:26               ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-26 11:25                 ` KESHAV P.R.
2010-08-26 11:47                   ` Vladimir 'phcoder' Serbinenko
2010-08-26 12:02                     ` KESHAV P.R.
2010-08-26 12:26                       ` Vladimir 'phcoder' Serbinenko
     [not found]                         ` <AANLkTi=MYggKu3svrGPxCSdRqvmXEPaGS8qW8baSEOVu@mail.gmail.com>
2010-09-08 12:53                           ` KESHAV P.R.
  -- strict thread matches above, loose matches on Subject: below --
2010-08-21 14:56 KESHAV P.R.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.