manac ham chơi

19 February, 2006

How to change Grub menu resolution?

Filed under: linux-unix — manac @ 2:22 am

                           640×480        800×600  1024×768 1280×1024   1600×1200
—————+———-+———-+————+————-+———
256 (8 bit)       |            769              771         773             775             796
32,768 (15 bit)|            784             787          790             793             797
65,536 (16 bit)|            785             788          791             794             798
16.8M (24 bit) |            786             789         792             795              799

example:

title Ubuntu, kernel 2.6.15-12-386
root (hd1,2)
kernel /boot/vmlinuz-2.6.15-12-386 root=/dev/hdb3 vga=791 ro quiet splash
initrd /boot/initrd.img-2.6.15-12-386
savedefault
boot

Advertisements

3 Comments »

  1. #__+

    Comment by manac — 28 June, 2007 @ 12:19 pm

  2. # FRAMEBUFFER RESOLUTION SETTINGS
    # +————————————————-+
    # | 640×480 800×600 1024×768 1280×1024
    # —-+——————————————–
    # 256 | 0x301=769 0x303=771 0x305=773 0x307=775
    # 32K | 0x310=784 0x313=787 0x316=790 0x319=793
    # 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
    # 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
    # +————————————————-+

    Comment by manac — 27 December, 2007 @ 1:03 pm

  3. use: vga=0F07 (vesa 800×600)

    Comment by manac — 27 December, 2007 @ 1:08 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: