Partimage for old images
-
I see where to change to partimage – thanks.
However, that doesn’t appear to be the issue. The imaging process simply won’t start. This is true for both deploying and uploading an image. After several boot/information screens appear, the computer just reboots and the imaging/uploading process won’t begin.
Below I posted a few screenshots taken when trying to upload a test image to the FOG server. After these screenshots, the computer just restarts and boots to the hard drive.
Any suggestions? Thanks.
-
@Chuck2000 Hi, can you please highlight your new setup details?
OS version
FOG version (including RC number)Also, what system are you trying to capture/deploy ?
Oh and is your FOG server the DHCP server now or is it using proxydhcp or did you alter the DHCP server? (and which bootfile are you using? (default is undionly.kpxe))
-
Also pinging @Tom-Elliott. The OP has done what he’s supposed to do for the old 0.32 image to use Partimage, but it’s not working.
-
@Wayne-Workman What are you pinging me for?
What version of FOG is running currently?
Just saying “what we were supposed to do” isn’t enough, I don’t know all the details. I need those details to more accurately help out.
-
@Tom-Elliott He should be using RC-25.
-
@Wayne-Workman We don’t know that yet.
The other post just says that there was an update, but it was from 5 days ago, to my understanding.
Was there anything from the boot.php output so we could SEE what’s going on?
-
@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.
-
@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:
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
-
@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
-
@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
-
@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.
-
Update to RC-25 to fix the partimage/partclone format issue you’re seeing please.
-
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
-
@Chuck2000 Tom says if you update to RC-25, this issue will be fixed. Please do that and try again.
-
Okay, I will try an upgrade. I have never updates a FOG server before. Are these the instructions that I should be following?
-
@Chuck2000 yes, those instructions will work. I personally recommend the GIT method.
-
This post is deleted! -
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.