[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: console screen



On Thu, Jun 30, 2011 at 8:26 AM, Graham <savagebiscuits@googlemail.com> wrote:
> On Thu, 30 Jun 2011 11:01:43 +0100
> kuLa <debian@kulisz.net> wrote:
>> On 30/06/11 10:26, Bonno Bloksma wrote:
>>>
>>> After upgrading to squeeze and Grub2 my old line:
>>> # defoptions=vga=791
>>> in the menu.lst file is no longer relevant and I am supposed to do
>>> something with the /etc/default/grub file. In there it states:
>>>
>>> # The resolution used on graphical terminal
>>> # note that you can use only modes which your graphic card supports
>>> via VBE # you can see them in real GRUB with the command `vbeinfo'
>>> #GRUB_GFXMODE=640x480
>>>
>>> If I set this at 1280x1024, which I know my server supports, will
>>> that roughly give me what I had?
>>
>> edit /etc/default/grub with below line
>> GRUB_CMDLINE_LINUX="vga=791"
>> then
>> update-grub2
>> will give you what you want
>
> Yes, that'll work. Though another way, and one that won't affect your
> "Recovery Mode" boot options, which you might not want altered, is to
> use:
> GRUB_CMDLINE_LINUX_DEFAULT="vga=791"

>From the grub manual:

"On x86 systems, the kernel will be booted using the 32-bit boot
protocol. Note that this means that the 'vga=' boot option will not
work; if you want to set a special video mode, you will need to use
GRUB commands such as 'set gfxpayload=1024x768' or 'set
gfxpayload=keep' (to keep the same mode as used in GRUB) instead. GRUB
can automatically detect some uses of 'vga=' and translate them to
appropriate settings of 'gfxpayload'. The linux16 command (see
linux16) avoids this restriction."


Reply to: