Menu

#29 Clonezilla live with PXE TFTPD

v1.0_(example)
open
nobody
None
3
2014-08-27
2013-08-19
James
No

Hello,

We've been searching far and wide for a solution with scenario that we are having. Hoping someone would have an insight here. Thx in advance.

We have TFTPD running under Windows 2003 with 2 NICS 192.168.0.X and 192.168.200.X with pxelinux.0 as the bootloader

We've setup TFTP PXE boot on the 192.168.0.X network with a typical pxelinux.cfg\default

During boot, the PC that we want to image picks up an 192.168.0.X IP without any issues from the TFTPD and continues on with
loading vmlinuz and initrd.img

However, when it reaches this point, is stuck.... (is not hanging but seems like is waiting....)

[ 8.477373] r8169 0000:04:00.0 eth0: link down
[ 8.478164] r8169 0000:04:00.0 eth0: link down
[ 8.478985] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Begin: Running /scripts/live-premount ... Waiting for ethernet card(s) up... If it fail, maybe the ethernet card is not supported ky the kernel 3.8.0-19-generic?
done.
[ 10.348346] r8169 0000:04:00.0 eth0: link up
[ 10.349250] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

We saw a few comments where by adding live-netdev="eth1" to kernel parameters is the fix but we didn't have luck with that,

If anyone can shad some light on this would be muchly appreciated.

James,

Discussion

  • orgad hen

    orgad hen - 2013-08-23

    Hi,
    I have the exactly same problem (with different HW).
    Did you solve the problem? If yes, can you please share it.

    Thanks,
    Orgad hen

     
  • Steven Shiau

    Steven Shiau - 2013-08-30

    So how many NICs do you have in the client side?

    Steven.

     
  • orgad hen

    orgad hen - 2013-08-30

    Hi,
    i have 2 machine, one with 2 on board NICs the other with 2 NICs but just one on board.
    i tried to force it to boot from eth0 - didn't work.

    Orgad

     
  • Steven Shiau

    Steven Shiau - 2013-08-30

    So did you try to force to boot from eth1?

    Steven.

     
  • orgad hen

    orgad hen - 2013-08-30

    yes,
    i tried to force to eth0 and eth1, changed also the boot order to the second card, didn't help.

    Orgad

     
  • Steven Shiau

    Steven Shiau - 2013-08-30

    So
    1. Are you sure the network card is supported by the linux kernel on Clonezilla live? You can trry to boot Clonezilla live from CD or USB stick to make sure that.
    2. If so, boot that from PXE again, and monitor the system's log, pay attention to the messages from dhcpd and tftpd... If no any messages, then most of the cases are hardware issue, like cable or NIC.
    3. If you can see some messages about dhcpd and tftpd, post them.

    Steven.

     
  • orgad hen

    orgad hen - 2013-08-30

    hi,
    the card is supporting the linux kernel on clonezilla live, i am able to boot from usb stick, and also can see the NIC in the clobwzilla console and aslo can ping to my server.
    after it stuck when using the PXE i can see on the tftpd32 that the client is trying to ask for IP from the DHCP so tftpd32 is alocating the IP but didn't receive any ack, after couple of sec the same procedure is running again. that behavior reapting forever.

    i will try on sunday to send the tftpd32 log.

    Thanks,
    Orgad.

     
  • orgad hen

    orgad hen - 2013-09-01

    Hi,
    the full log from the tftpd32 is attached and those are the last rows:

    Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac D4:85:64:9E:5A:24 [01/09 17:46:10.281]
    DHCP: proposed address 192.168.100.25 [01/09 17:46:10.281]
    2416 Request 2 not processed [01/09 17:46:10.343]

    i think that this is something with the DHCP when i connect the second NIC to my company network i see that clonezilla is getting the IP from the company DHCP but can't find the file.

    what do you think is wrong with my setup?

    Thanks,
    Orgad

     
  • Steven Shiau

    Steven Shiau - 2013-09-02

    "this is something with the DHCP when i connect the second NIC to my company network i see that clonezilla is getting the IP from the company DHCP but can't find the file." -> Could you isolated your environment from other DHCP service? Otherwise I believe this issue won't be gone...

    Steven.

     
  • orgad hen

    orgad hen - 2013-09-02

    Hi,
    my environment till now was isolated and only one DHCP was working, just by mistake i tried it on other PC that the second NIC was connected to the company network.
    i change the DHCP server to other one from:http://www.dhcpserver.de/dhcpsrv.htm
    and it start to work.
    something with the tftpd32 is not working well.
    what is the right settings for the tftpd32 DHCP?

    with the same setup it is working with dhcpserver but when working with tftpd32 it is not working....

    Thanks,
    Orgad Hen

     
  • Steven Shiau

    Steven Shiau - 2013-09-02

    "what is the right settings for the tftpd32 DHCP?" -> Not very sure under MS Windows. I never have such experience about this on MS Windows. All our DHCP and tftpd service are run on GNU/Linux. Sorry.
    Anyone on this forum could share his/her experience?

    Steven.

     

Log in to post a comment.