From 5ccc3267ac5a4e7c49b00cc17952e70d7188cbbc Mon Sep 17 00:00:00 2001 From: fdupoux Date: Sun, 23 Aug 2020 11:25:44 +0100 Subject: [PATCH] Make BIOS and UEFI boot menus more consistent (boot entries, screen resolution, colors) --- ChangeLog | 1 + efiboot/grub/grubsrcd.cfg | 12 ++++++++---- syslinux/sysresccd_head.cfg | 4 ++-- syslinux/sysresccd_sys.cfg | 8 ++++---- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d8ceca..779305c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ SystemRescueCd ChangeLog ------------------------------------------------------------------------------- * Added support for getting autorun scripts from HTTPS sources (Richard Dumais) * Added an entry in the boot menus to use the nomodeset option (#131) +* Make BIOS and UEFI boot menus consistent (descriptions, resolution, colors) * Added hexedit and ghex hexadecimal text editors (#135) ------------------------------------------------------------------------------- diff --git a/efiboot/grub/grubsrcd.cfg b/efiboot/grub/grubsrcd.cfg index f8b2fc0..2f0bdd3 100644 --- a/efiboot/grub/grubsrcd.cfg +++ b/efiboot/grub/grubsrcd.cfg @@ -6,7 +6,11 @@ set pager=1 # Display settings if loadfont /boot/grub/font.pf2 ; then - set gfxmode=auto + set gfxmode=640x480 + set color_normal=black/cyan + set color_highlight=black/light-gray + set menu_color_normal=black/cyan + set menu_color_highlight=black/light-gray insmod efi_gop insmod efi_uga insmod gfxterm @@ -22,13 +26,13 @@ menuentry "Boot SystemRescueCd using default options" { initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img } -menuentry "Boot SystemRescueCd and copy system to RAM" { +menuentry "Boot SystemRescueCd and copy system to RAM (copytoram)" { set gfxpayload=keep linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img } -menuentry "Boot SystemRescueCd and verify the integrity of the live medium" { +menuentry "Boot SystemRescueCd and verify integrity of the medium (checksum)" { set gfxpayload=keep linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% checksum initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img @@ -40,7 +44,7 @@ menuentry "Boot SystemRescueCd using basic display drivers (nomodeset)" { initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img } -menuentry "Boot from a Linux operating system installed on the disk" { +menuentry "Boot a Linux operating system installed on the disk (findroot)" { set gfxpayload=keep linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% findroot initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img diff --git a/syslinux/sysresccd_head.cfg b/syslinux/sysresccd_head.cfg index b1a2e81..98c4234 100644 --- a/syslinux/sysresccd_head.cfg +++ b/syslinux/sysresccd_head.cfg @@ -1,7 +1,7 @@ SERIAL 0 38400 UI boot/syslinux/vesamenu.c32 MENU TITLE SYSTEM-RESCUE-CD %ISO_ARCH% %ISO_VERSION% (www.system-rescue-cd.org) -MENU BACKGROUND #c00090f0 +MENU BACKGROUND #c000a8a8 TIMEOUT 900 MENU WIDTH 78 @@ -12,7 +12,7 @@ MENU CMDLINEROW 22 MENU HELPMSGROW 24 MENU HELPMSGENDROW 37 -# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu +# Refer to https://wiki.syslinux.org/wiki/index.php?title=Doc/menu MENU COLOR border 30;44 #40ffffff #a0000000 std MENU color title 1;31;40 #FFFF0000 #00000000 std diff --git a/syslinux/sysresccd_sys.cfg b/syslinux/sysresccd_sys.cfg index 4e64424..8a91d89 100644 --- a/syslinux/sysresccd_sys.cfg +++ b/syslinux/sysresccd_sys.cfg @@ -13,7 +13,7 @@ LABEL sysresccd_copytoram TEXT HELP Boot the SystemRescueCd live medium and copy system to RAM ENDTEXT -MENU LABEL Boot SystemRescueCd and copy system to RAM +MENU LABEL Boot SystemRescueCd and copy system to RAM (copytoram) LINUX boot/%ISO_ARCH%/vmlinuz INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram @@ -22,7 +22,7 @@ LABEL sysresccd_checksum TEXT HELP Boot SystemRescueCd and verify the integrity of the live medium ENDTEXT -MENU LABEL Boot SystemRescueCd and and verify integrity +MENU LABEL Boot SystemRescueCd and verify integrity of the medium (checksum) LINUX boot/%ISO_ARCH%/vmlinuz INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% checksum @@ -31,7 +31,7 @@ LABEL sysresccd_nomodeset TEXT HELP Boot using basic display drivers to avoid display issues ENDTEXT -MENU LABEL Boot SystemRescueCd using basic display drivers +MENU LABEL Boot SystemRescueCd using basic display drivers (nomodeset) LINUX boot/%ISO_ARCH%/vmlinuz INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% nomodeset @@ -40,7 +40,7 @@ LABEL sysresccd_findroot TEXT HELP Boot from a Linux operating system installed on the disk ENDTEXT -MENU LABEL Boot from a Linux operating system installed on the disk +MENU LABEL Boot a Linux operating system installed on the disk (findroot) LINUX boot/%ISO_ARCH%/vmlinuz INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% findroot