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

Partimage for old images

Scheduled Pinned Locked Moved Solved
FOG Problems
4
20
4.0k
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.
  • W
    Wayne Workman @Chuck2000
    last edited by Nov 22, 2016, 3:29 PM

    @Chuck2000 What is the output of this link?

    172.16.5.153/fog/service/ipxe/boot.php?mac=64:00:6a:8a:f4:5c

    That information was taken from your below screenshots. Be sure that this MAC address is still configured to use partimage in the web interface. Go to the above link and copy/paste what you see.

    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/

    C 1 Reply Last reply Nov 22, 2016, 3:53 PM Reply Quote 0
    • C
      Chuck2000 @Wayne Workman
      last edited by Tom Elliott Nov 22, 2016, 10:08 AM Nov 22, 2016, 3:53 PM

      @Wayne-Workman said in Partimage for old images:

      172.16.5.153/fog/service/ipxe/boot.php?mac=64:00:6a:8a:f4:5c

      Here is the information that was requested - thanks.

      You are currently running version: 1.3.0-RC-24

      DHCP server screenshot:

      0_1479829827220_dhcp.jpg

      boot.php file output:

      #!ipxe
      set fog-ip 172.16.5.153
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      cpuid --ext 29 && set arch x86_64 || set arch i386
      goto get_console
      :console_set
      colour --rgb 0x00567a 1 ||
      colour --rgb 0x00567a 2 ||
      colour --rgb 0x00567a 4 ||
      cpair --foreground 7 --background 2 2 ||
      goto MENU
      :alt_console
      cpair --background 0 1 ||
      cpair --background 1 2 ||
      goto MENU
      :get_console
      console --picture http://172.16.5.153/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
      :MENU
      menu
      colour --rgb 0x00567a 0 ||
      cpair --foreground 1 1 ||
      cpair --foreground 0 3 ||
      cpair --foreground 4 4 ||
      item --gap Host is registered as 7020image!
      item --gap -- -------------------------------------
      item fog.local Boot from hard disk
      item fog.memtest Run Memtest86+
      item fog.keyreg Update Product Key
      item fog.deployimage Deploy Image
      item fog.multijoin Join Multicast Session
      item fog.quickdel Quick Host Deletion
      item fog.sysinfo Client System Information (Compatibility)
      choose --default fog.local --timeout 3000 target && goto ${target}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
      imgfetch init_32.xz
      boot || goto MENU
      :fog.memtest
      kernel memdisk iso raw
      initrd memtest.bin
      boot || goto MENU
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
      imgfetch init_32.xz
      boot || goto MENU
      :fog.keyreg
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param keyreg 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      :fog.deployimage
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param qihost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      :fog.multijoin
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param sessionJoin 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      :fog.quickdel
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param delhost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      :fog.sysinfo
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=sysinfo
      imgfetch init_32.xz
      boot || goto MENU
      :bootme
      chain -ar http://172.16.5.153/fog/service/ipxe/boot.php##params ||
      goto MENU
      autoboot
      
      T 1 Reply Last reply Nov 22, 2016, 4:08 PM Reply Quote 0
      • T
        Tom Elliott @Chuck2000
        last edited by Nov 22, 2016, 4:08 PM

        @Chuck2000 Please set the mac address into a tasking with the “partimage image” associated to it and then redo the url call and get us the output.

        Please wrap the output in triple backspaces for easier readability.

        172.16.5.153/fog/service/ipxe/boot.php?mac=64:00:6a:8a:f4:5c

        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

        C 1 Reply Last reply Nov 22, 2016, 4:44 PM Reply Quote 0
        • C
          Chuck2000 @Tom Elliott
          last edited by Nov 22, 2016, 4:44 PM

          @Tom-Elliott said in Partimage for old images:

          Please set the mac address into a tasking with the “partimage image” associated to

          Thanks, but I’m not sure what to do here:

          Please set the mac address into a tasking with the “partimage image” associated to

          FYI - my images that I copied over and then manually set the settings are showing up with no image size

          0_1479833037842_images.jpg

          W 1 Reply Last reply Nov 22, 2016, 5:08 PM Reply Quote 0
          • W
            Wayne Workman @Chuck2000
            last edited by Wayne Workman Nov 22, 2016, 11:10 AM Nov 22, 2016, 5:08 PM

            @Chuck2000 said in Partimage for old images:

            Please set the mac address into a tasking with the “partimage image” associated to

            Tom means: Set the computer who’s MAC address that is to image via the web interface. Afterwards, don’t boot it up to image, instead go to the link I provided earlier. The output will be different because there’s a task waiting for that MAC. That output is what we need.

            FYI - my images that I copied over and then manually set the settings are showing up with no image size

            That’s fine. This particular field will update when you deploy each of them. Image Size on Client is not the same as Image Size on Server. The server has no idea how big the image extracts to because it’s never deployed the image before.

            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/

            C 1 Reply Last reply Nov 22, 2016, 6:25 PM Reply Quote 0
            • T
              Tom Elliott
              last edited by Nov 22, 2016, 5:53 PM

              Update to RC-25 to fix the partimage/partclone format issue you’re seeing please.

              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 1
              • C
                Chuck2000 @Wayne Workman
                last edited by Tom Elliott Nov 22, 2016, 12:33 PM Nov 22, 2016, 6:25 PM

                @Wayne-Workman

                Okay, I updated to partimage. Here is the output - thanks.

                #!ipxe
                set fog-ip 172.16.5.153
                set fog-webroot fog
                set boot-url http://${fog-ip}/${fog-webroot}
                cpuid --ext 29 && set arch x86_64 || set arch i386
                goto get_console
                :console_set
                colour --rgb 0x00567a 1 ||
                colour --rgb 0x00567a 2 ||
                colour --rgb 0x00567a 4 ||
                cpair --foreground 7 --background 2 2 ||
                goto MENU
                :alt_console
                cpair --background 0 1 ||
                cpair --background 1 2 ||
                goto MENU
                :get_console
                console --picture http://172.16.5.153/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
                :MENU
                menu
                colour --rgb 0x00567a 0 ||
                cpair --foreground 1 1 ||
                cpair --foreground 0 3 ||
                cpair --foreground 4 4 ||
                item --gap Host is registered as 7020image!
                item --gap -- -------------------------------------
                item fog.local Boot from hard disk
                item fog.memtest Run Memtest86+
                item fog.keyreg Update Product Key
                item fog.deployimage Deploy Image
                item fog.multijoin Join Multicast Session
                item fog.quickdel Quick Host Deletion
                item fog.sysinfo Client System Information (Compatibility)
                choose --default fog.local --timeout 3000 target && goto ${target}
                :fog.local
                sanboot --no-describe --drive 0x80 || goto MENU
                kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
                imgfetch init_32.xz
                boot || goto MENU
                :fog.memtest
                kernel memdisk iso raw
                initrd memtest.bin
                boot || goto MENU
                kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
                imgfetch init_32.xz
                boot || goto MENU
                :fog.keyreg
                login
                params
                param mac0 ${net0/mac}
                param arch ${arch}
                param username ${username}
                param password ${password}
                param keyreg 1
                isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                :fog.deployimage
                login
                params
                param mac0 ${net0/mac}
                param arch ${arch}
                param username ${username}
                param password ${password}
                param qihost 1
                isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                :fog.multijoin
                login
                params
                param mac0 ${net0/mac}
                param arch ${arch}
                param username ${username}
                param password ${password}
                param sessionJoin 1
                isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                :fog.quickdel
                login
                params
                param mac0 ${net0/mac}
                param arch ${arch}
                param username ${username}
                param password ${password}
                param delhost 1
                isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                :fog.sysinfo
                kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=172.16.5.153/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=sysinfo
                imgfetch init_32.xz
                boot || goto MENU
                :bootme
                chain -ar http://172.16.5.153/fog/service/ipxe/boot.php##params ||
                goto MENU
                autoboot
                
                W 1 Reply Last reply Nov 22, 2016, 6:28 PM Reply Quote 0
                • W
                  Wayne Workman @Chuck2000
                  last edited by Nov 22, 2016, 6:28 PM

                  @Chuck2000 Tom says if you update to RC-25, this issue will be fixed. Please do that and try again.

                  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/

                  C 1 Reply Last reply Nov 22, 2016, 6:34 PM Reply Quote 0
                  • C
                    Chuck2000 @Wayne Workman
                    last edited by Nov 22, 2016, 6:34 PM

                    @Wayne-Workman

                    Okay, I will try an upgrade. I have never updates a FOG server before. Are these the instructions that I should be following?

                    https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

                    T 1 Reply Last reply Nov 22, 2016, 6:35 PM Reply Quote 0
                    • T
                      Tom Elliott @Chuck2000
                      last edited by Nov 22, 2016, 6:35 PM

                      @Chuck2000 yes, those instructions will work. I personally recommend the GIT method.

                      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

                      C 2 Replies Last reply Nov 22, 2016, 7:59 PM Reply Quote 0
                      • C
                        Chuck2000 @Tom Elliott
                        last edited by Nov 22, 2016, 7:59 PM

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • C
                          Chuck2000 @Tom Elliott
                          last edited by Nov 23, 2016, 4:48 PM

                          @Tom-Elliott

                          After upgrading to RC-25 as you suggested, the issue is resolved. I can now image computers. Thank you and the other forum members for the help.

                          1 Reply Last reply Reply Quote 1
                          • 1 / 1
                          1 / 1
                          • First post
                            18/20
                            Last post

                          168

                          Online

                          12.2k

                          Users

                          17.4k

                          Topics

                          155.5k

                          Posts
                          Copyright © 2012-2024 FOG Project