From c2db47deb9aa0661468a36822b5105ed1fe51918 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 10 Jun 2008 22:29:44 -0700 Subject: Enable vga framebuffer on console Enable vga mode to show logo --- scripts/install-system | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts/install-system') diff --git a/scripts/install-system b/scripts/install-system index 56f2e433..ad12de32 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -586,8 +586,15 @@ install_grub () { echo -e "set default=$DEFAULT_CONSOLE\n\n\n" # Set first system boot option. Make KVM the default console in this one. + # mode values for vga= + # Color depth | 640x480 | 800x600 | 1024x768 | 1280x1024 + # -----------------+---------+---------+----------+---------- + # 256 (8bit) | 769 771 773 775 + # 32000 (15bit) | 784 787 790 793 + # 65000 (16bit) | 785 788 791 794 + # 16.7 Mill.(24bit)| 786 789 792 795 echo -e "menuentry \"Vyatta OFR (KVM console)\" {" - echo -en "\tlinux /boot/vmlinuz root=/dev/$ROOT_PARTITION $ISCF console=ttyS0,9600 console=tty0 \n" + echo -en "\tlinux /boot/vmlinuz root=/dev/$ROOT_PARTITION $ISCF quiet vga=788 console=ttyS0,9600 console=tty0\n" echo -e "\tinitrd /boot/initrd.img" echo -e "}" -- cgit v1.2.3