On Sun, Oct 31, 2010 at 06:01:36PM +0000, Ken Moffat wrote:
> On Sun, Oct 31, 2010 at 01:14:12PM -0400, Mike Hollis wrote:
> > I added my old boot statements to the appropiate menuentry thus:
> > 
> > linux   /boot/bzImage root=/dev/hda6 vga=0x318 video=vesafb:ywrap,mtrr:3 
> > 
> > but it booted to text mode, so I guess this is not correct.I would also
> > like to get the colors as in legacy.
>  For the colours, I've no idea.
> 
>  If by "text mode" you mean "no penguin", it's nothing to do with
> grub.  Either you didn't configure it to use a framebuffer (or,
> perhaps, FRAMEBUFFER_CONSOLE), or the the options you used are not
> appropriate to this kernel version.  I know nothing about vesafb
> options, but I think I saw something about vga= on lkml earlier this
> year.  Probably best to start with the ouptut from dmesg, to see if
> it gives any pointers.

Yes tux is missing and /proc/fb shows nothing. I have fbcon and vesafb 
compiled into the kernel (not modules). These boot parameters work with 
grub legacy to give me a graphical console with resolution 1024x768.I 
have been booting out of debian on another partition using legacy grub
with this setup and not using the local grub2; I'm using it now with
tux and vesa present and accounted for.

I want to use these same parameters with grub2 . I have a lot of console
based apps set up to run like this and they don't work well in the 
default text mode. Some like directfb and links2 not at all.

I found a reference to adding a line to /etc/default/grub to address 
this but I didn't have this file. I created it and added :

#!/bin/sh
GRUB_CMDLINE_LINUX_DEFAULT="vga=0x318 video=vesafb:ywrap,mtrr:3" 


I removed the above part "vga=....." from  the menuentry  in grub.cfg 
and  ran grub-mkconfig  again and grub added them in to the menuentry,
so I thought I had it fixed and ran grub-setup again but still no tux.
           
Apparently vesafb is not being initialized.I can use my old setup for
booting while I study grub2 so it's not a show stopper.

Thanks for the response.

--- Mike H.----

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to