summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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"