Cant Boot Ubuntu 22.04 LTS after release update
-
Was your VM installed as a PV guest instead of HVM?
-
@stormi Yes its a PV VM
-
Then there are probably extra steps to do when the bootloader changes like probably happened in this upgrade.
I'm not familiar with the steps myself, PV guests being not supported since XCP-ng 8.1 and only kept (for now) for compatibility with very old VMs.
Why was this ubuntu installed as a PV guest in the first place?
-
I am not sure why exactly, probably because the inital Install is quite old, i think its coming from 14.04. or 16. I will try to install grub on xvda and convert it. I was not aware that PV would become "suddenly" an issue
-
You should really leave PV as soon as possible, in terms of performance and security, HVM is better.
-
-
Hmm that's weird. You could try to use a LiveCD to do a grub install (in a chroot) or use Grub rescue CD and force a rewrite of Grub.
To me, it's a pure Grub issue in this case.
-
As this is just a test restore of my live system i have a snapshot pre-release upgrade. Can i do something else besides using grub-install and update-grub ? I have found this while looking for the error: https://askubuntu.com/questions/1404066/executing-grub2-command-nativedisk-before-boot-for-huge-disks
But to me its unclear why its should be necessary to mess with the disk module all of a sudden.
-
I have no idea either. Probably a question to the Ubuntu I think, because I can't see any reason why it could be connected to HVM mode (which is close to the "metal" in terms of Grub behavior!)
-
@olivierlambert after fiddeling around with almost every advice including dpkg-reconfigure grub-pc and to re-enable OS Proper (which aparently was disabled between 20.04 and 22.04) the one thing that worked for me was to purge grub* and reinstall it.
So i still have no idear what was going on, but i have my VM booting now on 22.04
Thanks for all the idears. -
Great news Happy using HVM mode with a "free" 20/30% boost