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

Trying to add clonezilla to PXE Menu!

Scheduled Pinned Locked Moved Solved
FOG Problems
4
11
4.8k
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.
  • B
    bootsnspurs
    last edited by Feb 27, 2017, 4:50 PM

    Server
    • FOG Version: 1.3.5-RC-10
    • OS: Ubuntu Server 16.04.2 LTS
    Client
    • Service Version:
    • OS:
    Description

    I am trying to add CloneZilla to the FOG PXE menu and can’t find anything on google that works on the newer fog version. Everything is on the older fog and the method to add to PXE is different. From the clonezilla website, they say use this 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

    I tried convering that, but I only get a kernel panic when trying to boot, or just gives error when I try to edit it more…

    kernel vmlinuz
    initrd initrd.img
    imgargs 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
    imgfetch filesystem.squashfs
    boot

    Can someone please help me. I added vmlinuz, initrd.img, filesystem.squashfs from clonezilla zip to /var/www/fog/service/ipxe

    THANKS!!

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Feb 27, 2017, 6:36 PM

      From : http://bootallthethings.blogspot.com/2013/01/ipxe-clonezilla.html

      :Clonezilla
      echo Starting CloneZilla with default options
      kernel http://boot.server/CloneZilla/vmlinuz
      initrd http://boot.server/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://boot.server/CloneZilla/filesystem.squashfs
      boot || goto failed
      goto start
      

      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!

      B 1 Reply Last reply Feb 27, 2017, 6:46 PM Reply Quote 1
      • T
        Tom Elliott
        last edited by Feb 27, 2017, 4:53 PM

        To your imgargs line, I might suggest adding initrd=initrd.img

        You might also try this:

        initrd http://${fog-ip}/path/in/browser/form/initrd.img
        imgfetch http://${fog-ip}/path/in/browser/form/filesystem.squashfs
        chain -ar http://${fog-ip}/path/in/browser/form/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 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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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

        B 1 Reply Last reply Feb 27, 2017, 5:01 PM Reply Quote 0
        • G
          george1421 Moderator
          last edited by george1421 Feb 27, 2017, 10:56 AM Feb 27, 2017, 4:54 PM

          <edit> Tom is right of course. Please follow his guidance. </edit>

          If you look at what FOG does to call remote linux kernels.

          kernel http://192.168.1.53/fog/service/ipxe/bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=192.168.1.53/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
          imgfetch http://192.168.1.53/fog/service/ipxe/init_32.xz
          

          You see that it defines the http path to the files it needs. I’m not saying that is your whole issue but an issue.

          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!

          1 Reply Last reply Reply Quote 0
          • B
            bootsnspurs @Tom Elliott
            last edited by Feb 27, 2017, 5:01 PM

            @Tom-Elliott said in Trying to add clonezilla to PXE Menu!:

            To your imgargs line, I might suggest adding initrd=initrd.img

            You might also try this:

            initrd http://${fog-ip}/path/in/browser/form/initrd.img
            imgfetch http://${fog-ip}/path/in/browser/form/filesystem.squashfs
            chain -ar http://${fog-ip}/path/in/browser/form/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
            

            So I edited the whole block to read…

            initrd initrd.img
            imgfetch filesystem.squashfs
            chain -ar 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```
            
            
            and got kernal panic, not sure if that's what you meant for me to try and the paths like that.
            B 1 Reply Last reply Feb 27, 2017, 5:41 PM Reply Quote 0
            • B
              bootsnspurs @bootsnspurs
              last edited by Feb 27, 2017, 5:41 PM

              also tried

              initrd http://10.0.0.233/fog/service/ipxe/initrd.img
              imgfetch http://10.0.0.233/fog/service/ipxe/filesystem.squashfs
              chain -ar http://10.0.0.233/fog/service/ipxe/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
              
              T 1 Reply Last reply Feb 27, 2017, 5:43 PM Reply Quote 0
              • T
                Tom Elliott @bootsnspurs
                last edited by Feb 27, 2017, 5:43 PM

                @bootsnspurs What about removing the filesystem.squashfs

                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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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

                B 1 Reply Last reply Feb 27, 2017, 5:54 PM Reply Quote 0
                • B
                  bootsnspurs @Tom Elliott
                  last edited by bootsnspurs Feb 27, 2017, 11:57 AM Feb 27, 2017, 5:54 PM

                  @Tom-Elliott Without filesystem.squashfs line It goes to a black screen with blinking cursor
                  then after , unable to find a medium containing a live file system

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Tom Elliott Feb 27, 2017, 12:15 PM Feb 27, 2017, 6:11 PM

                    said in Trying to add clonezilla to PXE Menu!:

                    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

                    What if you followed the original append line?

                    For example:

                    initrd http://10.0.0.233/fog/service/ipxe/initrd.img
                    kernel http://10.0.0.233/fog/service/ipxe/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://10.0.0.233/fog/service/ipxe/filesystem.squashfs
                    

                    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    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 0
                    • G
                      george1421 Moderator
                      last edited by Feb 27, 2017, 6:36 PM

                      From : http://bootallthethings.blogspot.com/2013/01/ipxe-clonezilla.html

                      :Clonezilla
                      echo Starting CloneZilla with default options
                      kernel http://boot.server/CloneZilla/vmlinuz
                      initrd http://boot.server/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://boot.server/CloneZilla/filesystem.squashfs
                      boot || goto failed
                      goto start
                      

                      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!

                      B 1 Reply Last reply Feb 27, 2017, 6:46 PM Reply Quote 1
                      • B
                        bootsnspurs @george1421
                        last edited by Feb 27, 2017, 6:46 PM

                        @george1421 This code worked for me. Thank you.

                        Thanks Tom also.

                        X 1 Reply Last reply Feb 27, 2017, 7:04 PM Reply Quote 0
                        • X
                          x23piracy @bootsnspurs
                          last edited by Feb 27, 2017, 7:04 PM

                          @bootsnspurs said in Trying to add clonezilla to PXE Menu!:

                          @george1421 This code worked for me. Thank you.

                          Thanks Tom also.

                          please mark as solved 🙂

                          ║▌║█║▌│║▌║▌█

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          1 / 1
                          • First post
                            4/11
                            Last post

                          197

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project