XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Issue creating Ubuntu 18.04 desktop VM

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    25 Posts 6 Posters 6.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      tinjaw
      last edited by tinjaw

      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.

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Have you tried switching between booting in bios / uefi mode?

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          tinjaw @Danp
          last edited by

          @Danp No. I assumed the template would "just work". What should I try?

          1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • T Offline
              tony
              last edited by

              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".

              1 Reply Last reply Reply Quote 0
              • T Offline
                tinjaw
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  What template are you using?

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    tinjaw @olivierlambert
                    last edited by

                    @olivierlambert
                    alt text

                    1 Reply Last reply Reply Quote 0
                    • olivierlambertO Offline
                      olivierlambert Vates 🪐 Co-Founder CEO
                      last edited by olivierlambert

                      So you are installing Ubuntu 10.04 with an Ubuntu 18.04 template, right? Have you tried another template or "Other Install media"?

                      T 2 Replies Last reply Reply Quote 0
                      • T Offline
                        tinjaw @olivierlambert
                        last edited by

                        @olivierlambert Trying that now. I'll report back.

                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO Offline
                          olivierlambert Vates 🪐 Co-Founder CEO
                          last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tinjaw
                            last edited by

                            Crap. Typo. I am installing 18.04. So sorry about that. Didn't realize I typo in OP

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              tinjaw @olivierlambert
                              last edited by

                              @olivierlambert
                              Same thing.
                              alt text

                              1 Reply Last reply Reply Quote 0
                              • olivierlambertO Offline
                                olivierlambert Vates 🪐 Co-Founder CEO
                                last edited by

                                Can you try in UEFI? It works for me in this mode.

                                1 Reply Last reply Reply Quote 0
                                • stormiS Offline
                                  stormi Vates 🪐 XCP-ng Team
                                  last edited by

                                  I think I've already seen this issue and that it was an ubuntu bug. See https://support.citrix.com/article/CTX265663

                                  T 2 Replies Last reply Reply Quote 1
                                  • T Offline
                                    tinjaw @stormi
                                    last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tinjaw @stormi
                                      last edited by

                                      @stormi

                                      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

                                      1 Reply Last reply Reply Quote 0
                                      • olivierlambertO Offline
                                        olivierlambert Vates 🪐 Co-Founder CEO
                                        last edited by olivierlambert

                                        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.

                                        1 Reply Last reply Reply Quote 1
                                        • olivierlambertO Offline
                                          olivierlambert Vates 🪐 Co-Founder CEO
                                          last edited by

                                          Documentation updated: https://xcp-ng.org/docs/troubleshooting.html#ubuntu-18-04-boot-issue

                                          1 Reply Last reply Reply Quote 1
                                          • T Offline
                                            tinjaw
                                            last edited by

                                            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).

                                            alt text

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post