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

    Create VM with ISO in XO-Lite

    Scheduled Pinned Locked Moved Solved XO Lite
    23 Posts 4 Posters 88 Views 4 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.
    • C Offline
      coolsport00
      last edited by

      I know XO-Lite is still very much in its infancy stage. But, it would be nice to at least create a VM on a XCP-ng Host straight away after XCP install at least. My goal is to create an Ubuntu VM to install XO from sources (please don't suggest XOA 🙂 )..to continue my testing/documentation from. But, when I go to create a VM in XO-Lite and select ISO, the only iso showing are the guest-tools.iso. Can I upload an Ubuntu ISO to that XCP-ng Tools ISO directory? If so, where is this directory in XCP-ng Linux directory structure?

      I did attempt to create my own ISO directory via Olivier's blog post from a few yrs ago, but it appears that doesn't show up in the drop-down in XO-Lite. Now, I could create my XO VM 'elsewhere', export it as ova, then import onto my XCP-ng Host...but why on earth does it have to be such a layered process....just to create a VM? 🤔
      Thanks in advance for the assist!

      1 Reply Last reply Reply Quote 0
      • C Offline
        coolsport00 @coolsport00
        last edited by

        @MathieuRA - I think I'm good now. And, I think I know what I did incorrectly. I performed the process as I stated, but I think my xe cmd to create my custom ISO SR wasn't completely correct. I think I copied/pasted the cmd in Oliver's post. But, the directory I created on my host was named "iso_store", not "ISO_Store" as is shown in Olivier's post. So, I ran the cmds to 'unplug' then 'forget' the SR I created, then recreated it and I can now see the Ubuntu ISO I uploaded. I think I'm good now. I'll revert this post to a question and we can close this out. Thanks for the assist!

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

          Hi,

          1. No you can't. You need to create an ISO SR first.
          2. If you have a ISO SR correctly setup, it should be displayed on VM installation
          C 1 Reply Last reply Reply Quote 0
          • C Offline
            coolsport00 @olivierlambert
            last edited by coolsport00

            @olivierlambert Hi Olivier. Yep..ok...thought I couldn't import to that directory.

            So, as mentioned..I did create a custom ISO SR, but it doesn't show. Maybe I need to reboot the Host first?

            iso-sr.png xo-lite-iso-list.png

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

              That sounds more like a bug in XO Lite than a "feature". The ISO selector should list all available ISO. Let me ping some people internally.

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                coolsport00 @olivierlambert
                last edited by coolsport00

                @olivierlambert Ok great. Thank you! Let me know if you need anything further on my end Olivier (logs, etc)...happy to assist!

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

                  I can reproduce internally, so I think we are good for a bug report 😄

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    coolsport00 @olivierlambert
                    last edited by

                    @olivierlambert Ok. Will await your findings...

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

                      I reported internally, now it's on them 😄

                      1 Reply Last reply Reply Quote 0
                      • MathieuRAM Offline
                        MathieuRA Vates 🪐 XO Team @coolsport00
                        last edited by

                        Hello @coolsport00
                        I'm unable to reproduce the issue on my side.
                        Can you confirm that the issue persists on the latest version of XO-Lite? (v0.14.0)

                        Have you imported any ISOs into your SR ISO?

                        C 1 Reply Last reply Reply Quote 1
                        • C Offline
                          coolsport00 @MathieuRA
                          last edited by

                          @MathieuRA There has been a newer version of XCP-ng I think since this version of it I downloaded in Feb. I purposefully installed this version to go through the Rolling Update process in XO, when I can get an XO VM built 😉 I did download XCP again a couple days ago...so have the newest one. How can I verify the version of XO-Lite? Where is the build/version number listed?
                          Thanks.

                          C 1 Reply Last reply Reply Quote 0
                          • C Offline
                            coolsport00 @coolsport00
                            last edited by

                            Actually...I found it (not too intuitive imo 😕 ). Yes..appears I'm on v0.14:
                            xo-lite-vers.png

                            C 1 Reply Last reply Reply Quote 0
                            • C Offline
                              coolsport00 @coolsport00
                              last edited by coolsport00

                              And, I used Olivier's blog to create my local SR.
                              https://xcp-ng.org/blog/2022/05/05/how-to-create-a-local-iso-repository-in-xcp-ng

                              Only 2 cmds - 1. create a dir; 2. run the xe cmd. I then used scp to upload my Ubuntu ISO to the directory I created. So all "seems" like it's ready & good to go, but again..I don't see my newly created custom local ISO SR 😕
                              Screenshot 2025-08-29 at 8.24.53 AM.png

                              C 1 Reply Last reply Reply Quote 0
                              • C Offline
                                coolsport00 @coolsport00
                                last edited by

                                @MathieuRA - I think I'm good now. And, I think I know what I did incorrectly. I performed the process as I stated, but I think my xe cmd to create my custom ISO SR wasn't completely correct. I think I copied/pasted the cmd in Oliver's post. But, the directory I created on my host was named "iso_store", not "ISO_Store" as is shown in Olivier's post. So, I ran the cmds to 'unplug' then 'forget' the SR I created, then recreated it and I can now see the Ubuntu ISO I uploaded. I think I'm good now. I'll revert this post to a question and we can close this out. Thanks for the assist!

                                G 1 Reply Last reply Reply Quote 0
                                • C coolsport00 marked this topic as a question
                                • C coolsport00 has marked this topic as solved
                                • olivierlambertO Offline
                                  olivierlambert Vates 🪐 Co-Founder CEO
                                  last edited by

                                  Excellent 🙂 Now you can create your VMs!

                                  1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    Greg_E @coolsport00
                                    last edited by Greg_E

                                    @coolsport00

                                    Late to the party... Several months ago when I rebuilt my lab, I did everything from XO-lite and the only issue I had back then was that UEFI was not allowed for a VM through the XO-lite interface. It errored out every time. Otherwise I had no issues creating a VM SR on NFS and an ISO SR on SMB all from the web gui in XO-lite or from the host console. I then created a Debian VM in BIOS boot and installed XO sources on it to bring the system all the way up. Pretty sure it was a combination of the XO-lite and host console that got the storage set up, I'd need to go back and look at my notes.

                                    I took multiple screen shots and intended to write up my procedure, by the time I get back to this, things will have changed and XO-lite will have gained new features. I guess when I get back to this I'll have to nuke my lab again and start from fresh installs.

                                    [edit] you can get the host console through the XO-lite interface, so once the OS is installed and networking is created, you are done with IPMI or local keyboard/mouse/video.

                                    C 1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      coolsport00 @Greg_E
                                      last edited by coolsport00

                                      @Greg_E hahaha..funny Greg. I just created a new post/question on the very thing you stated -> am unable to get my UEFI-based VM to boot to ISO. So, I guess I'll have to change it to BIOS-based and create it. Hopefully I can change it back to UEFI after creation and it be all good.

                                      I am going through multiple avenues of testing, beit xcp-ng, XO-Lite, and XO...and am working on many posts for the Veeam Community (you can check out the site if you like at: community.veeam.com ). So will be going through as much as I can to help the virtualization community as a whole transition away from VMware if they want to...and feel XCP is the way to go for them.

                                      @olivierlambert yes sir..am good to go. Sorry for my mis-typing and taking time of your support folks due to my misstep 😕 But really appreciate the assist!

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

                                        No worries, it happens, glad to see it works as it should 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          Greg_E @coolsport00
                                          last edited by

                                          @coolsport00

                                          Create that first VM as either XOA from the button provided or Linux with XO from sources in BIOS, then log into the full XO and you can set everything else up as UEFI. I think that is the proper workflow until XO 6 and XO-lite hit full feature release. Once we get to full release, I think you'll be able to do everything needed to get up and running on XO-lite, it's come a long way and looks like it will be a nice set up and emergency control point, or maybe a substitute for most of the XO functions.

                                          C 1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            coolsport00 @Greg_E
                                            last edited by

                                            @Greg_E XO-Lite is pretty slick I must say. Would like it to be a bit...mmm....more navigation friendly maybe? Same with XO. But, I like it. Just needs more functions of course 🙂

                                            1 Reply Last reply Reply Quote 0
                                            • G Offline
                                              Greg_E @coolsport00
                                              last edited by

                                              @coolsport00

                                              Also, I have a post somewhere about the UEFI not working from XO-lite, maybe they can be merged?

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