All of lore.kernel.org
 help / color / mirror / Atom feed
* Fwd: Problems with linux and framebuffer
       [not found] <8e04b5820910261401r6a54d9aao35fd4c8b09493e05@mail.gmail.com>
@ 2009-10-26 21:32 ` Ciprian Dorin, Craciun
  2009-10-26 21:40   ` Felix Zielcke
  0 siblings, 1 reply; 3+ messages in thread
From: Ciprian Dorin, Craciun @ 2009-10-26 21:32 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 875 bytes --]

    I've tried initially to send this email to the mailing list
without beeing subscribed. Now I've subscribed and send the email
again.

    Ciprian.

    P.S.: Is there any mailing list for Grub users?


---------- Forwarded message ----------
From: Ciprian Dorin, Craciun <ciprian.craciun@gmail.com>
Date: Mon, Oct 26, 2009 at 11:01 PM
Subject: Problems with linux and framebuffer
To: grub-devel@gnu.org


   Hello all!

   I've just installed Grub 1.97 on my laptop, and tried it... (I've
installed it manualy by calling grub-mkimage and grub-setup.)

   The problem is related with not beeing able to boot a Linux kernel
with framebuffer... (I've already tried the gfx dance...) :) (See the
attached config where I've commented the lines in discussion.)

   Can anyone send me a working grub.cfg example?

   Thanks,
   Ciprian.

[-- Attachment #2: grub.cfg --]
[-- Type: application/octet-stream, Size: 631 bytes --]


root (hd0,1)

#insmod vbe
#insmod font
#insmod gfxterm

set default=0
set timeout=2
set gfxmode=1024x768

#loadfont /grub/boot/unifont.pf2
#terminal_output gfxterm

menuentry "ArchLinux (2.6.30.9-erebus)" {
	set gfxpayload=keep
	linux /linux/kernels/2.6.30.9-erebus root=/dev/sda4 ro
}

menuentry "ArchLinux (2.6.30.9-erebus) single" {
	linux /linux/kernels/2.6.30.9-erebus root=/dev/sda4 ro single
}

menuentry "ArchLinux (2.6.30.5-eros)" {
	set gfxpayload=keep
	linux /linux/kernels/2.6.30.5-eros root=/dev/sda4 ro
}

menuentry "ArchLinux (2.6.30.5-eros) single" {
	linux /linux/kernels/2.6.30.5-eros root=/dev/sda4 ro single
}

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

* Re: Fwd: Problems with linux and framebuffer
  2009-10-26 21:32 ` Fwd: Problems with linux and framebuffer Ciprian Dorin, Craciun
@ 2009-10-26 21:40   ` Felix Zielcke
  2009-10-27  4:56     ` Ciprian Dorin, Craciun
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Zielcke @ 2009-10-26 21:40 UTC (permalink / raw)
  To: The development of GRUB 2

Am Montag, den 26.10.2009, 23:32 +0200 schrieb Ciprian Dorin, Craciun:
> I've tried initially to send this email to the mailing list
> without beeing subscribed. Now I've subscribed and send the email
> again.
> 
>     Ciprian.
> 
>     P.S.: Is there any mailing list for Grub users?
> 

There is help-grub@gnu.org but it's pretty low traffic and at least I'm
not subscribed there.
For support questions about grub2 our IRC channel is better: #grub on
irc.freenode.net

> ---------- Forwarded message ----------
> From: Ciprian Dorin, Craciun <ciprian.craciun@gmail.com>
> Date: Mon, Oct 26, 2009 at 11:01 PM
> Subject: Problems with linux and framebuffer
> To: grub-devel@gnu.org
> 
> 
>    Hello all!
> 
>    I've just installed Grub 1.97 on my laptop, and tried it... (I've
> installed it manualy by calling grub-mkimage and grub-setup.)
> 
>    The problem is related with not beeing able to boot a Linux kernel
> with framebuffer... (I've already tried the gfx dance...) :) (See the
> attached config where I've commented the lines in discussion.)
> 
>    Can anyone send me a working grub.cfg example?

grub-mkconfig should generate a gfxterm config if you have the fonts
compiled.
If you used grub-mkfont yourself you can use
GRUB_FONT_PATH=/boot/myfont.pf2 in /etc/default/grub
or /usr/local/default/grub depending what --prefix option was used
to ./configure

For `set gfxpayload=1024x768x32' or the deprecated `vga=0x317' to work
you need at least `insmod vbe'

-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer




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

* Re: Fwd: Problems with linux and framebuffer
  2009-10-26 21:40   ` Felix Zielcke
@ 2009-10-27  4:56     ` Ciprian Dorin, Craciun
  0 siblings, 0 replies; 3+ messages in thread
From: Ciprian Dorin, Craciun @ 2009-10-27  4:56 UTC (permalink / raw)
  To: The development of GRUB 2

On Mon, Oct 26, 2009 at 11:40 PM, Felix Zielcke <fzielcke@z-51.de> wrote:
> Am Montag, den 26.10.2009, 23:32 +0200 schrieb Ciprian Dorin, Craciun:
>> I've tried initially to send this email to the mailing list
>> without beeing subscribed. Now I've subscribed and send the email
>> again.
>>
>>     Ciprian.
>>
>>     P.S.: Is there any mailing list for Grub users?
>>
>
> There is help-grub@gnu.org but it's pretty low traffic and at least I'm
> not subscribed there.
> For support questions about grub2 our IRC channel is better: #grub on
> irc.freenode.net
>
>> ---------- Forwarded message ----------
>> From: Ciprian Dorin, Craciun <ciprian.craciun@gmail.com>
>> Date: Mon, Oct 26, 2009 at 11:01 PM
>> Subject: Problems with linux and framebuffer
>> To: grub-devel@gnu.org
>>
>>
>>    Hello all!
>>
>>    I've just installed Grub 1.97 on my laptop, and tried it... (I've
>> installed it manualy by calling grub-mkimage and grub-setup.)
>>
>>    The problem is related with not beeing able to boot a Linux kernel
>> with framebuffer... (I've already tried the gfx dance...) :) (See the
>> attached config where I've commented the lines in discussion.)
>>
>>    Can anyone send me a working grub.cfg example?
>
> grub-mkconfig should generate a gfxterm config if you have the fonts
> compiled.
> If you used grub-mkfont yourself you can use
> GRUB_FONT_PATH=/boot/myfont.pf2 in /etc/default/grub
> or /usr/local/default/grub depending what --prefix option was used
> to ./configure
>
> For `set gfxpayload=1024x768x32' or the deprecated `vga=0x317' to work
> you need at least `insmod vbe'
>
> --
> Felix Zielcke
> Proud Debian Maintainer and GNU GRUB developer

    My grub.cfg is created by hand, but I've followed the same
procedure as grub-mkconfig dose. Bellow is my config:

~~~~
root (hd0,1)

insmod vbe
insmod font
insmod gfxterm

set default=0
set timeout=2
set gfxmode=1024x768

loadfont /grub/boot/unifont.pf2
terminal_output gfxterm

menuentry "ArchLinux (2.6.30.9-erebus)" {
	set gfxpayload=keep
	linux /linux/kernels/2.6.30.9-erebus root=/dev/sda4 ro
}

menuentry "ArchLinux (2.6.30.9-erebus) single" {
	linux /linux/kernels/2.6.30.9-erebus root=/dev/sda4 ro single
}

menuentry "ArchLinux (2.6.30.5-eros)" {
	set gfxpayload=keep
	linux /linux/kernels/2.6.30.5-eros root=/dev/sda4 ro
}

menuentry "ArchLinux (2.6.30.5-eros) single" {
	linux /linux/kernels/2.6.30.5-eros root=/dev/sda4 ro single
}
~~~~

    Ciprian.



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

end of thread, other threads:[~2009-10-27  4:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <8e04b5820910261401r6a54d9aao35fd4c8b09493e05@mail.gmail.com>
2009-10-26 21:32 ` Fwd: Problems with linux and framebuffer Ciprian Dorin, Craciun
2009-10-26 21:40   ` Felix Zielcke
2009-10-27  4:56     ` Ciprian Dorin, Craciun

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.