After clone error "image not partclone"



  • 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]


  • Senior Developer

    [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?


  • Developer

    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]


Log in to reply
 

361
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.