• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    EUFI Bios and FOG

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    15
    14.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Amir
      last edited by

      [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:

      1. 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]

      2. 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]

      1 Reply Last reply Reply Quote 0
      • F
        Frank
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • A
          Amir
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • F
            Frank
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • A
              Amir
              last edited by

              [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.

              1 Reply Last reply Reply Quote 0
              • D
                dgerber1979
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • A
                  Amir
                  last edited by

                  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:

                  1. vmlinuz
                  2. initrd.img
                  3. 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

                  1 Reply Last reply Reply Quote 0
                  • D
                    dgerber1979
                    last edited by

                    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!

                    1 Reply Last reply Reply Quote 0
                    • E
                      etep
                      last edited by

                      [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 ?

                      1 Reply Last reply Reply Quote 0
                      • A
                        Amir
                        last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • E
                          etep
                          last edited by

                          [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?

                          1 Reply Last reply Reply Quote 0
                          • A
                            Amir
                            last edited by

                            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.

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            227

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project