Clonezilla - How to preseed certain options?












0















I am using Clonezilla to create and restore system images all the time. I would really like to preseed some of the options to make it easier and faster. I have repeatedly tried to follow the instructions on Clonezilla's website, but I still can't get it to work.



Here are the steps I have taken:




  1. download clonezilla zip

  2. extract it

  3. edited both isolinux.cfg and syslinux.cfg with the preseed options

  4. built an iso from the files from the zip

  5. burned the iso on a flash drive

  6. booted into clonezilla


the instructions are here



my .cfg files look like this:



# Created by generate-pxe-menu! Do NOT edit unless you know what you are doing! 
# Keep those comment "MENU DEFAULT" and "MENU HIDE"! Do NOT remove them.
# Note!!! If "serial" directive exists, it must be the first directive
default vesamenu.c32
timeout 300
prompt 0
noescape 1
MENU MARGIN 5
MENU BACKGROUND ocswp.png
# Set the color for unselected menu item and timout message
MENU COLOR UNSEL 7;32;41 #c0000090 #00000000
MENU COLOR TIMEOUT_MSG 7;32;41 #c0000090 #00000000
MENU COLOR TIMEOUT 7;32;41 #c0000090 #00000000
MENU COLOR HELP 7;32;41 #c0000090 #00000000

# MENU MASTER PASSWD

say **********************************************************************
say Clonezilla, the OpenSource Clone System.
say NCHC Free Software Labs, Taiwan.
say clonezilla.org, clonezilla.nchc.org.tw
say THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
say **********************************************************************

# Allow client to edit the parameters
ALLOWOPTIONS 1

# simple menu title
MENU TITLE clonezilla.org, clonezilla.nchc.org.tw

# Since no network setting in the squashfs image, therefore if ip=, the network is disabled. That's what we want.
label Clonezilla live
MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live (Default settings, VGA 800x600)
# MENU PASSWD
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt ocs_prerun="mount /dev/sda4 /mnt" ocs_prerun1="mount --bind /mnt/Backup /home/partimag/" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts ask_user sda1" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 ip= nosplash
TEXT HELP
* Clonezilla live version: 2.2.2-37-i686-pae. (C) 2003-2014, NCHC, Taiwan
* Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
ENDTEXT


the command used to create the iso file is:



xorriso -as mkisofs -R -r -J -joliet-long -l -cache-inodes -iso-level 3 -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin -partition_offset 16 -A 'Clonezilla live CD' -b syslinux/isolinux.bin -c syslinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot --efi-boot boot/grub/efiboot.img -isohybrid-gpt-basdat -isohybrid-apm-hfsplus ./ > /tmp/clonezilla-live.iso


the command used to write the iso (clonezilla-live.iso) to a flash drive is:



cat clonezilla* | sudo dd of=/dev/sdb bs=64M



My overall question: what am I doing wrong? Or more specifically, what action(s) do I need to take in order to successfully preseed Clonzilla? It is acceptable to only use the keyboard layout and language options as an example/in your answer.










share|improve this question



























    0















    I am using Clonezilla to create and restore system images all the time. I would really like to preseed some of the options to make it easier and faster. I have repeatedly tried to follow the instructions on Clonezilla's website, but I still can't get it to work.



    Here are the steps I have taken:




    1. download clonezilla zip

    2. extract it

    3. edited both isolinux.cfg and syslinux.cfg with the preseed options

    4. built an iso from the files from the zip

    5. burned the iso on a flash drive

    6. booted into clonezilla


    the instructions are here



    my .cfg files look like this:



    # Created by generate-pxe-menu! Do NOT edit unless you know what you are doing! 
    # Keep those comment "MENU DEFAULT" and "MENU HIDE"! Do NOT remove them.
    # Note!!! If "serial" directive exists, it must be the first directive
    default vesamenu.c32
    timeout 300
    prompt 0
    noescape 1
    MENU MARGIN 5
    MENU BACKGROUND ocswp.png
    # Set the color for unselected menu item and timout message
    MENU COLOR UNSEL 7;32;41 #c0000090 #00000000
    MENU COLOR TIMEOUT_MSG 7;32;41 #c0000090 #00000000
    MENU COLOR TIMEOUT 7;32;41 #c0000090 #00000000
    MENU COLOR HELP 7;32;41 #c0000090 #00000000

    # MENU MASTER PASSWD

    say **********************************************************************
    say Clonezilla, the OpenSource Clone System.
    say NCHC Free Software Labs, Taiwan.
    say clonezilla.org, clonezilla.nchc.org.tw
    say THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
    say **********************************************************************

    # Allow client to edit the parameters
    ALLOWOPTIONS 1

    # simple menu title
    MENU TITLE clonezilla.org, clonezilla.nchc.org.tw

    # Since no network setting in the squashfs image, therefore if ip=, the network is disabled. That's what we want.
    label Clonezilla live
    MENU DEFAULT
    # MENU HIDE
    MENU LABEL Clonezilla live (Default settings, VGA 800x600)
    # MENU PASSWD
    kernel /live/vmlinuz
    append initrd=/live/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt ocs_prerun="mount /dev/sda4 /mnt" ocs_prerun1="mount --bind /mnt/Backup /home/partimag/" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts ask_user sda1" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 ip= nosplash
    TEXT HELP
    * Clonezilla live version: 2.2.2-37-i686-pae. (C) 2003-2014, NCHC, Taiwan
    * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
    ENDTEXT


    the command used to create the iso file is:



    xorriso -as mkisofs -R -r -J -joliet-long -l -cache-inodes -iso-level 3 -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin -partition_offset 16 -A 'Clonezilla live CD' -b syslinux/isolinux.bin -c syslinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot --efi-boot boot/grub/efiboot.img -isohybrid-gpt-basdat -isohybrid-apm-hfsplus ./ > /tmp/clonezilla-live.iso


    the command used to write the iso (clonezilla-live.iso) to a flash drive is:



    cat clonezilla* | sudo dd of=/dev/sdb bs=64M



    My overall question: what am I doing wrong? Or more specifically, what action(s) do I need to take in order to successfully preseed Clonzilla? It is acceptable to only use the keyboard layout and language options as an example/in your answer.










    share|improve this question

























      0












      0








      0








      I am using Clonezilla to create and restore system images all the time. I would really like to preseed some of the options to make it easier and faster. I have repeatedly tried to follow the instructions on Clonezilla's website, but I still can't get it to work.



      Here are the steps I have taken:




      1. download clonezilla zip

      2. extract it

      3. edited both isolinux.cfg and syslinux.cfg with the preseed options

      4. built an iso from the files from the zip

      5. burned the iso on a flash drive

      6. booted into clonezilla


      the instructions are here



      my .cfg files look like this:



      # Created by generate-pxe-menu! Do NOT edit unless you know what you are doing! 
      # Keep those comment "MENU DEFAULT" and "MENU HIDE"! Do NOT remove them.
      # Note!!! If "serial" directive exists, it must be the first directive
      default vesamenu.c32
      timeout 300
      prompt 0
      noescape 1
      MENU MARGIN 5
      MENU BACKGROUND ocswp.png
      # Set the color for unselected menu item and timout message
      MENU COLOR UNSEL 7;32;41 #c0000090 #00000000
      MENU COLOR TIMEOUT_MSG 7;32;41 #c0000090 #00000000
      MENU COLOR TIMEOUT 7;32;41 #c0000090 #00000000
      MENU COLOR HELP 7;32;41 #c0000090 #00000000

      # MENU MASTER PASSWD

      say **********************************************************************
      say Clonezilla, the OpenSource Clone System.
      say NCHC Free Software Labs, Taiwan.
      say clonezilla.org, clonezilla.nchc.org.tw
      say THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
      say **********************************************************************

      # Allow client to edit the parameters
      ALLOWOPTIONS 1

      # simple menu title
      MENU TITLE clonezilla.org, clonezilla.nchc.org.tw

      # Since no network setting in the squashfs image, therefore if ip=, the network is disabled. That's what we want.
      label Clonezilla live
      MENU DEFAULT
      # MENU HIDE
      MENU LABEL Clonezilla live (Default settings, VGA 800x600)
      # MENU PASSWD
      kernel /live/vmlinuz
      append initrd=/live/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt ocs_prerun="mount /dev/sda4 /mnt" ocs_prerun1="mount --bind /mnt/Backup /home/partimag/" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts ask_user sda1" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 ip= nosplash
      TEXT HELP
      * Clonezilla live version: 2.2.2-37-i686-pae. (C) 2003-2014, NCHC, Taiwan
      * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
      ENDTEXT


      the command used to create the iso file is:



      xorriso -as mkisofs -R -r -J -joliet-long -l -cache-inodes -iso-level 3 -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin -partition_offset 16 -A 'Clonezilla live CD' -b syslinux/isolinux.bin -c syslinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot --efi-boot boot/grub/efiboot.img -isohybrid-gpt-basdat -isohybrid-apm-hfsplus ./ > /tmp/clonezilla-live.iso


      the command used to write the iso (clonezilla-live.iso) to a flash drive is:



      cat clonezilla* | sudo dd of=/dev/sdb bs=64M



      My overall question: what am I doing wrong? Or more specifically, what action(s) do I need to take in order to successfully preseed Clonzilla? It is acceptable to only use the keyboard layout and language options as an example/in your answer.










      share|improve this question














      I am using Clonezilla to create and restore system images all the time. I would really like to preseed some of the options to make it easier and faster. I have repeatedly tried to follow the instructions on Clonezilla's website, but I still can't get it to work.



      Here are the steps I have taken:




      1. download clonezilla zip

      2. extract it

      3. edited both isolinux.cfg and syslinux.cfg with the preseed options

      4. built an iso from the files from the zip

      5. burned the iso on a flash drive

      6. booted into clonezilla


      the instructions are here



      my .cfg files look like this:



      # Created by generate-pxe-menu! Do NOT edit unless you know what you are doing! 
      # Keep those comment "MENU DEFAULT" and "MENU HIDE"! Do NOT remove them.
      # Note!!! If "serial" directive exists, it must be the first directive
      default vesamenu.c32
      timeout 300
      prompt 0
      noescape 1
      MENU MARGIN 5
      MENU BACKGROUND ocswp.png
      # Set the color for unselected menu item and timout message
      MENU COLOR UNSEL 7;32;41 #c0000090 #00000000
      MENU COLOR TIMEOUT_MSG 7;32;41 #c0000090 #00000000
      MENU COLOR TIMEOUT 7;32;41 #c0000090 #00000000
      MENU COLOR HELP 7;32;41 #c0000090 #00000000

      # MENU MASTER PASSWD

      say **********************************************************************
      say Clonezilla, the OpenSource Clone System.
      say NCHC Free Software Labs, Taiwan.
      say clonezilla.org, clonezilla.nchc.org.tw
      say THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
      say **********************************************************************

      # Allow client to edit the parameters
      ALLOWOPTIONS 1

      # simple menu title
      MENU TITLE clonezilla.org, clonezilla.nchc.org.tw

      # Since no network setting in the squashfs image, therefore if ip=, the network is disabled. That's what we want.
      label Clonezilla live
      MENU DEFAULT
      # MENU HIDE
      MENU LABEL Clonezilla live (Default settings, VGA 800x600)
      # MENU PASSWD
      kernel /live/vmlinuz
      append initrd=/live/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt ocs_prerun="mount /dev/sda4 /mnt" ocs_prerun1="mount --bind /mnt/Backup /home/partimag/" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts ask_user sda1" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 ip= nosplash
      TEXT HELP
      * Clonezilla live version: 2.2.2-37-i686-pae. (C) 2003-2014, NCHC, Taiwan
      * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
      ENDTEXT


      the command used to create the iso file is:



      xorriso -as mkisofs -R -r -J -joliet-long -l -cache-inodes -iso-level 3 -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin -partition_offset 16 -A 'Clonezilla live CD' -b syslinux/isolinux.bin -c syslinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot --efi-boot boot/grub/efiboot.img -isohybrid-gpt-basdat -isohybrid-apm-hfsplus ./ > /tmp/clonezilla-live.iso


      the command used to write the iso (clonezilla-live.iso) to a flash drive is:



      cat clonezilla* | sudo dd of=/dev/sdb bs=64M



      My overall question: what am I doing wrong? Or more specifically, what action(s) do I need to take in order to successfully preseed Clonzilla? It is acceptable to only use the keyboard layout and language options as an example/in your answer.







      boot clonezilla preseed






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 27 '18 at 19:00









      Jordan HergetJordan Herget

      11




      11






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388207%2fclonezilla-how-to-preseed-certain-options%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388207%2fclonezilla-how-to-preseed-certain-options%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido