Issue creating Ubuntu 18.04 desktop VM
-
I have tried a dozen times over the past few weeks. I cannot get one working. The most common thing happening is that I get to the installer's final screen that basically says, press this button to reboot and use your newly installed OS. I am viewing that is the web console. I click the button and the console disappears (to a white space) with the rest of the webpage showing that the VM is still running. I get some activity on the stats for maybe a minute and then it flatlines. No activity. No console. However, the machine is still in a "running" state according to XO. I have tried normal shutdown, reboot, and forced shutdown, reboot. Everything ends up with a corrupted OS on the VM that doesn't boot.
I am using the template and the latest 18.04 desktop ISO from Ubuntu's website.
-
Have you tried switching between booting in bios / uefi mode?
-
@Danp No. I assumed the template would "just work". What should I try?
-
Well, it should work, but since it didn't I thought that you may want to try switching the settings. Look under the VM's Advanced tab in XO for the
Boot firmware
dropdown. -
Which version are you actually using? On Ubuntu's website, the latest version is 20.04.1 LTS, version 10.04 is really old. May be try the same version as the template? Or try "Other install media".
-
I understand that 20 is out. But even numbers are LTS. LTS is their long term service issue that is updated for many years. I am following a tutorial and it is more important to match the tutorial's environment then be on the latest distro.
-
What template are you using?
-
-
So you are installing Ubuntu 10.04 with an Ubuntu 18.04 template, right? Have you tried another template or "Other Install media"?
-
@olivierlambert Trying that now. I'll report back.
-
Also I'm not sure 10.04 is even maintained anymore by Canonical. It's not even in the list of "current": https://wiki.ubuntu.com/Releases
So IMHO, you really should upgrade ASAP to avoid any big security issues. If you can't, probably another template will work.
-
Crap. Typo. I am installing 18.04. So sorry about that. Didn't realize I typo in OP
-
@olivierlambert
Same thing.
-
Can you try in UEFI? It works for me in this mode.
-
I think I've already seen this issue and that it was an ubuntu bug. See https://support.citrix.com/article/CTX265663
-
@stormi said in Issue creating Ubuntu 18.04 desktop VM:
I think I've already seen this issue and that it was an ubuntu bug. See https://support.citrix.com/article/CTX265663
That looks very promising. Starting from scratch and taking this new info into account. I'll report back.
-
The directions say... "If you switch the console to shell mode and log in, the console shows errors in 'org.gnome.Shell.desktop'".
I don't know how t do that. I am only aware of the "default" shell. How do I switch to shell mode?
Best,
Chaim -
This is exactly the issue I spotted myself when doing the test in the lab. You can type "Esc" while the purple load screen (do it quickly), you'll be able to edit Grub menu.
Edit the entry, and add
vga=normal fb=false
. Then boot. It should work, and then follow the link @stormi posted to save the setting once for all.Note that it works in UEFI mode without doing the workaround.
-
Documentation updated: https://xcp-ng.org/docs/troubleshooting.html#ubuntu-18-04-boot-issue
-
First of all, thanks for all the help. xcp-ng has always helped me out.
I switched the template to use UEFI and it seems to be hanging (or I don't have enough patience).