-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
leapp upgrade 8.10 -> 9.4, Grub boot failure #147
Comments
Hello! Just so that i can reproduce the issue correctly.
I in fact discovered an issue with latest grub2 update that could have caused /boot/grub2/grub.cfg missing, but it should have been seen only after first stage of upgrade is done. Did you see on a serial console if before you have been dropped to grub prompt some upgrade actions were performed or not ? |
Hi
I'm not sure what OCI is. Please explain. In the VMware serial console i did see the upgrade was performed. I tried several things so I could remember wrong, but first boot after leapp upgrade gave the grub prompt, and then I loaded the vmlinuz-upgrade kernel and packages was installed. |
OK, i have a very distinct feeling that in fact you have hit exactly that bug that we have just fixed ;) |
Well, as this is a test server I could ask the VMware-admin to restore the server back to 8.10, and run the upgrade again.
BTW, the only third party package I install was Postgresql but I removed that before |
Very much appreciate your help! If this is a test system you could run:
After that verify:
i need output of last 3 commands. Notice: i did NOT ask to actually peform the upgrade ( no reboot after leapp upgrade ), diag info above should in fact be enough to help me understand what issue this is. |
The server has NOT been rebooted after |
Yeah, you were hitting grub2 config manipulation issue that led to system being unbootable post-upgrade. Thanks a lot! |
Sounds good. But then I will just roll back my test server to last snapshot and wait for next try. |
I think I am also getting similar issue. I did a fresh deployment of RHEL 8.9 Server and performed leap upgrade to 9 and failed. It landed on grub menu after the upgrade |
@digilkans if you have performed the upgrade of RHEL 8.9 instance, i am afraid this is not our scope of work. |
Hi
I tried to upgrade Oracle Linux 8.10 to 9.4 with
leapp upgrade --oraclelinux
but it ended up not booting with vmlinuz-upgrade and only the grub prompt was shown.I loaded vmlinuz-upgrade and initrd-upgrade at the grub prompt manually and got the upgrade and OS running.
It seems like the grub menu.cfg was missing and installing them sorted it out:
grub2-mkconfig -o /boot/grub2/grub.cfg
grubby —info ALL
now show the menu entries.I think this is a problem within
leapp
.The text was updated successfully, but these errors were encountered: