Boot Problem with restoring image to HP Z Series (Z230) & Clonezillia IPXE Boot
-
It’s probably a step in the right direction.
Keep searching though, but you’d probably have the best luck searching in the forums here for ISO tons of people have got it going on various versions of FOG.
I’ll only be addressing the next release (the one you’re using), FOG 1.3.0
-
@Wayne-Workman @Developers @Tom-Elliot
Currently this is the closest to booting i have… error message below
:clonezilla-live-2.3.2-22-amd64
kernel http://${fog-ip}/${fog-webroot}/iso/clonezilla/vmlinuz
initrd http://${fog-ip}/${fog-webroot}/iso/clonezilla/initrd.img
imgargs vmlinuz root=/dev/nfs boot=clonezilla netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/clonezilla/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us mirror/country=US
boot || goto failed -
You work fast…
I rebuilt all my servers this weekend… I’m still running updates lol.
-
I have also found this, bot have no idea on how to get this to boot from fog ipxe… Hopefully someone might have an idea of the config.
https://gist.github.com/devicenull/3896763
:imaging
set image_name your-image-namekernel http://${next-server}/tools/clonezilla-live/vmlinuz initrd=tools/clonezilla-live/initrd.img boot=live live-config noswap nolocales edd=on nomodeset ocs_daemonon=“ssh” ocs_live_run=“ocs-live-restore” ocs_live_extra_param=“–batch -g auto -e1 auto -e2 -r -j2 -p reboot restoredisk ${image_name} sda” ocs_live_keymap=“/usr/share/keymaps/i386/qwerty/us.kmap.gz” ocs_live_batch=“yes” ocs_lang=“en_US.UTF-8” vga=788 nosplash fetch=http://${next-server}/tools/clonezilla-live/filesystem.squashfs ip=eth0:${netX/ip}:${netX/netmask}:${netX/gateway}:8.8.8.8 ocs_prerun=“mount -t nfs ${next-server}:/home/partimag /home/partimag”
initrd http://${next-server}/tools/clonezilla-live/initrd.img
boot -
I’m still working on this at the house, making good progress though… but disaster struck last night and the AC adapter for my small business router died…
-
Ok Great…
Just tried this with no luck… didn’t get as far as the the last config.
http://bootallthethings.blogspot.co.nz/2013/01/ipxe-clonezilla.html
kernel http://${fog-ip}/${fog-webroot}/iso/clonezilla/vmlinuz
initrd http://${fog-ip}/${fog-webroot}/iso/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://${fog-ip}/${fog-webroot}/iso/clonezilla/filesystem.squashfs
boot || goto failed
goto start -
Last night before everything went wrong, I noticed the init and kernel are in a folder on the Clonezilla iso called “boot”…
Have you tried leaving those files where they are? and do you have the iso Mounted to the directory that is specified in that path below?
-
-
Ok… If you get it working, let us know.
I’ll be working on it too.
-
Not sure if this has been resolved or not, but this site was a great help to me in setting up my Clonezilla PXE boot; http://clonezilla.org/livepxe.php .
you’ll need initrd.img, vmlinuz, and filesystem.squashfs from the .iso or .zip of clonezilla.
Here’s what I ended up with…
:Clonezilla initrd http://<fogIP>/fog/clonezilla/initrd.img chain http://<fogIP>/fog/clonezilla/vmlinuz boot=live config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" keyboard-layouts="" ocs_live_batch="no" locales="" vga=788 nosplash noprompt fetch=http://<fogIP>/fog/clonezilla/filesystem.squashfs || goto MENU
and that has me booting to Clonezilla just as if I picked the default menu booting from usb.
-
@Deastrom That’s amazing, thank you!