Clonezilla not recognising network adaptor
-
@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.
-
@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.
-
I was using the debian version of clonezilla. I just tried with the ubuntu version and I get this:
Same problem with both version
-
Could anyone else please offer any more advice?
Thank yiu
-
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.
-
@abufrejoval said in Clonezilla not recognising network adaptor:
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.
-
@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.
-
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.
-
@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 usedxe
to changeplatform:device_id=0002
toplatform: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):
-
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):