From 00e59bcf978df6fc24ba847c4c11b27d3a921062 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 7 Feb 2023 10:15:10 -0600 Subject: [PATCH] Update Upgrading-the-Kernel-Version-Requires-Grub-Changes-for-AWS-and-GCE-Images.md Photon OS 3.0 grub.cfg is in /boot/grub.cfg, not /boot/grub2/grub.cfg --- ...rnel-Version-Requires-Grub-Changes-for-AWS-and-GCE-Images.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/photon_installation/Upgrading-the-Kernel-Version-Requires-Grub-Changes-for-AWS-and-GCE-Images.md b/docs/photon_installation/Upgrading-the-Kernel-Version-Requires-Grub-Changes-for-AWS-and-GCE-Images.md index e3a319c15b..030fb53d44 100644 --- a/docs/photon_installation/Upgrading-the-Kernel-Version-Requires-Grub-Changes-for-AWS-and-GCE-Images.md +++ b/docs/photon_installation/Upgrading-the-Kernel-Version-Requires-Grub-Changes-for-AWS-and-GCE-Images.md @@ -1,3 +1,3 @@ # Upgrading the Kernel Version Requires Grub Changes for AWS and GCE Images -If you upgrade the Photon OS Linux kernel with `tdnf upgrade linux`, you must modify the `/boot/grub2/grub.cfg` file to reflect the correct kernel version so that it works with AWS and GCE images. For example, if you install Photon OS 1.0 with kernel 4.4.8 and then upgrade the Linux kernel to 4.4.26, you must edit the /boot/grub2/grub.cfg file to replace the line containing `linux /boot/vmlinuz-4.4.8` with `linux /boot/vmlinuz-4.4.26`. \ No newline at end of file +If you upgrade the Photon OS Linux kernel with `tdnf upgrade linux`, you must modify the `/boot/grub.cfg` file to reflect the correct kernel version so that it works with AWS and GCE images. For example, if you install Photon OS 1.0 with kernel 4.4.8 and then upgrade the Linux kernel to 4.4.26, you must edit the /boot/grub2/grub.cfg file to replace the line containing `linux /boot/vmlinuz-4.4.8` with `linux /boot/vmlinuz-4.4.26`. On Photon OS 3.0, reboot to load the new kernel. No grub modification needed.