EUFI Bios and FOG
-
I am trying to image a Lenovo T420
I have Fog .32 on a Debian VM
PXE boot gets us to the client…but,The client will not go to the hard drive after 3 seconds…it just reboots.
When trying to upload an image, the client reports and unsupported BIOS. Also, will not not compress the image but uploads the whole 300 gig HD We have removed the 100MB Windows Partition and just have one partition.
Is there and issue with UEFI BIOS? It seems that FOG client does not like it. Is there a workaround?
-
You can integrate FOG with Clonezilla and it will work. Clonezilla Live supports EFI. also you need to replace the original PXE boot image with gPXE 1.0.1+ from [url]http://rom-o-matic.net/gpxe/gpxe-git/gpxe.git/contrib/rom-o-matic/[/url]
Hope this helped.
-
Hi Amir,
I have the same issue as Leroy and I am interested in integrating Fog and live Clonezilla. How do you suggest to do that? Just adding a pxe menu option for clonezilla or something more complicated?Regards
-
[quote=“Frank, post: 2075, member: 691”]Hi Amir,
I have the same issue as Leroy and I am interested in integrating Fog and live Clonezilla. How do you suggest to do that? Just adding a pxe menu option for clonezilla or something more complicated?Regards[/quote]
Hi Frank,
Yes you need to do couple of things, one is creating entry in the PXE boot menu. In order to do this follow these instructions:
-
You need to download Clonezilla Live for PXE, There are three files you need extract after you download the ZIP file and place them into your /tftpboot Directory. The instructions are also are on this site as well:
[url]http://clonezilla.org/livepxe.php[/url] -
Once you are done, create a new entry in your FOG PXE Menu by:
If you are usuing Ubuntu:
sudo vi /tftpboot/pxelinux.cfg/menu
Then make a new entry:
label Clonezilla-live
MENU LABEL Clonezilla Live (Ramdisk)
KERNEL vmlinuz
APPEND initrd=initrd.img 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_lang=“” vga=788 nosplash noprompt [COLOR=red]fetch=tftp://YOURSERVERIPADDRESS/filesystem.squashfs[/COLOR][COLOR=#000000]Reboot your client, choose the clonezilla live from the pxe menu once you have given the menu and enjoy uploading/downloading your new images.[/COLOR]
Hope this helped,
Amir [COLOR=red][/COLOR] -
-
Thanks Amir, I tried it and it worked fine.
The only thing is that doing in this way one must manage images out of fog; I mean, it is not possible to do things like deploy one image to a group of computers in one shot, isn’t it? -
Frank,
Do you mean can you deploy images on multiple computers at the same time ? If so, then yes, you need to do a multicast session and Clonezilla offer that feature as well.
-
Great, I didn’t know Clonezilla offer that features.
I also meant that althought you acces Clonezilla from Fog menu, there is no way to work with an image created with Clonezille from Fog; if you create an image with clonezilla then you must manage this image from clonezilla, Right?By the way, do you know if Fog will support EFI in a future?
thanks a lot for you help.
-
[quote=“Frank, post: 2083, member: 691”]Great, I didn’t know Clonezilla offer that features.
I also meant that althought you acces Clonezilla from Fog menu, there is no way to work with an image created with Clonezille from Fog; if you create an image with clonezilla then you must manage this image from clonezilla, Right?By the way, do you know if Fog will support EFI in a future?
thanks a lot for you help.[/quote]
Yes, since the Image format is different then you have to use Clonezilla.
I have not seen anywhere that FOG support EFI, EXT, or EFT, but again you can use gPXE-1.0.1+ and chainload you FOG PXE in order to create/upload/download EFI based images.
If you would like to know how to do this let me know.
-
Amir,
Thanks for your instructions above for installing Clonezilla on a Fog server.
I followed the instructions, but when I boot to PXE and select Clonezilla from the menu, I get an error “Invalid or corrupt kernel image.” I have re-downloaded, tried both the .zip and the .iso, tried the Ubuntu (which I am running) and the Debian package. Have you seen this before, or do you have any suggestions?
Thanks!
David
-
Hi David,
Once you have downloaded the Clonezilla Live you need to Extract the contexts of the ZIP file. There are three files you need to extract:
- vmlinuz
- initrd.img
- filesystem.squashfs
Then you need copy these three files into your tftboot directory. once you are done copying those three files then edit your menu:
sudo vi /tftpboot/pxelinux.cfg/menu
Then make a new entry:
label Clonezilla-live
MENU LABEL Clonezilla Live (Ramdisk)
KERNEL vmlinuz
APPEND initrd=initrd.img 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_lang=“” vga=788 nosplash noprompt [COLOR=red]fetch=tftp://YOURSERVERIPADDRESS/filesystem.squashfs[/COLOR][COLOR=#000000]Restart your network [/COLOR]
sudo /etc/init.d/network restart
Start up your client you wish to boot to pxe and it should work.
Hope it helped.
Amir -
Thanks so much for your quick response! I think what ended up happening was the file was being corrupted during ftp transfer. I burned the iso to cd and copied from there and it seems to be working now. Your suggestion to restart the networking ended up helping after getting the files copied.
Thanks again!
-
[quote=“Amir, post: 2084, member: 335”]Yes, since the Image format is different then you have to use Clonezilla.
I have not seen anywhere that FOG support EFI, EXT, or EFT, but again you can use gPXE-1.0.1+ and chainload you FOG PXE in order to create/upload/download EFI based images.
If you would like to know how to do this let me know.[/quote]
I’m also trying to image uefi machines; do you have any tips on chainloading or should I just use the directions at [url]http://ipxe.org/howto/dhcpd#pxe_chainloading[/url] ?
Not sure what you meant by
[QUOTE]also you need to replace the original PXE boot image with gPXE 1.0.1+[/QUOTE]…what is the original PXE boot image? pxelinux.0 ? -
Yes, the original PXE boot file is pxelinux.0 , you need to download the gPXE version 1.0.1+ and then place the gpxe-1.0.1+ boot file under your TFTP boot directory. In order to chainload your PXE server “if you are running windows DHCP” follow the instruction from this site:
[url]http://etherboot.org/wiki/pxechaining[/url]Hope this helped.
-
[quote=“Amir, post: 11194, member: 335”]Yes, the original PXE boot file is pxelinux.0 , you need to download the gPXE version 1.0.1+ and then place the gpxe-1.0.1+ boot file under your TFTP boot directory. In order to chainload your PXE server “if you are running windows DHCP” follow the instruction from this site:
[url]http://etherboot.org/wiki/pxechaining[/url]Hope this helped.[/quote]
Thanks for the help, Amir.
I must be missing something. I end up with the message “Succeed to download NBP”, but then it skips right to the next item in the boot order.
I’m using my fog server for DHCP. I’m using gpxe-1.0.1-undionly.kpxe as NBP.
Any clue what I’m doing wrong?
-
As I mentioned previously, you will need gPXE-1.0.1+ in order to boot your EFI based systems from network. another option is to get the live pxe version of Clonezilla and create an entry on your pxe menu which points to your Live Clonezilla. With this in place then you can upload/download EFI, EUFI, EFT, EXT, NTFS, FAT based file systems.