From 0ebcf2edf3fd3c46d322a408b886f7d2e5d6d905 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 31 Mar 2012 18:47:07 +0200 Subject: [PATCH] installer.sh: don't transport vga=xxx option from live to installed system because it is obsoleted in grub --- installer/installer.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/installer/installer.sh b/installer/installer.sh index 78729eb..80ee980 100755 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -438,14 +438,9 @@ if [ "$INSTALL_BOOTLOADER_DEVICE" ]; then CMDLINE=`cat /proc/cmdline` echo $"Current kernel command line is '$CMDLINE'" - VGA_ADD=`echo $CMDLINE | grep "vga=" | sed "s|.*\(vga=[0-9]*\).*|\1|"` NOMODESET_ADD=`echo $CMDLINE | grep "nomodeset" | sed "s|.*\(nomodeset\).*|\1|"` - if [ "$VGA_ADD" ]; then - GRUB_CMDLINE_ADD="$VGA_ADD" - echo $"Adding $VGA_ADD to kernel command line" - fi if [ "$NOMODESET_ADD" ]; then - GRUB_CMDLINE_ADD="$GRUB_CMDLINE_ADD $NOMODESET_ADD" + GRUB_CMDLINE_ADD="$NOMODESET_ADD" echo $"Adding '$NOMODESET_ADD' to kernel command line" fi if [ "$GRUB_CMDLINE_ADD" ]; then