Skip to content

Instantly share code, notes, and snippets.

@centminmod
Created December 11, 2017 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save centminmod/72fe33469cc12836cad3e7eb7921013f to your computer and use it in GitHub Desktop.
Save centminmod/72fe33469cc12836cad3e7eb7921013f to your computer and use it in GitHub Desktop.
centos 7.4 diff -u /boot/grub2/grub.cfg /boot/efi/EFI/centos/grub.cfg
--- /boot/grub2/grub.cfg 2017-12-11 06:01:57.073202513 +0000
+++ /boot/efi/EFI/centos/grub.cfg 2017-12-11 06:18:18.000000000 +0000
@@ -85,7 +85,7 @@
### END /etc/grub.d/01_users ###
### BEGIN /etc/grub.d/10_linux ###
-menuentry 'CentOS Linux (3.10.0-693.11.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-693.5.2.el7.x86_64-advanced-d34eab7d-3acc-4f3d-9151-1c2e837ea291' {
+menuentry 'CentOS Linux (3.10.0-693.11.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-693.11.1.el7.x86_64-advanced-d34eab7d-3acc-4f3d-9151-1c2e837ea291' {
load_video
set gfxpayload=keep
insmod gzio
@@ -100,7 +100,7 @@
else
search --no-floppy --fs-uuid --set=root d34eab7d-3acc-4f3d-9151-1c2e837ea291
fi
- linuxefi /boot/vmlinuz-3.10.0-693.11.1.el7.x86_64 root=/dev/md2 ro crashkernel=auto rhgb quiet rd.md.uuid=96d426e3:3d67d7fd:a4d2adc2:26fd5302 rd.md.uuid=77278d81:ad28c6b6:a4d2adc2:26fd5302 rootdelay=10 rootdelay=10 noquiet nosplash net.ifnames=0 biosdevname=0 LANG=en_US.UTF-8
+ linuxefi /boot/vmlinuz-3.10.0-693.11.1.el7.x86_64 root=/dev/md2 ro crashkernel=auto rhgb quiet rd.md.uuid=96d426e3:3d67d7fd:a4d2adc2:26fd5302 rd.md.uuid=77278d81:ad28c6b6:a4d2adc2:26fd5302 rootdelay=10 rootdelay=10 noquiet nosplash net.ifnames=0 biosdevname=0
initrdefi /boot/initramfs-3.10.0-693.11.1.el7.x86_64.img
}
menuentry 'CentOS Linux (3.10.0-693.5.2.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-693.5.2.el7.x86_64-advanced-d34eab7d-3acc-4f3d-9151-1c2e837ea291' {
@@ -138,7 +138,7 @@
linuxefi /boot/vmlinuz-0-rescue-a9d4a8570726466ea48f77428123cd7c root=/dev/md2 ro crashkernel=auto rhgb quiet rd.md.uuid=96d426e3:3d67d7fd:a4d2adc2:26fd5302 rd.md.uuid=77278d81:ad28c6b6:a4d2adc2:26fd5302 rootdelay=10 rootdelay=10 noquiet nosplash net.ifnames=0 biosdevname=0
initrdefi /boot/initramfs-0-rescue-a9d4a8570726466ea48f77428123cd7c.img
}
-
+if [ "x$default" = 'CentOS Linux (3.10.0-693.11.1.el7.x86_64) 7 (Core)' ]; then default='Advanced options for CentOS Linux>CentOS Linux (3.10.0-693.11.1.el7.x86_64) 7 (Core)'; fi;
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment