• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Clonezilla Boot problem

Scheduled Pinned Locked Moved Solved
General Problems
4
10
3.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    deepak727
    last edited by Jun 19, 2017, 12:57 PM

    Hi members,

    I am new to fog project and trying to boot the clonezilla from it.

    I have created the menu entry and using the following parameters.

    :Clonezilla
    echo Starting CloneZilla with default options
    kernel http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz
    initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
    imgargs vmlinuz boot=live config noswap nolocales edd=on nomodeset ocs_live_run=“ocs-live-general” ocs_live_extra_param=“” ocs_live_keymap=“” ocs_live_batch=“no” ocs_daemonon=“ssh” usercrypted=Kb/VNchPYhuf6 ocs_lang=“” vga=788 nosplash noprompt fetch=http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs
    boot || goto failed
    goto start

    :CLONEZILLA
    kernel http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz
    initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
    imgargs vmlinuz boot=live username=user fetch=http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs locale=en_US.UTF-8 keyboard-layouts=NONE
    boot || echo failed to boot
    prompt
    goto MENU

    I have got these parameters from Forum.

    Now when I am selecting the Clonezilla on boot menu it gives me the below error.

    0_1497877024604_error.png

    Please let me know that what is wrong with the config.

    Your help is appreciated.

    Regards,

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Jun 19, 2017, 2:57 PM Jun 19, 2017, 8:56 PM

      @deepak727 Tried it myself… This worked like a charm in a virtualbox VM:

      kernel http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz
      initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
      imgargs vmlinuz initrd=initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs
      boot || goto MENU
      

      Your first two parameter sets were missing the very important union=overlay. The one you found on the clonezilla website was right, you just needed to exchange ‘http://’ for ‘tftp://’… So this works just as well for me:

      initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
      chain -ar http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz initrd=initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run=“ocs-live-general” ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs
      boot || goto MENU
      

      It’s all about the right parameters.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 2
      • W
        Wayne Workman
        last edited by Jun 19, 2017, 1:23 PM

        There’s two commas in a row in the error, that’s probably related. Most likely meaning there’s two commas somewhere when maybe there should only be one or none.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • D
          deepak727
          last edited by Jun 19, 2017, 1:44 PM

          Hi @Wayne-Workman

          Thanks for the response.

          I have checked in my configuration, I have no clue from where those two commas (noatime,dirs=live…) are coming from.

          You can see the parameters which I have posted, it doesn’t have those commas or a option of noatime.

          Regards,

          J 1 Reply Last reply Jun 19, 2017, 1:57 PM Reply Quote 0
          • J
            Junkhacker Developer @deepak727
            last edited by Jun 19, 2017, 1:57 PM

            @deepak727 have you tried the options here? https://forums.fogproject.org/topic/9606/trying-to-add-clonezilla-to-pxe-menu/10

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            D 1 Reply Last reply Jun 19, 2017, 2:25 PM Reply Quote 0
            • D
              deepak727 @Junkhacker
              last edited by Jun 19, 2017, 2:25 PM

              Hi @Junkhacker

              I have gone through the post and used the following code.

              initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
              imgfetch http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs
              chain -ar http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run=“ocs-live-general” ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt initrd=initrd.img
              

              Now I am getting the below error

              0_1497882326553_error1.png

              Regards,

              J 1 Reply Last reply Jun 19, 2017, 2:35 PM Reply Quote 0
              • J
                Junkhacker Developer @deepak727
                last edited by Jun 19, 2017, 2:35 PM

                @deepak727 “junk in compressed archive” you may want to verify the integrity of your files

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth Jun 19, 2017, 8:38 AM Jun 19, 2017, 2:37 PM

                  @deepak727 Which version of clonezilla are you trying to boot? Looks like different versions need different parameters… https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/0f8505b0/ and https://sourceforge.net/p/drbl/discussion/Help/thread/a70b3897/

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  D 1 Reply Last reply Jun 19, 2017, 3:39 PM Reply Quote 0
                  • D
                    deepak727 @Sebastian Roth
                    last edited by Jun 19, 2017, 3:39 PM

                    @Sebastian-Roth

                    I am using clonezilla 2.5.0-25 the latest stable release. On there website for the PXE boot options they are suggesting to have below settings.

                    label Clonezilla-live
                    MENU LABEL Clonezilla Live (Ramdisk)
                    KERNEL vmlinuz
                    APPEND initrd=initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run=“ocs-live-general” ocs_live_extra_param=“” ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://$serverIP/filesystem.squashfs

                    But this is TFTP based

                    Ref : http://clonezilla.org/livepxe.php

                    and I am using this with

                    initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
                    imgfetch http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs
                    chain -ar http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run=“ocs-live-general” ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt initrd=initrd.img
                    

                    Please let me know what should be correct parameters.

                    @Junkhacker

                    I have checked the file integrity and there is no problem in it.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth Jun 19, 2017, 2:57 PM Jun 19, 2017, 8:56 PM

                      @deepak727 Tried it myself… This worked like a charm in a virtualbox VM:

                      kernel http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz
                      initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
                      imgargs vmlinuz initrd=initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs
                      boot || goto MENU
                      

                      Your first two parameter sets were missing the very important union=overlay. The one you found on the clonezilla website was right, you just needed to exchange ‘http://’ for ‘tftp://’… So this works just as well for me:

                      initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
                      chain -ar http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz initrd=initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run=“ocs-live-general” ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs
                      boot || goto MENU
                      

                      It’s all about the right parameters.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 2
                      • D
                        deepak727
                        last edited by Jun 20, 2017, 1:55 PM

                        @Sebastian-Roth

                        Yes I tried the below code which you have given and it works, Many thanks.

                        kernel http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz
                        initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
                        imgargs vmlinuz initrd=initrd.img boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs
                        boot || goto MENU
                        

                        and yes it is all about the putting right parameters.

                        Regards,

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        1 / 1
                        • First post
                          9/10
                          Last post

                        179

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project