Im not mounting the ISO it self… just the below files are needed or the extracted iso.
kernel http://${fog-ip}/${fog-webroot}/iso/clonezilla/vmlinuz
initrd http://${fog-ip}/${fog-webroot}/iso/clonezilla/initrd.img
Im not mounting the ISO it self… just the below files are needed or the extracted iso.
kernel http://${fog-ip}/${fog-webroot}/iso/clonezilla/vmlinuz
initrd http://${fog-ip}/${fog-webroot}/iso/clonezilla/initrd.img
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
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-name
kernel 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
Trying to boot clonezilla…
Any idea on how to get this going?
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
came across this https://gist.github.com/robinsmidsrod/dc0dc70adba8dcd79cdf
not sure if this would help? tried adding the forth line with no luck
#!ipxe
kernel /live/vmlinuz
initrd /live/initrd.img
imgargs vmlinuz boot=live username=user hostname=trusty config quiet union=overlayfs noswap edd=on nomodeset noeject locales= keyboard-layouts= ocs_live_run=“ocs-live-general” ocs_live_extra_param=“” ocs_live_batch=no ip= nomodeset vga=normal nosplash
boot
@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
@Wayne-Workman
came across this https://gist.github.com/robinsmidsrod/dc0dc70adba8dcd79cdf
not sure if this would help? tried adding the forth line with no luck
#!ipxe
kernel /live/vmlinuz
initrd /live/initrd.img
imgargs vmlinuz boot=live username=user hostname=trusty config quiet union=overlayfs noswap edd=on nomodeset noeject locales= keyboard-layouts= ocs_live_run=“ocs-live-general” ocs_live_extra_param=“” ocs_live_batch=no ip= nomodeset vga=normal nosplash
boot
will give this a shot… would be good to have a backup if it works on software Raid.
trying to add it to the ipxe boot menu, have this but wont boot… Any idea on how to live boot it?
: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.lz
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=la mirror/country=US
boot || goto failed
goto start
No I haven’t… Is that an addon to fog or does get require another server setup?
When you restore the image the disk become a non member disk… so to rebuild it asks you to select the new disk and this is the one with the image on it… if you proceed you close everything.
If i was to restore to 1 disk (with no raid)… when i create the raid1 it formats them both.
Array name is volume1, I created the array before starting the debug task
This is what i see after running fdisk -l
@Tom-Elliott said:
If we know what device is the array name, set that as your kernel device.
Will try this now.
There are some error just before it downloads the image… Guessing this is the Raid causing issues with partitions.
Updated SVN (3525) and still the same issue…! Tried taking new uploaded image and after download to another machine… Broken array and wont boot.
That Update looks good thou…
Any other Things i might try?
Tried image again without fog prep… no luck! Same thing.
Will the SVN update help with what your saying Tom? will this mess up anything by updating?
:rage1: :rage2: :rage3: :goberserk: CHEAP RAID!
I kinda get what you mean and if using disk part on the upload machine i see 1 volume with correct partitions etc…
On the failed download pc it shows both disks, but that because after download one becomes a nonmember disk.
Any ways around this? or other cloning solutions i could use maybe. at the moment im using acronis true image booting from ipxe menu.
will be doing lot of these machines and would love to use fog.
any help appreciated
@ch3i said:
Thanks hadn’t seen that. but suspect its to ol
Still having issues ATM. but been busy and will check this out next week.
Hi
We have about 75 new Hp Z230 and would like to use fog…
Fog 1.2.0
Problem:
I setup a z230 with RAID1 (2x 1TB)
Installed windows 7x64 & patch
Run Fog Prep & upload image.
Fog image setting: multiple partition image single disk ( not resizable) & All tried ALL DISKS
Image uploads fine… Deploying it to another machine i get this: Degraded raid1 and it wont boot.
If i run bootrec /rebuild bcd it will boot windows… Then my problem is the RAID1, soon as i select the second drive and say rebuild it wont boot and its need to boot windows to start rebuild.
I would like to multicast deploy this image and need to do with without affecting the raid1!
Most work perfect, The IBM server guide & Linux menu are a work in progress still, just haven’t had the time… but suspect memdisk wont work for them & need to take the live cd route.
For what its worth… this is my advanced ipxe settings
Not the IBM/Linux iso i haven’t had time to sort the live boot ones.
:MENU
menu
item windows Windows Install Menu
item installTools Boot Tools Menu
item acronistools Acronis Tools Menu
item shadowprotect Shadowprotect Recovery Menu
item ibmtools IBM Tools Menu
item linux Linux Menu
choose --default windows target && goto ${target}
:windows
menu
item WinPE5_amd64 Windows Server 2012 R2 WinPE
item server-2012-r2-dc Windows Server 2012 R2
item shell ipxe shell
item return Return to Main Menu
choose --default WinPE5_amd64 target && goto ${target}
:acronistools
menu
item Acronis2015 Acronis true Image 2015
item Acronis2015PRMedia Acronis PE Media 2015
item Acronis2013 Acronis True Image 2013
item acronis2009 Acronis True Image 2009
item Align Acronis Alignment Tool
item Acronisdiskdirector Acronis Disk Director
item shell ipxe shell
item return Return to Main Menu
choose --default Acronis2015 target && goto ${target}
:shadowprotect
menu
item ShadowProtect.5.2 ShadowProtect 5.2 x64
item ShadowProtect.5.2.x86.en-US ShadowProtect 5.2 x86
item ShadowProtect_RE_5.1.3 ShadowProtect 5.1.3
item ShadowProtect_RE_5.0.0 ShadowProtect 5.0.0
item ShadowProtect_RE_4.2.5 ShadowProtect 4.2.5
item ENU_ShadowProtect_RE_4.1.5 ShadowProtect 4.1.5
item ENU_ShadowProtect_RE_4.0.0 ShadowProtect 4.0.0
item ENU_ShadowProtect_IT_3.6.0 IT Edition 3.6.0
item shell ipxe shell
item return Return to Main Menu
choose --default ShadowProtect.5.2 target && goto ${target}
:installTools
menu
item Hirens.BootCD.15.2 Hirens BootCD 15.2
item USPatchedHiren.8.8 Hirens BootCD USPatched 8.8
item systemrescuecd-x86-3.7.0 System Rescue CD 3.7.0
item gparted-live-0.16.1-1-i486 GParted 16.1-1
item seatools Seatools
item memtest86±5.01 Memtest86±5.01
item memtest3-4 Memtest86+ 3-4
item memtest86±2.01 Memtest86+ 2.01
item mt420 Memtest86+ 4.2
item cd140201 Offline NT Password & Registry Editor
item return Return to Main Menu
choose --default Hirens.BootCD.15.2 target && goto ${target}
:linux
menu
item ubuntu14.04_64 Ubuntu 14.04 64 Bits
item debian7.8_64 Debian 7.8 64 Bits
item return Return to Main Menu
choose --default ubuntu14.04_64 target && goto ${target}
:ENU_ShadowProtect_IT_3.6.0
initrd http://${fog-ip}/${fog-webroot}/iso/shadowprotect/ENU_ShadowProtect_IT_3.6.0.iso
chain memdisk iso raw ||
goto MENU
:ENU_ShadowProtect_RE_4.0.0
initrd http://${fog-ip}/${fog-webroot}/iso/shadowprotect/ENU_ShadowProtect_RE_4.0.0.iso
chain memdisk iso raw ||
goto MENU
:ENU_ShadowProtect_RE_4.1.5
initrd http://${fog-ip}/${fog-webroot}/iso/shadowprotect/ENU_ShadowProtect_RE_4.1.5.iso
chain memdisk iso raw ||
goto MENU
:ShadowProtect_RE_4.2.5
initrd http://${fog-ip}/${fog-webroot}/iso/shadowprotect/ShadowProtect_RE_4.2.5.iso
chain memdisk iso raw ||
goto MENU
:ShadowProtect_RE_5.0.0
initrd http://${fog-ip}/${fog-webroot}/iso/shadowprotect/ShadowProtect_RE_5.0.0.iso
chain memdisk iso raw ||
goto MENU
:ShadowProtect_RE_5.1.3
initrd http://${fog-ip}/${fog-webroot}/iso/shadowprotect/ShadowProtect_RE_5.1.3.iso
chain memdisk iso raw ||
goto MENU
:ShadowProtect.5.2
initrd http://${fog-ip}/${fog-webroot}/iso/shadowprotect/ShadowProtect.5.2.iso
chain memdisk iso raw ||
goto MENU
:ShadowProtect.5.2.x86.en-US
initrd http://${fog-ip}/${fog-webroot}/iso/shadowprotect/ShadowProtect.5.2.x86.en-US.iso
chain memdisk iso raw ||
goto MENU
:Acronis2015
initrd http://${fog-ip}/${fog-webroot}/iso/acronis/Acronis2015.iso
chain memdisk iso raw ||
goto MENU
:Acronis2015PRMedia
initrd http://${fog-ip}/${fog-webroot}/iso/acronis/Acronis2015PEMedia.iso
chain memdisk iso raw ||
goto MENU
:Acronis2013
initrd http://${fog-ip}/${fog-webroot}/iso/acronis/Acronis2013.iso
chain memdisk iso raw ||
goto MENU
:acronis2009
initrd http://${fog-ip}/${fog-webroot}/iso/acronis/acronis2009.iso
chain memdisk iso raw ||
goto MENU
:Acronisdiskdirector
initrd http://${fog-ip}/${fog-webroot}/iso/acronis/Acronisdiskdirector.iso
chain memdisk iso raw ||
goto MENU
:Align
initrd http://${fog-ip}/${fog-webroot}/iso/acronis/Align.iso
chain memdisk iso raw ||
goto MENU
:sysrescue3.7
initrd http://${fog-ip}/${fog-webroot}/iso/systemrescuecd/systemrescuecd-x86-3.7.0.iso
chain memdisk iso raw ||
goto MENU
:Hirens.BootCD.15.2
initrd http://${fog-ip}/${fog-webroot}/iso/hiren/Hirens.BootCD.15.2.iso
chain memdisk iso raw ||
goto MENU
:USPatchedHiren.8.8
initrd http://${fog-ip}/${fog-webroot}/iso/hiren/USPatchedHiren.8.8.iso
chain memdisk iso raw ||
goto MENU
:seatools
initrd http://${fog-ip}/${fog-webroot}/iso/seatools/seatools.iso
chain memdisk iso raw ||
goto MENU
:mt420
initrd http://${fog-ip}/${fog-webroot}/iso/memtest/mt420.iso
chain memdisk iso raw ||
goto MENU
:memtest86±2.01
initrd http://${fog-ip}/${fog-webroot}/iso/memtest/memtest86±2.01.iso
chain memdisk iso raw ||
goto MENU
:memtest3-4
initrd http://${fog-ip}/${fog-webroot}/iso/memtest/memtest3-4.iso
chain memdisk iso raw ||
goto MENU
:memtest86±5.01
initrd http://${fog-ip}/${fog-webroot}/iso/memtest/memtest86±5.01.iso
chain memdisk iso raw ||
goto MENU
::cd140201
initrd http://${fog-ip}/${fog-webroot}/iso/passwordeditor/cd140201.iso
chain memdisk iso raw ||
goto MENU
:ubuntu14.04_64
initrd http://${fog-ip}/${fog-webroot}/iso/install/ubuntu/ubuntu14.04_64.iso
chain memdisk iso raw ||
goto MENU
:debian7.8_64
initrd http://${fog-ip}/${fog-webroot}/iso/install/debian2/debian7.8_64.iso
chain memdisk iso raw ||
goto MENU
:WinPE5_amd64
initrd http://${fog-ip}/${fog-webroot}/iso/windows/WinPE5_amd64.iso
chain memdisk iso raw ||
goto MENU
:server-2012-r2-dc
initrd http://${fog-ip}/${fog-webroot}/iso/windows/server-2012-r2-dc.iso
chain memdisk iso raw ||
goto MENU
:shell
shell ||
goto MENU
:return
chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
prompt
goto MENU
autoboot