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
-
<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.
-
@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.
-
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
-
@bootsnspurs What about removing the filesystem.squashfs
-
@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 -
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
-
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
-
@george1421 This code worked for me. Thank you.
Thanks Tom also.
-
@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