diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2008-06-24 17:04:42 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2008-06-24 17:04:42 -0700 |
commit | c7bd09b302c75daaea3290236d9c6b8696edb7a8 (patch) | |
tree | f321d337d3685b4ba09b393ed60867c30e22abb3 /scripts/install-system | |
parent | 9edeeb4783a5b672fb18abbe8db8b059d4298717 (diff) | |
download | vyatta-cfg-system-c7bd09b302c75daaea3290236d9c6b8696edb7a8.tar.gz vyatta-cfg-system-c7bd09b302c75daaea3290236d9c6b8696edb7a8.zip |
Bugfix: 1292
Enable VGA display so that logo can be displayed when booting on
a VGA console.
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-x | scripts/install-system | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system index 12192cb4..71233ccb 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -76,6 +76,20 @@ GRUB_OPTIONS="quiet" VTY_CONSOLE="console=ttyS0,9600 console=tty0" SERIAL_CONSOLE="console=tty0 console=ttyS0,9600" +# If VGA_LOGO is set, enable use of the VGA monitor for displaying the +# logo during boot. The "vga=" boot command specifies a VGA mode that +# is encoded as shown below. We pick a value that is likely to work +# on most systems: +# +# 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 +# +VGA_LOGO="vga=788" + # trap signals so we can kill runaway progress indicators trap 'progress_indicator stop; exit 1' 1 trap 'progress_indicator stop; exit 1' 2 @@ -649,7 +663,7 @@ install_grub () { if [ -f "/boot/vmlinuz" ]; then # Set first system boot option. Make KVM the default console in this one. echo -e "menuentry \"Vyatta OFR (KVM console)\" {" - echo -e "\tlinux /boot/vmlinuz $GRUB_ROOT $GRUB_OPTIONS $VTY_CONSOLE" + echo -e "\tlinux /boot/vmlinuz $GRUB_ROOT $GRUB_OPTIONS $VGA_LOGO $VTY_CONSOLE" echo -e "\tinitrd /boot/initrd.img" echo -e "}" |