/build/static/layout/Breadcrumb_cap_w.png

Changing Boot Order From Post Install Script

Much like the Title states I would like to change the boot order during Post Install execution.

I do not want to install CCTK on my images, however, CCTK is installed on the K2000 Boot Environment.

I am unable to set the boot order during mid tasks because the HDD or Window Manager is not available until the system reboots and Post Install begins.

I don't want to go into details because it's a long story but I am going from Legacy to Uefi on many remote machines and unfortunately unless I installed CCTK on each machine I cannot change the starting boot sequence from legacy to UEFI, I do this during mid level tasks however.

Currently the end result is a Win10 Uefi boot machine that wants to boot into IPv4 NIC every time it boots. I can of course change the boot sequence after imaging has completed with a CCTK executable but would prefer this was done automatically during deployment.


0 Comments   [ + ] Show comments

Answers (2)

Posted by: Channeler 4 years ago
Red Belt
2

When you reach the Post Install Sequence, the KBE is no more, and everything is executed within the OS.

You could create a post install task to install CCTK  silently.

Run whatever BIOS commands with a powershell or CMD task.

Run another task\command to Remove CCTK silently.

(there, it's not part of the Gold Image, and it will not stay installed for long , use three tasks)


Comments:
  • Yes this is an option, however, running a CCTK executable which changes the order is a better method I believe - theron324 4 years ago
    • Set a post install task to with xcopy to copy the EXE to a certain location.

      Set another task to use it. (CD to that location and run your CCTK commands).

      Set a last task to delete the EXE.

      If it's an executable, you should not need to install it. - Channeler 4 years ago
Posted by: gwir 4 years ago
Second Degree Brown Belt
1

In my case, I made the legacy to uefi change in a pre-install task with CCTK. Just a zip file with a .bat to change the boot mode :

  "%~dp0cctk.exe" BootOrder --ActiveBootList=uefi > nul

Nothing is install in the golden image or the machine.

  • Boot to kbe in legacy mode
  • change boot mode in pre-install task
  • install the os with uefi compatible file sytem
  • reboot in uefi mode and finish the install


 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ