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

    ISO modification with additional RPM for NIC

    Scheduled Pinned Locked Moved Hardware
    13 Posts 4 Posters 908 Views 3 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.
    • DanpD Offline
      Danp Pro Support Team
      last edited by Danp

      Have you tried booting with the alternate kernel? https://docs.xcp-ng.org/installation/hardware/#during-system-installation

      Did you read the docs about creating a custom ISO? https://docs.xcp-ng.org/project/development-process/ISO-modification/

      Edit: You could also press F9 during the install process to install custom network drivers.

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

        Adding @stormi in the loop

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          LennertvdBerg @Danp
          last edited by LennertvdBerg

          @Danp, UPDATED: I tried booting with an alternate kernel in XCP-NG 8.2.1 and XCP-NG 8.3 beta 2, but it didn't load the Mellanox ConnectX-6 Lx 10/25GbE drivers.

          Yes, I've read the documentation about creating a custom ISO and have detailed my procedure above. The only part I'm unsure about is this:
          "you need to add new RPMs not just replace existing ones, they need to be pulled by another existing RPM as dependencies. If there's none suitable, you can add the dependency to the xcp-ng-deps RPM."
          I couldn’t realize or understand this step.

          1 Reply Last reply Reply Quote 0
          • L Offline
            LennertvdBerg @olivierlambert
            last edited by

            @stormi could you maybe advise what I'm doing wrong?

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

              @stormi is just back today, I'll come back to you soon 🙂

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                LennertvdBerg @olivierlambert
                last edited by

                @olivierlambert Thanks.

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

                  I haven't forgotten you, but have been busy. Still need help?

                  L 1 Reply Last reply Reply Quote 0
                  • L Offline
                    LennertvdBerg @stormi
                    last edited by

                    @stormi Hi, some help is welcome 🙂 Still haven’t found a solutions.

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

                      Do you absolutely need all in one ISO? Otherwise there's a rather simple solution with an unmodified ISO + a driver ISO. We even already provide one: https://updates.xcp-ng.org/isos/drivers/8.x/

                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        LennertvdBerg @stormi
                        last edited by

                        @stormi I thought it’s convenient to have all in one as it’s easy for installation. But I can check this options as well. So you recommend to extract the iso to a separate USB drive and load drivers from there?

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

                          Yes, without any network connectivity available, that's the main option.

                          Regarding modifying the installation ISO, you'd need two things:

                          • modify install.img to put the driver in it. That's the easiest part and you can use https://github.com/xcp-ng/xcp/tree/master/scripts/iso-remaster (see the example script in samples/). We still need to update the online docs to mention this option (ping @yann). This will give you network connectivity during the installation, but won't install the driver on the system.
                          • install the driver on the target system. If I had done things right, you could just add the RPM in a directory and modify an XML file. However I have not done this right so it's not possible at the moment. There are several options, but I think the simplest is:
                            • add the RPM in Packages/ and regenerate the repodata + modify the installer code in install.img so that it installs it (look up 'xcp-ng-deps' and add the package name next to it)
                          L 1 Reply Last reply Reply Quote 0
                          • L Offline
                            LennertvdBerg @stormi
                            last edited by

                            @stormi I’ll be back on Wednesday (just short holiday now), I’ll try your advice and see how it works

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