在/boot/grub/grub.cfg文件中设置Ubuntu开机启动时的VGA分辨率,
本人屏幕分辨率为:1366*768,要设为24位真彩色,在文件中加入下面这句:
set gfxpayload=1366*768*24
在文件中多位置如下:
menuentry "Ubuntu, Linux 2.6.38-8-generic" {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos5)'
search --no-floppy --fs-uuid --set=root A084B86084B83A9C
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
set gfxpayload=1366*768*24
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=A084B86084B83A9C loop=/ubuntu/disks/root.di
sk ro quiet splash
initrd /boot/initrd.img-2.6.38-8-generic
}