Menu

TFTP - unable to find live system problem

yaya
2019-10-14
2019-10-15
  • yaya

    yaya - 2019-10-14

    Hi,

    I am using clonezilla with following pxe config:

    label Clonezilla-live v2.6.3 @RAM
        MENU LABEL Clonezilla-live v2.6.3 @RAM
        KERNEL images/clonezilla/vmlinuz
        APPEND initrd=images/clonezilla/initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales=de_CH.UTF-8 keyboard-layouts=ch ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://10.1.1.2/images/clonezilla/filesystem.squashfs
    

    on my NAS, I CHMOD the PXE folder recursively to 777.
    during PXE, I can see the vmlinuz and initrd.img are requested and delivered, but filesystem.squashfs could not be find.

    when I manually tftp after pxe-boot fails (within the busybox), i can tftp the filesystem.squashfs without problems.

    I am a bit confused....

     
  • Steven Shiau

    Steven Shiau - 2019-10-15

    Maybe you can find some clues in the server's system log about tftpd? It might give you some hints.

    Steven

     
  • yaya

    yaya - 2019-10-15

    good idea - but no more information than this:

    [15-Oct-19 09:42:04] Client 10.1.1.137:2070 /volume1/PXE/pxelinux.0, Error 0 at Client, TFTP Aborted
    [15-Oct-19 09:42:04] Client 10.1.1.137:2071 /volume1/PXE/pxelinux.0, 34 Blocks Served
    [15-Oct-19 09:42:04] Client 10.1.1.137:49152 /volume1/PXE/ldlinux.c32, 89 Blocks Served
    [15-Oct-19 09:42:04] Client 10.1.1.137:49155 /volume1/PXE/pxelinux.cfg/0A010189, No Such File/No Access
    [15-Oct-19 09:42:04] Client 10.1.1.137:49156 /volume1/PXE/pxelinux.cfg/0A01018, No Such File/No Access
    [15-Oct-19 09:42:04] Client 10.1.1.137:49157 /volume1/PXE/pxelinux.cfg/0A0101, No Such File/No Access
    [15-Oct-19 09:42:04] Client 10.1.1.137:49158 /volume1/PXE/pxelinux.cfg/0A010, No Such File/No Access
    [15-Oct-19 09:42:04] Client 10.1.1.137:49159 /volume1/PXE/pxelinux.cfg/0A01, No Such File/No Access
    [15-Oct-19 09:42:04] Client 10.1.1.137:49160 /volume1/PXE/pxelinux.cfg/0A0, No Such File/No Access
    [15-Oct-19 09:42:04] Client 10.1.1.137:49161 /volume1/PXE/pxelinux.cfg/0A, No Such File/No Access
    [15-Oct-19 09:42:04] Client 10.1.1.137:49162 /volume1/PXE/pxelinux.cfg/0, No Such File/No Access
    [15-Oct-19 09:42:04] Client 10.1.1.137:49163 /volume1/PXE/pxelinux.cfg/default, 6 Blocks Served
    [15-Oct-19 09:42:04] Client 10.1.1.137:49164 /volume1/PXE/bios/vesamenu.c32, 21 Blocks Served
    [15-Oct-19 09:42:04] Client 10.1.1.137:49165 /volume1/PXE/libcom32.c32, No Such File/No Access
    [15-Oct-19 09:42:04] Client 10.1.1.137:49166 /volume1/PXE/bios/libcom32.c32, 134 Blocks Served
    [15-Oct-19 09:42:04] Client 10.1.1.137:49167 /volume1/PXE/libutil.c32, No Such File/No Access
    [15-Oct-19 09:42:04] Client 10.1.1.137:49168 /volume1/PXE/bios/libutil.c32, 18 Blocks Served
    [15-Oct-19 09:42:04] Client 10.1.1.137:49169 /volume1/PXE/pxelinux.cfg/default, 6 Blocks Served
    [15-Oct-19 09:42:11] Client 10.1.1.137:49170 /volume1/PXE/images/clonezilla/vmlinuz, 5634 Blocks Served
    [15-Oct-19 09:42:14] Client 10.1.1.137:49171 /volume1/PXE/images/clonezilla/initrd.img, 22368 Blocks Served
    
    [15-Oct-19 09:43:29] Client 10.1.1.137:39776 /volume1/PXE/images/clonezilla/filesystem.squashfs, Timeout
    

    I see the timeout, also increased the tftp timeout to 60 seconds..

    Just to compare - here I got the same config with PartedMAgic - and this is WORKING:

    [15-Oct-19 09:44:59] Client 10.1.1.137:2070 /volume1/PXE/pxelinux.0, Error 0 at Client, TFTP Aborted
    [15-Oct-19 09:44:59] Client 10.1.1.137:2071 /volume1/PXE/pxelinux.0, 34 Blocks Served
    [15-Oct-19 09:44:59] Client 10.1.1.137:49152 /volume1/PXE/ldlinux.c32, 89 Blocks Served
    [15-Oct-19 09:44:59] Client 10.1.1.137:49153 /volume1/PXE/pxelinux.cfg/578d3602-4575-e311-b9d8-d9eec803c0d8, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49154 /volume1/PXE/pxelinux.cfg/01-a0-d3-c1-9b-b5-f3, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49155 /volume1/PXE/pxelinux.cfg/0A010189, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49156 /volume1/PXE/pxelinux.cfg/0A01018, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49157 /volume1/PXE/pxelinux.cfg/0A0101, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49158 /volume1/PXE/pxelinux.cfg/0A010, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49159 /volume1/PXE/pxelinux.cfg/0A01, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49160 /volume1/PXE/pxelinux.cfg/0A0, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49161 /volume1/PXE/pxelinux.cfg/0A, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49162 /volume1/PXE/pxelinux.cfg/0, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49163 /volume1/PXE/pxelinux.cfg/default, 6 Blocks Served
    [15-Oct-19 09:44:59] Client 10.1.1.137:49164 /volume1/PXE/bios/vesamenu.c32, 21 Blocks Served
    [15-Oct-19 09:44:59] Client 10.1.1.137:49165 /volume1/PXE/libcom32.c32, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49166 /volume1/PXE/bios/libcom32.c32, 134 Blocks Served
    [15-Oct-19 09:44:59] Client 10.1.1.137:49167 /volume1/PXE/libutil.c32, No Such File/No Access
    [15-Oct-19 09:44:59] Client 10.1.1.137:49168 /volume1/PXE/bios/libutil.c32, 18 Blocks Served
    [15-Oct-19 09:44:59] Client 10.1.1.137:49169 /volume1/PXE/pxelinux.cfg/default, 6 Blocks Served
    [15-Oct-19 09:45:15] Client 10.1.1.137:49170 /volume1/PXE/images/Parted.Magic.2019.05.30_PXE/bzImage64, 3792 Blocks Served
    [15-Oct-19 09:45:16] Client 10.1.1.137:49171 /volume1/PXE/images/Parted.Magic.2019.05.30_PXE/initrd.img, 3528 Blocks Served
    [15-Oct-19 09:45:26] Client 10.1.1.137:49172 /volume1/PXE/images/Parted.Magic.2019.05.30_PXE/fu.img, 96250 Blocks Served
    [15-Oct-19 09:45:28] Client 10.1.1.137:49173 /volume1/PXE/images/Parted.Magic.2019.05.30_PXE/m64.img, 24105 Blocks Served
    [15-Oct-19 09:46:03] Client 10.1.1.137:49174 /volume1/PXE/images/Parted.Magic.2019.05.30_PXE/files.cgz, 329391 Blocks Served
    
    boot done
    
     
  • yaya

    yaya - 2019-10-15

    ok guys, very unhappy but got one workaround for people facing same issue...

    i changed FETCH from TFTP --> http:
    fetch=http://10.1.1.2/filesystem.squashfs

    now the config is loading out of the box

    but.. dear CloneZilla Dev's - really?

     
  • Steven Shiau

    Steven Shiau - 2019-10-15

    No idea actually. Maybe you can change the tftp size in live-boot:
    tftp -g -b 65464 -r $rfile -l ${dest}/$lfile $ip
    where "-b SIZE Transfer blocks of SIZE octets"
    The tftp function does work in our environment, no matter it's in virtual machine cloud environment, computer classroom, or machine room.
    However, yes, http protocol is more robustic than tftp, that's true.

    Steven

     

Log in to post a comment.