I am using DRBL/Clonezilla with PXE boot to restore a captured image onto several laptops. These laptops do not have an onboard (integrated) network interface card (NIC), so I am forced to use external USB-to-Ethernet adapters.
The issue is that when Clonezilla boots via PXE, it strictly looks for eth0. Since the live environment names the external USB NIC differently, Clonezilla gets stuck and throws the following error:
Waiting for eth0 to be linked... Timed out!
To resolve this, I tried modifying the network configuration inside the initrd environment by editing /usr/lib/mxpxeinitrd-net/initrd-skel/etc/netdev.conf and changing netdevices="" to both netdevices="all" and netdevices="eth1". Unfortunately, this did not resolve the problem, and it still falls back to searching for eth0.
The laptops are booting via UEFI mode. Is there a specific boot parameter (like live-netdev="all", BOOTIF, or net.ifnames=0) that I should pass to the GRUB configuration (grub.cfg) on the server to force Clonezilla to recognize the USB NIC or scan all available interfaces?
Any help or insights would be greatly appreciated!
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If what you want to use DRBL is for Clonezilla purppse, maybe you can try this mode: https://clonezilla.org/clonezilla-SE/use_clonezilla_live_in_drbl.php
IIRC, we have forced to add the USB NIC driver in the initrd. It should work for your case.
How about giving that method a try?
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using DRBL/Clonezilla with PXE boot to restore a captured image onto several laptops. These laptops do not have an onboard (integrated) network interface card (NIC), so I am forced to use external USB-to-Ethernet adapters.
The issue is that when Clonezilla boots via PXE, it strictly looks for eth0. Since the live environment names the external USB NIC differently, Clonezilla gets stuck and throws the following error:
Waiting for eth0 to be linked... Timed out!
To resolve this, I tried modifying the network configuration inside the initrd environment by editing /usr/lib/mxpxeinitrd-net/initrd-skel/etc/netdev.conf and changing netdevices="" to both netdevices="all" and netdevices="eth1". Unfortunately, this did not resolve the problem, and it still falls back to searching for eth0.
The laptops are booting via UEFI mode. Is there a specific boot parameter (like live-netdev="all", BOOTIF, or net.ifnames=0) that I should pass to the GRUB configuration (grub.cfg) on the server to force Clonezilla to recognize the USB NIC or scan all available interfaces?
Any help or insights would be greatly appreciated!
Thanks in advance.
If what you want to use DRBL is for Clonezilla purppse, maybe you can try this mode:
https://clonezilla.org/clonezilla-SE/use_clonezilla_live_in_drbl.php
IIRC, we have forced to add the USB NIC driver in the initrd. It should work for your case.
How about giving that method a try?
i have changed vmlinuz and initrd.img with new versions and it worked ! thank you :)
OK, great. Thanks for sharing that.