PDA

View Full Version : [ubuntu] Grub2 console Resolution



mr_skater99
May 10th, 2010, 06:13 AM
Hi all,

Let me premise this with yes I have searched the forums and google but I cannot find a answer to my specific question.

Previously on my Lenovo s10-2 (1024x600 netbook) I had Ubuntu 9.10 and Backtrack 4.

Grub 2 was installed with the Ubuntu install and I upgraded the Backtrack install to use Grub2 as well for consistency.

On the Ubuntu install I added the following to the /etc/default/grub file:
GRUB_GFXMODE=1024x600x32

And then added to the /etc/grub/00_header file (in the right spot):
set gfxpayload=keep

And ran sudo update-grub.

I could then boot either Ubuntu 9.10 or Backtrack 4 with a console at 1024x600 with no issues.

Last week I did a fresh install of Ubuntu 10.04 and did the same as above. Works fine for Ubuntu, but for Backtrack I just get a blank console on boot. It does boot fine, and if I login and type startx it starts x, but if I logout it drops be back to a blank screen.

I can see that they are running different versions of grub2 - but can;t find much on why this is happening.

Any suggestions?

Cheers/

dino99
May 10th, 2010, 07:18 AM
Hi all,

Let me premise this with yes I have searched the forums and google but I cannot find a answer to my specific question.

Previously on my Lenovo s10-2 (1024x600 netbook) I had Ubuntu 9.10 and Backtrack 4.

Grub 2 was installed with the Ubuntu install and I upgraded the Backtrack install to use Grub2 as well for consistency.

On the Ubuntu install I added the following to the /etc/default/grub file:
GRUB_GFXMODE=1024x600x32

And then added to the /etc/grub/00_header file (in the right spot):
set gfxpayload=keep

And ran sudo update-grub.

I could then boot either Ubuntu 9.10 or Backtrack 4 with a console at 1024x600 with no issues.

Last week I did a fresh install of Ubuntu 10.04 and did the same as above. Works fine for Ubuntu, but for Backtrack I just get a blank console on boot. It does boot fine, and if I login and type startx it starts x, but if I logout it drops be back to a blank screen.

I can see that they are running different versions of grub2 - but can;t find much on why this is happening.

Any suggestions?

Cheers/

into /etc/default/grub

GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=keep

then : sudo grub-mkconfig && update-grub

mr_skater99
May 10th, 2010, 08:47 AM
Thanks for the suggestion dino99.

I had previously tried 'GRUB_GFXPAYLOAD_LINUX=keep' I added it again to be sure and did the extra step of 'grub-mkconfig' which completed successfully (along with update-grub).

However no change in behavior.

Any other suggestions?