XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Clonezilla not recognising network adaptor

    Compute
    5
    11
    216
    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.
    • F
      fred974 last edited by fred974

      Hi all,

      I connect a server on the same network switch as my xcp-ng host. In xcp-ng, I created a VM, attached the network and loaded clonezilla live iso (clonezilla-live-3.0.0-15-amd64.iso).
      0014131e-d4ee-4205-a7fe-61d28c28d2ad-image.png.
      It take for ever to load as I am guessing it is trying to find the network card. After a while, I get to the clonezilla menu to restore from source and I get this screen:
      9f422ffd-d737-4cf9-b2c3-291d0de47415-image.png

      If I press 'n' and type the static IP I assigned to the source, I get this message:

      ad2c8010-ab48-40b0-b83e-fbea88289333-image.png

      All the running VM in that xcp-ng network are working with no issue.

      Could anyone please provide some advice?

      Thank you

      A 1 Reply Last reply Reply Quote 0
      • A
        Andrew Top contributor 💪 @fred974 last edited by

        @fred974 said in Clonezilla not recognising network adaptor:

        clonezilla-live-3.0.0-15-amd64.iso

        What network adaptor do you have set? Try using the Intel e1000.

        It works for me.... I booted the same ISO and it sees the network adaptor and is able to get an IP address.

        F 1 Reply Last reply Reply Quote 0
        • F
          fred974 @Andrew last edited by

          @Andrew We have a Dell PowerEdge C6320 and I believe they are Onboard Intel X520 10Gbps Dual Port Network Card so I cannot change them. I have no issue with the NIC card on any of my VM (windows, redhad,debian). My guess is that clonezilla doesn't have the correct driver built in. Is that possible? I cannot figure out how to move my physical server to xcp-ng. I am now looking at saving the clonezilla image to external HDD but that's really not what I wanted. I have another 3 desktop to do.

          F 1 Reply Last reply Reply Quote 0
          • F
            fred974 @fred974 last edited by

            I was using the debian version of clonezilla. I just tried with the ubuntu version and I get this:

            a4c7406c-c447-4fe4-a3b2-7d9f5c18df46-image.png
            2409a054-2917-4afc-8807-357ea6420bfa-image.png

            Same problem with both version 😞

            F 1 Reply Last reply Reply Quote 0
            • F
              fred974 @fred974 last edited by

              Could anyone else please offer any more advice?

              Thank yiu

              A 1 Reply Last reply Reply Quote 0
              • A
                abufrejoval Top contributor 💪 @fred974 last edited by

                @fred974

                On the virtual machine advanced attributes tab you can chose between a RealTek RTL8139 and an Intel e1000 (both virtual devices) NIC. It defaults to RealTek and the suggestion is to change it to the Intel one and retry booting the VM.

                The NIC on the host (X520) does not matter at all for this operation.

                It's been awhile, but I can confirm that moving images between (in my case) oVirt and Xcp-ng VMs via Clonezilla works just fine.

                Also did it between VMware and Xcp-ng btw.

                F 1 Reply Last reply Reply Quote 1
                • F
                  fred974 @abufrejoval last edited by

                  @abufrejoval said in Clonezilla not recognising network adaptor:

                  @fred974

                  On the virtual machine advanced attributes tab you can chose between a RealTek RTL8139 and an Intel e1000 (both virtual devices) NIC. It defaults to RealTek and the suggestion is to change it to the Intel one and retry booting the VM.

                  The NIC on the host (X520) does not matter at all for this operation.

                  It's been awhile, but I can confirm that moving images between (in my case) oVirt and Xcp-ng VMs via Clonezilla works just fine.

                  Also did it between VMware and Xcp-ng btw.

                  I tried it and couldn't get it to work. I created a new vm with windows 10 template and it worked then. 🙂

                  A fohdeesha 2 Replies Last reply Reply Quote 0
                  • A
                    abufrejoval Top contributor 💪 @fred974 last edited by

                    @fred974
                    Nice to hear!

                    Yes, not having a template or using a wrong one seems to be an issue for Xcp-ng, when really it should be nothing but an easier way to set presets.

                    I guess one of these days I'll simply have to investigate what's in them and how difficult it would be to create your own.

                    Clonezilla has failed me on machines with the more complicated LVM and thin-allocation setups e.g. when trying to virtualize physical machines. But when it comes to cloning VMs between hypervisors it pays off that I tend to keep these simply and have the hypervisor deal with sparsity and overcommit.

                    Clonzilla certainly has helped me out a lot of times and I'm really glad they maintain it.

                    1 Reply Last reply Reply Quote 0
                    • olivierlambert
                      olivierlambert Vates 🪐 Founder & CEO 🦸 last edited by

                      I remember a discussion about this in the past, but I don't remember where 🤔 It was due to a specific parameter in W10 template that you do not have in other Linux templates.

                      1 Reply Last reply Reply Quote 1
                      • fohdeesha
                        fohdeesha Vates 🪐 Pro Support Team 💡 @fred974 last edited by fohdeesha

                        @fred974 I think you definitely have your templates or something else mixed up, Clonezilla works great out of the box running as a VM under XCP-ng, using any Ubuntu or Debian VM template. In fact, you should be able to use any linux template when creating a VM. To double check, I just downloaded both clonezilla stable live ISO (debian based) and clonezilla live stable alternative (the ubuntu build), and both boot fine and have working network adapters out of the box, using either debian VM templates or ubuntu VM templates (doesn't matter).

                        In fact, the issue Olivier is remembering is that clonezilla does not work out of the box when booted under a Windows 10 template, because windows 10 templates present platform:device_id=0002 to the guest OS, and QEMU combined with some linux OS's get confused by this (understandably, the ID is for windows), and it breaks the display. So a customer that was trying to boot clonezilla under windows 10 templated VMs had garbled display output until he used xe to change platform:device_id=0002 to platform:device_id=0001 which is what linux templates use.

                        The fact that you're reporting your clonezilla actually works fine under windows templates, but not linux templates, tells me some wires are crossed somewhere - it could be the ISO you're using, the templates you're using or choosing from, or your XCP-ng install. Is your XCP-ng fully up to date? if so, have you rebooted it since applying updates? We also had some strange issues with customers applying updates recently but then not rebooting as advised, this left QEMU in a weird state until it was finally rebooted that I suppose could cause this issue. For reference, here is how I'm creating clonezilla templates that work right out of the box (note the template, ISO name, and boot mode: bios):

                        6f08a57d-94d2-44da-a6fa-cc52de17064f-clonezilla.png

                        fohdeesha 1 Reply Last reply Reply Quote 0
                        • fohdeesha
                          fohdeesha Vates 🪐 Pro Support Team 💡 @fohdeesha last edited by fohdeesha

                          I also just noticed you were using the v3 testing version of clonezilla, not stable. I just tested that as well just in case and as expected it works out of the box - Clonezilla at its core is just trimmed down ubuntu or debian, and the xen PV device drivers are built directly into the kernel for both of these, so it's incredibly unlikely they would ever not be present. Screenshot from clonezilla live testing (same ISO you stated in your original post):

                          4a651d8f-514b-416b-872c-b7d5a1fe5914-image.png

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