PXE + Recovery-iso-zip

2009-10-30
2014-07-09
  • Nicolas Bourges

    Nicolas Bourges - 2009-10-30

    Hi,

    When I boot Clonezilla Live with PXE, and I want to use Recovery-iso-zip tool, I get this error :

    No system files from template live iso are found ! Something went wrong!

    It seems to be missing initrd1.img and vmlinuz1 in "/live/image/live" directory.

    How I can resolv it ?

    Best Regards.

     
  • Steven Shiau

    Steven Shiau - 2009-11-01

    Yes, that's the problem…
    Maybe you can copy the initrd1.img and vmlinuz1 to "/live/image/live" ?

    Steven.

     
  • Nicolas Bourges

    Nicolas Bourges - 2009-11-01

    Thanks for your reply.

    But how I can do that for all of my PXE boot ? How I can put initrd1.img and vmlinuz1 to PXE live clonezilla ?

    Nico

     
  • Steven Shiau

    Steven Shiau - 2009-11-02

    You can make it by:

        cd /live/image/live
        busybox tftp -g -b 10240 -r Clonezilla-live-vmlinuz1 -l vmlinuz1 $TFTPSERVER
        busybox tftp -g -b 10240 -r Clonezilla-live-initrd1.img -l initrd1.img $TFTPSERVER

    Replace "Clonezilla-live-vmlinuz1", "Clonezilla-live-initrd1.img" and "$TFTPSERVER" with your corresponding files and server names.

    Steven.

     
  • Steven Shiau

    Steven Shiau - 2009-11-02

    BTW, these can be done on 2nd virtual console by pressing ctrl-alt-F2. One you have finished it, press ctrl-alt-F1 to back to the 1st console to continue creating recovery iso/zip.

    Steven.

     
  • Nicolas Bourges

    Nicolas Bourges - 2009-11-03

    Many thanks,

    It works.

    I add this parameters to Clonezilla initrd, in my PXE configuration :

    ocs_prerun="busybox tftp -g -b 10240 -r /images/clonezilla/vmlinuz1 -l /live/image/live/vmlinuz1 $TFTPSERVER" ocs_prerun1="busybox tftp -g -b 10240 -r /images/clonezilla/initrd1.img -l /live/image/live/initrd1.img $TFTPSERVER" ocs_prerun2="busybox tftp -g -b 10240 -r /images/clonezilla/utils.zip -l /live/image/utils.zip $TFTPSERVER" ocs_prerun3="sudo unzip /live/image/utils.zip -d /live/image"

    Now, I can use Recovery-iso-zip tool with my PXE boot :D

    Nico.

     
  • Steven Shiau

    Steven Shiau - 2009-11-03

    Enjoy! :)

    Steven.

     
  • Steven Kehlet

    Steven Kehlet - 2014-02-25

    For future googlers, the paths (at least in 2.2.1-25) are now:

    /lib/live/mount/medium/live/vmlinuz
    /lib/live/mount/medium/live/initrd.img
    

    And the manual tftp commands are:

    busybox tftp -g -b 10240 -r /path/to/vmlinuz -l /lib/live/mount/medium/live/vmlinuz $TFTPSERVER
    busybox tftp -g -b 10240 -r /path/to/initrd.img -l /lib/live/mount/medium/live/initrd.img $TFTPSERVER
    

    Also if you try to put this in your pxelinux.cfg/default file (to automate the download), and you box pxeboots up but stops at the "Trying to load: pxelinux.cfg/default" line, you may need to upgrade your pxelinux.0 to a newer version that can handle a long APPEND line. HTH.

     
  • Steven Shiau

    Steven Shiau - 2014-03-06

    Yes, we follow the changes in Debian live, our upstream.
    Thanks for sharing that.

    Steven.

     
  • Pickgrand

    Pickgrand - 2014-06-08

    Ok can someone help me here. I really do not understand. I am getting No system files from template live iso are found.

    I do not have /lib/live/mount/medium/live/ or /live/image/live in my image directory or my clonezilla usb key. Can someone please explain this a little more. Seems like it should be simple. Why isn't this included if it's for an option to work?

    THanks for the help.

     
  • Steven Shiau

    Steven Shiau - 2014-06-14

    "I do not have /lib/live/mount/medium/live/ or /live/image/live in my image directory or my clonezilla usb key. " -> These directories only exist after you boot Clonezilla live. It's not on the boot media, and it's on the running live, Linux system.

    Steven.

     
  • Pickgrand

    Pickgrand - 2014-06-17

    Thanks Steven. It seems that I cannot copy those files from the media after booting to that directory. This could be a great feature.. but If I cannot boot to or there is no way to use. Thanks for the help.

     
  • Steven Shiau

    Steven Shiau - 2014-06-21

    If what you want is the files vmlinuz and initrd.img, it's in the /live/ directory in clonezilla live zip or iso file. You do not have to boot that. Just unzip the zip file or mount the iso file, then you can find them.

    Steven.

     
    Last edit: Steven Shiau 2014-06-21
    • Pickgrand

      Pickgrand - 2014-06-22

      I don't really want them I am getting: No system files from template live iso are found when I try to create the recovery-iso-zip or any combination of them. It seems this is a bug as the recovery-iso-zip. I am using clonezilla-live-2.2.3-10-i486

       
  • Steven Shiau

    Steven Shiau - 2014-06-22

    Please show us your steps for creating such a recovery iso/zip file, and the pxelinux config file so that we can try to reproduce the problem here.
    Thanks.

    Steven.

     
  • Pickgrand

    Pickgrand - 2014-06-27

    I boot from usb then once I am in the menu for clonezilla I select other version (option 2) choose 640x480 as this is an older i386 netbook like computer. Normal booting locks up on video.

    I choose us keyboard and use my external hard drive (separate from boot usb.) as the storage location (Local Storage)

    choose beginner and then select recovery-iso-zip then select the image I want to be recovery-iso-zip.

    I have not made any changes to the pxelinux file.

     
  • Steven Shiau

    Steven Shiau - 2014-06-30

    "I have not made any changes to the pxelinux file." -> What did you mean by that?
    Still I need to know the content of pxelinux config file. Please post it.
    Thanks.

    Steven.

     
  • Pickgrand

    Pickgrand - 2014-07-02

    There is no pxelinux file on my boot media. I am not using PXE I am using USB to boot.

     
  • Steven Shiau

    Steven Shiau - 2014-07-09

    It's very confusing to me. Maybe you start a new thread and describe all your situations. Not to hijack this thread.

    Steven.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks