summaryrefslogtreecommitdiff
path: root/scripts
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
parent49016db2c49b4ba1c7e0481c6810ba365c2b270e (diff)
downloadvyatta-cfg-quagga-c2db47deb9aa0661468a36822b5105ed1fe51918.tar.gz
vyatta-cfg-quagga-c2db47deb9aa0661468a36822b5105ed1fe51918.zip
Enable vga framebuffer on console
Enable vga mode to show logo
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-system9
-rwxr-xr-xscripts/quick-install2
2 files changed, 9 insertions, 2 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 "}"
diff --git a/scripts/quick-install b/scripts/quick-install
index 347cafd2..d6556e12 100755
--- a/scripts/quick-install
+++ b/scripts/quick-install
@@ -572,7 +572,7 @@ install_grub () {
echo -e "serial --unit=0 --speed=9600\nterminal --timeout=5 console serial\n\n" >> $grub_file
# set primary boot option
echo -e "title Vyatta OFR\n\troot $root" >> $grub_file
- echo -en "\tkernel /boot/vmlinuz root=/dev/$ROOT_PARTITION $ISCF console=ttyS0,9600 console=tty0\n" >> $grub_file
+ echo -en "\tkernel /boot/vmlinuz root=/dev/$ROOT_PARTITION $ISCF quiet vga=788 console=ttyS0,9600 console=tty0\n" >> $grub_file
echo -e "\tinitrd /boot/initrd.img" >> $grub_file
echo "OK"