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

    After clone error "image not partclone"

    Scheduled Pinned Locked Moved
    General
    3
    3
    1.4k
    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.
    • J
      Joe Taylor
      last edited by

      Hi,

      After cloning a machine using partclone within FOG which clones fine but when deploying and it restores around 3 images the last image it does it errors out and says the image isn’t a partclone image - but it is 😞

      :MENU
      menu
      item --gap Please Select one of the images below
      item fog.local Boot from hard disk
      item img1 Dell Windows 7 x64 Pro
      item img3 Dell Windows 7 x64 Pro old
      item img2 Lenovo Windows 7 x64 Pro
      item return Return to main menu
      choose --default fog.local target && goto ${target}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      :img1
      kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 web=${fog-ip}/fog/ consoleblank=0 shutdown=1 loglevel=4 type=down imgid=1 img=dell ftp=${fog-ip} imgType=mpa osid=5 storage=192.168.1.1:/images/ capone=1 imgFormat=0
      imgfetch init.xz
      boot || goto MENU
      :img2
      kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 web=${fog-ip}/fog/ consoleblank=0 shutdown=1 loglevel=4 type=down imgid=2 img=Lenovo ftp=${fog-ip} imgType=mpa osid=5 storage=192.168.1.1:/images/ capone=1 imgFormat=0
      imgfetch init.xz
      boot || goto MENU
      :img3
      kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 web=${fog-ip}/fog/ consoleblank=0 shutdown=1 loglevel=4 type=down imgid=139 img=Dell3030 ftp=${fog-ip} imgType=mps osid=5 storage=192.168.1.1:/images/ capone=1 imgFormat=0
      imgfetch init.xz
      boot || goto MENU
      :return
      chain [url]http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=mac=00:00:00:00:00:00[/url] || goto MENU
      autoboot

      I’m using an advanced pxe menu; the image i’m using comes under [B]img3[/B]

      1 Reply Last reply Reply Quote 0
      • W
        Wolfbane8653 Developer
        last edited by

        You know upgrading to the trunk will give you a better “Quick Image”. If you do upgrade you can hit “Quick Image” and then it will show the image listing. Thus no need to be doing what your trying to do. BUT there still be [U]may[/U] an issue with your img3 Image.

        [url]http://fogproject.org/wiki/index.php/Upgrade_to_trunk[/url]

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          [quote=“Joe Taylor, post: 40119, member: 27608”]Hi,

          After cloning a machine using partclone within FOG which clones fine but when deploying and it restores around 3 images the last image it does it errors out and says the image isn’t a partclone image - but it is 😞

          :MENU
          menu
          item --gap Please Select one of the images below
          item fog.local Boot from hard disk
          item img1 Dell Windows 7 x64 Pro
          item img3 Dell Windows 7 x64 Pro old
          item img2 Lenovo Windows 7 x64 Pro
          item return Return to main menu
          choose --default fog.local target && goto ${target}
          :fog.local
          sanboot --no-describe --drive 0x80 || goto MENU
          :img1
          kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 web=${fog-ip}/fog/ consoleblank=0 shutdown=1 loglevel=4 type=down imgid=1 img=dell ftp=${fog-ip} imgType=mpa osid=5 storage=192.168.1.1:/images/ capone=1 imgFormat=0
          imgfetch init.xz
          boot || goto MENU
          :img2
          kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 web=${fog-ip}/fog/ consoleblank=0 shutdown=1 loglevel=4 type=down imgid=2 img=Lenovo ftp=${fog-ip} imgType=mpa osid=5 storage=192.168.1.1:/images/ capone=1 imgFormat=0
          imgfetch init.xz
          boot || goto MENU
          :img3
          kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 web=${fog-ip}/fog/ consoleblank=0 shutdown=1 loglevel=4 type=down imgid=139 img=Dell3030 ftp=${fog-ip} imgType=mps osid=5 storage=192.168.1.1:/images/ capone=1 imgFormat=0
          imgfetch init.xz
          boot || goto MENU
          :return
          chain [url]http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=mac=00:00:00:00:00:00[/url] || goto MENU
          autoboot

          I’m using an advanced pxe menu; the image i’m using comes under [B]img3[/B][/quote]

          Can you try setting imgFormat=1 and see if that helps you out?

          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
          • 1 / 1
          • First post
            Last post

          209

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project