Setting console VGA mode

Liam Proven lproven at gmail.com
Sun Jul 19 10:52:05 UTC 2009


2009/7/18 Emil Payne <EHSPayne at angelwoodpines.org>:
>
>
> Brian McKee wrote:
>> 2009/7/18 Liam Proven <lproven at gmail.com>:
>>> 2009/7/17 Liam Proven <lproven at gmail.com>:
>>>> display is 80x60. I set this by adding
>>>>
>>>> vga=6
>>>>
>>>> to the end of my kernel line in /boot/grub/menu.lst
>>>>
>>>> I also removed the "quiet" and "splash" parameters.
>>>>
>>>> However, although this works, it is reset back to 80x25 as soon as init starts.
>>
>> I just flipped mine to vga=6 and then to vga=791 (was at 80x25)
>> I think the missing step for you is runng 'sudo update-grub' after you
>> made your changes, so that the initrd.img is regenerated.
>>
>
> I had to set mine as
> vga=0x305
> for it to work.
> For some reason it wasn't working right with a straight decimal number.

Oh, vga=6 or whatever works fine. I tried some lower numbers too for
30 rows or 43. The console flips straight into the new resolution.
Then as soon as init starts, it flips straight back to 80x25.

Bear in mind, Ubuntu Server does not use usplash. There's no graphical
boot screen. It starts in text mode and stays in text mode.

If you're trying this on desktop Ubuntu, once it's finished booting,
try flipping to one of the text-mode vconsoles with Alt-F1/2/3/4. They
should be in 80x60 or whatever. If they're plain old VGA 80x25, it
hasn't worked - init has reset the res back down.

-- 
Liam Proven • Profile: http://www.linkedin.com/in/liamproven
Email: lproven at cix.co.uk • GMail/GoogleTalk/Orkut: lproven at gmail.com
Tel: +44 20-8685-0498 • Cell: +44 7939-087884 • Fax: + 44 870-9151419
AOL/AIM/iChat/Yahoo/Skype: liamproven • LiveJournal/Twitter: lproven
MSN: lproven at hotmail.com • ICQ: 73187508




More information about the ubuntu-users mailing list