13 Replies Latest reply on Aug 26, 2014 7:01 AM by jw_wi

    LD 9.5.2 Provisioning with GPT

    Rookie

      Hi, does anyone have templates for creating a provision with GPT. I am having issues that it does not reboot after the ctos.

       

      Thanks,

        • 1. Re: LD 9.5.2 Provisioning with GPT
          davidg5700 Specialist

          Are you using UEFI for the BIOS?

           

          I recently set up a template with GPT and laid it down on a UEFI based laptop.  I had it crash after CTOS, but when I removed action that sets a partition as active, the image booted fine.

           

          Hope that helps.

          • 2. Re: LD 9.5.2 Provisioning with GPT
            Rookie

            I was wondering what your steps were for the after installing the operating system. Is yours HII and then ctos ? Your not extending the partition are any thing else in the post OS template?

            Thanks

            • 3. Re: LD 9.5.2 Provisioning with GPT
              Rookie

              I was wondering what your steps were for the after installing the operating system. Is yours HII and then ctos ? Your not extending the partition are any thing else in the post OS template?

              Thanks

              • 4. Re: LD 9.5.2 Provisioning with GPT
                davidg5700 Specialist

                After deploying the image, I mount the third partition as the J:.  This partition is the Windows OS partition on my base image.  I mount it as the J: so that there won't be any drive letter conflicts.  I inject the unattend into the root of the J:, have an HII step and then to CTOS.

                 

                Are you getting any type of error message after the CTOS step?

                • 5. Re: LD 9.5.2 Provisioning with GPT
                  Rookie

                  Hi, It just does not boot up to windows after the Configure target OS

                  I do the HII and all drivers load without error

                  I do a bcdboot with a J:\windows /s S: (s is the EFI partition) I get a failure when attempting to copy boot files on results. Should I be mounting the drive J and S before this command?

                  I do a configure target OS

                  • 6. Re: LD 9.5.2 Provisioning with GPT
                    Rookie


                    With the above commands using the J: dirve it is copying the boot files now to the S: drive. But when it reboots it boots into the S: and not windows now. How do I get it to boot into windows operating system install of the EFI partition?

                     

                    Thanks,

                    • 7. Re: LD 9.5.2 Provisioning with GPT
                      davidg5700 Specialist

                      Are you getting the Windows splash screen at all?  I am not doing anything in my templates to set the partitions as active or copy any boot files.  My base image contains the EFI partition with all the appropriate boot files and it able to boot fine without any further manipulation after being laid down on the disk.  What utility did you use to capture your base image?  Are you sure it captured all three partitions for UEFI?  EFI, MSR, and OS partitions? 

                      • 8. Re: LD 9.5.2 Provisioning with GPT
                        Rookie

                        I am using the stock wim from Microsoft for the 8.1 32 bit

                        Pre-os : I wipe the drive, then create the EFI, MSR and OS partition.

                        EFI : 300 mb mount as S: format fat32

                        MSR created 500

                        OS 60 GB mounted as J: format ntsf

                        copy answer file to J

                        Push OS to workstation

                        It just does not boot up to windows after the Configure target OS

                        I do the HII and all drivers load without error

                        I do a bcdboot with a J:\windows /s S: (s is the EFI partition) copy boot files on results. good

                        I do a configure target OS

                        reboot  (this is where it stops)

                         

                        Never make any partitions bootable or active

                         

                        Thanks,

                        • 9. Re: LD 9.5.2 Provisioning with GPT
                          davidg5700 Specialist

                          OK... looks like we are going down different paths.  I build a thin image and capture that to deploy in my provisioning templates.  It looks like you are doing a fresh install from the install wim file.  I have not done a template like that, but would be interested to find out if you get it to work.

                           

                          Good luck.

                          • 10. Re: LD 9.5.2 Provisioning with GPT
                            Gjstewart Specialist

                            I had to capture a BIOS image and a UEFI image from a VM ( gold images ).

                             

                            Then its down to the partitioning - i have custom diskpart scripts running this configuration. ( windows 7 though ). Running that and i have no issues.

                             

                            My method which i am trying to get documented for the community automatically chooses BIOS or UEFI images and partitions accordingly. Its not using the LANDesk GUI options but custom powershell code. However Diskpart is Diskpart so the below is what i use for UEFI.

                             

                            SELECT DISK #

                            CLEAN

                            CONVERT GPT

                            CREATE PARTITION EFI size=100

                            FORMAT LABEL="System Reserved"

                            ASSIGN LETTER=S:

                            FORMAT QUICK FS=FAT32

                            CREATE PARTITION MSR SIZE=128

                             

                            CREATE PART PRI

                            ASSIGN LETTER=C:

                            FORMAT FS=NTFS LABEL="OS" QUICK

                             

                            EXIT

                            • 11. Re: LD 9.5.2 Provisioning with GPT
                              Rookie

                              Thanks for the information

                              • 12. Re: LD 9.5.2 Provisioning with GPT
                                Employee

                                Hi jw_wi,

                                 

                                What Gjstewart said is the correct way to format a UEFI partition.  One thing I haven't seen in here is whether you're using ImageW or ImageX for your capture/deploy.  It is very important that if you are doing a UEFI/BIOS cross-platform image that you use a file based imaging tool, in this case ImageX.

                                 

                                So, assuming you're using ImageX you can either use the UEFI script that Gjstewart is using, or if you are able to upgrade to 9.6 there is a "Create Default Partitions" sub-action in the Partition Action.  This will auto-detect UEFI or BIOS and make a standard layout drive very similar to the script Gjstewart shows up above.  Additionally for 9.6 I would highly recommend using the wizard to get started.  Once that is done add in the additional actions you might need to customize it to your specific needs.  If you are pre-9.6 then I would recommend using the diskpart script listed above.

                                 

                                Thanks!

                                • 13. Re: LD 9.5.2 Provisioning with GPT
                                  Rookie

                                  Thanks for the information