summaryrefslogtreecommitdiff
path: root/scripts/install-system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-10 22:29:44 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-10 22:29:44 -0700
commitc2db47deb9aa0661468a36822b5105ed1fe51918 (patch)
tree57ae28b16a42eb09f188acf35519e3fdcfc3b396 /scripts/install-system
parent49016db2c49b4ba1c7e0481c6810ba365c2b270e (diff)
downloadvyatta-cfg-system-c2db47deb9aa0661468a36822b5105ed1fe51918.tar.gz
vyatta-cfg-system-c2db47deb9aa0661468a36822b5105ed1fe51918.zip
Enable vga framebuffer on console
Enable vga mode to show logo
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-xscripts/install-system9
1 files changed, 8 insertions, 1 deletions
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 "}"