Menu

PXE Clonezilla drops to login screen

2014-03-28
2014-04-01
  • Damian McMillan

    Damian McMillan - 2014-03-28

    I am attempting to PXE boot clonezilla 2.2.1-25.

    I am able to TFTP the files correctly to the client machine, and the boot process begins, but after selecting the keyboard layout/keymap, I see an error message:

    No account with NOPASSWD sudo privilege was found!

    I am then dropped to a login screen:
    Debian GNU/Linux jessie/sid localhost.localdomain tty1
    localhost login:

    I cannot login with user/live - I get the error message:
    login incorrect

    Here are the PXE server options:
    append initrd=NWA_PXE\clonezilla\initrd.img boot=live config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" keyboard-layouts="" ocs_live_batch="no" locales="" vga=788 nosplash noprompt fetch=tftp://192.168.0.100/NWA_PXE/clonezilla/filesystem.squashfs

    If I change the boot=live to boot=live-config the machine kernel panics with the error:
    line 224: can't open '/scripts/live-config'

    I have also tried adding the username=user to the append but this has no effect.

    I have a similar issue with the Ubuntu version, and have tried i686 and i486.

    Ideally, the system will boot to the usual clonezilla screen to select the device-device or device-image options.

    Damian

     
  • Steven Shiau

    Steven Shiau - 2014-03-29

    I can not reproduce the problem here.
    My pxelinux config is like:
    ================
    label Clonezilla-live
    # MENU DEFAULT
    # MENU HIDE
    MENU LABEL Clonezilla Live 2.2.1-25-i686-pae (Ramdisk)
    # MENU PASSWD
    KERNEL Clonezilla-live-vmlinuz
    APPEND initrd=Clonezilla-live-initrd.img boot=live username=user config quiet noswap edd=on nomodeset locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no vga=788 ip= nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=no noprompt fetch=tftp://192.168.1.182/Clonezilla-live-filesystem.squashfs ocs_server="192.168.1.182"
    ================

    Steven.

     
  • Damian McMillan

    Damian McMillan - 2014-03-29

    Steven,

    Can you please advise the version of pxelinux you are using? Perhaps this makes a difference?

    Also, I am unable to find Clonezilla-live-initrd.img on the zip I downloaded:
    clonezilla-live-2.2.1-25-i486.zip

    Only initrd.img

    Damian

     
    • Knight

      Knight - 2014-03-30

      Sounds silly, but sometimes the simple things cause the worst headaches.
      Is your PXE server on a Windows based machine? Your PXE config has backslashes instead of forward slashes for the location of PXE image.

      "append initrd=NWA_PXE\clonezilla\initrd.img"

      Also, you can use http to transfer the image instead of tftp protocol. To do that change: "fetch=tftp://192.168.0.100" to "fetch=http://192.168.0.100", and it will use wget to grab the image instead of tftp stuff. Maybe the problem is with your tftp server?

      Knight.

       

      Last edit: Knight 2014-03-30
      • Damian McMillan

        Damian McMillan - 2014-04-01

        Thankyou, this resolved the issue - I changed all the \ to / and clonezilla now boots via PXE ok.

        PS, still used TFTP not http.

         

        Last edit: Damian McMillan 2014-04-01
  • Steven Shiau

    Steven Shiau - 2014-03-30

    @Damian,
    The pxelinux version I have tested here:
    5.10, 6.03-pre7, 6.03-pre10.

    Steven.

     

Log in to post a comment.

MongoDB Logo MongoDB