Link to home
Start Free TrialLog in
Avatar of tonelm54
tonelm54

asked on

Ubuntu upgrade from v18 using do-release-upgrade

I've been having issues updating ubuntu to the latest version using Hyper-V


I have multiple VMs using Ubuntu 18.04.6 LTS server, and even though I have done latest 'apt-get update' and 'apt-get upgrade' once I do 'do-release-upgrade' and reboot, all I get is:-

User generated image

I then built a new VM from scratch and tried the same and got the same. I then downloaded Ubuntu 20.1 from the ubuntu website and after install got the same.


I can kinda make out Hyper-V text across the screen, but no idea how to fix it.


The VMs are all Gen2 if that helps


Does anyone have any pointers, Im sure I cant be the first to suffer this, but cant find anything on google about this :-S


Any help???

Avatar of rindi
rindi
Flag of Switzerland image

To me it looks like a Graphic Card issue. Personally I don't use Hyper-V, but other HyperVisors like KVM or VirtualBox. In those you can set different Emulated Graphic cards for the VM, so I suggest looking for such an option within Hyper-V too.
Avatar of tonelm54
tonelm54

ASKER

Reading into the issue apparently it maybe a grub issue, but Ive never really played too much with Grub
Likely @rindi is correct, this seems to be a graphic issue.

If I hit this problem, I'd start through the https://LaunchPad.net tickets first, to see if there's a known problem currently in work to be fixed or more likely, someone will have posted a fix.
Ok, after reading multiple search results, I discovered the issue is with grub.

I even found one article which said grub doesnt work with Hyper-V and latest Ubuntu image.

So, I tried a few different boot managers, and figured on refind

So, for anyone coming back on this, this is how I fixed it.
do-release-upgrade

***********************
*DO NOT RESTART AT END*
***********************

sudo apt-get purge grub-pc
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:rodsmith/refind
sudo apt-get update
sudo apt-get install refind


**********OPTIONAL**********
Edit the file to reduce the boot time
sudo nano /boot/efi/EFI/refind/refind.conf

Once booted, delete the first 2 entries by delete key

Open in new window


For information I'm sure if I knew grub more I could possibly fix the issue, but dont so this is a workaround that fixes the issue, Im not saying its the only fix
ASKER CERTIFIED SOLUTION
Avatar of tonelm54
tonelm54

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial