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

    Error installing Ubuntu 24.04 on new xcp-ng host.

    Scheduled Pinned Locked Moved XCP-ng
    24 Posts 7 Posters 2.8k Views 7 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.
    • M Offline
      malemburg
      last edited by

      I just want to add that I am seeing the same issue with Ubuntu 24.04.3. Creating a VM does work, but it crashes immediately when trying to start it for setup.

      I have not yet tried the approach of starting with 24.04(.00) and then upgrading to the lastest version due to lack of time.

      We are still using XCP-NG 8.2.1 on the server in question. If an upgrade to 8.3 solves the issue, please let us know. Reading the thread, it appears to have the same problem, though.

      Processor is an AMD Ryzen 9 3900X. We have not had any other issues with the system and it's been running for a few years.

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        acp @malemburg
        last edited by

        @malemburg I had similar issues recently and in the past. The TL;DR version is to use an earlier version. I'm including the long version for those searching. They may be helpful for someone.

        I'm rebuilding my netboot.xyz onsite to be more in line with upstream and avoid all the customization I built in a previous version. One issue I kept having was the installer would lock up randomly. CPU usage would be high like 80-90%. Unresponsive to input (if the lockup occurred on the user name screen). The issues didn't happen in 22.04, just 24.04. Sometimes it work and then it wouldn't. Google AI suggest it was a kernel issue. Some of the link suggestion didn't really support that claim, but I assumed that it was right. I even built a new XCP-NG 8.3 server and the issue still occurred. In the previous netboot install I used a earlier version of the 24.04 install. I only remember this after Google AI suggest a kernel issue.

        So netboot (3.0.0) uses this as it version for PXE install: 24.04.3 and this ISO: ubuntu-24.04.3-live-server-amd64.iso. 24.04.3-717d3a1a/initrd & 24.04.3-717d3a1a/vmlinuz.

        When I use this version: 24.04, ubuntu-24.04-live-server-amd64.iso, 24.04-dac09526/initrd & 24.04-dac09526/vmlinuz

        After switching to this earlier version all my issues go away. Install is now 100% successful. My autoinstall file works great.

        Doing an in place upgrade to 24.04.3 no issues. Works for bios and uefi. So I have a working PXE autoboot that install a new Ubuntu 24.04 with Rust Tools installed. Takes only about a minute to run.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          malemburg @acp
          last edited by

          @acp Thank you for confirming this.

          I just wonder how stable the solution is for production use, since the 24.04.3 installer should (in theory at least) run with the same kernel as the installed system. And after doing an upgrade from 24.04 to 24.04.3 you should also run the same kernel.

          Or is the installer running from the ISO using a different kernel ?

          It would feel more secure to know that the issue is with the Ubuntu installer rather than the prod system.

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            acp @malemburg
            last edited by

            @malemburg Kernel versions:

            24.04 - Linux ubuntu-server 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

            24.04.3 - Linux ubuntu-server 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

            This is what is running after all the updates:

            Linux pxe000 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux

            I have this in my autoinstall to install the tools

            late-commands:
            - echo 'deb [trusted=yes] https://gitlab.com/api/v4/projects/xen-project%252Fxen-guest-agent/packages/generic/deb-amd64/ release/' > /target/etc/apt/sources.list.d/xen-guest-agent.list
            - curtin in-target -- apt update
            - curtin in-target -- apt install -y xen-guest-agent

            And this to get all the updates:

            updates: all

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post