natas

Gentoo Console Resolution

8 posts in this topic

I only run command line on my Gentoo box, so when I boot up it doesnt start a graphical login screen or anything of that sort. So how do I change the resolution of the console at startup? I think its only at like 800x600 right now. It'd be nice if I could have it at like 1024x786 and get more screen space.

0

Share this post


Link to post
Share on other sites

I am not complete sure about this but it could be in your .profile

0

Share this post


Link to post
Share on other sites

compile support for the proper frame buffer into your kernel (if not done already)

then append the correct configuration settings to your bootloader config(example):

kernel /kernel-2.6.12-r2 root=/dev/sdb3 video=vesafb:mtrr,ywrap,1024x768-32@75

0

Share this post


Link to post
Share on other sites

/(boot)/grub/grub.conf


[...]
kernel /boot/kernel-genkernel-x86-2..... [...] vga=0x31A
[...]

(or 0x317 for 1024x8..)

Edited by brain_shifter
0

Share this post


Link to post
Share on other sites

for lilo uncoment the line vga=791 or whichever you want for your screen resolution (i belive thats for 1024x768x24

0

Share this post


Link to post
Share on other sites

I had the same problem... played around with grub.conf and got it fixed up.

The Gentoo Installation docs were my best friends for this issue. See the section on setting up grub (or LILO).

0

Share this post


Link to post
Share on other sites

you NEED to have frame buffer support in your kernel for any of that to work, just fyi. if you see a nice lil logo at the upper left hand when booting, your set, just change your lilo.conf file to reflect the changes.

0

Share this post


Link to post
Share on other sites

Of course, don't forget to reinstall lilo to the MBR/primary partition/wherever...I spent a few months trying to write CDs in regular ATAPI mode because I didn't know to reinstall lilo after adding my ide-scsi specs!

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now