11-23-2017 11:55 PM
How can the following be configured using the Cisco UCS Power Tool for IMC (Cisco C240)?
Server# scope bios
Server /bios # set boot-order hdd,cdrom,fdd,pxe,efi
Server /bios *# commit
Server /bios # show detail
I can find cmdlets for configuring Advanced boot order, but I want to configure Basic boot order.
Solved! Go to Solution.
11-24-2017 12:49 AM
Hi,
If nothing id added, use the below Add commands-
Get-ImcBootDefinition | Add-ImcLsbootStorage -Order 1
Get-ImcBootDefinition | Add-ImcLsbootVirtualMedia -Access "read-only" -Order 2
Get-ImcBootDefinition | Add-ImcLsbootVirtualMedia -Access "read-write" -Order 3
Get-ImcBootDefinition | Add-ImcLsbootLan -Order 4
Get-ImcBootDefinition | Add-ImcLsbootEfi -Order 5
If some boot orders are already added then use the below commands to set the respective orders -
Get-ImcLsbootStorage -Type "storage" | Set-ImcLsbootStorage -Order "1" -Force
Get-ImcLsbootVirtualMedia -Access "read-only" | Set-ImcLsbootVirtualMedia -Order "2" -Force
Get-ImcLsbootVirtualMedia -Access "read-write" | Set-ImcLsbootVirtualMedia -Order "3" -Force
Get-ImcLsbootLan -Type "lan" | Set-ImcLsbootLan -Order "4" -Force
Get-ImcLsbootEfi -Type efi | Set-ImcLsbootEfi -Order 5 -Force
11-24-2017 12:49 AM
Hi,
If nothing id added, use the below Add commands-
Get-ImcBootDefinition | Add-ImcLsbootStorage -Order 1
Get-ImcBootDefinition | Add-ImcLsbootVirtualMedia -Access "read-only" -Order 2
Get-ImcBootDefinition | Add-ImcLsbootVirtualMedia -Access "read-write" -Order 3
Get-ImcBootDefinition | Add-ImcLsbootLan -Order 4
Get-ImcBootDefinition | Add-ImcLsbootEfi -Order 5
If some boot orders are already added then use the below commands to set the respective orders -
Get-ImcLsbootStorage -Type "storage" | Set-ImcLsbootStorage -Order "1" -Force
Get-ImcLsbootVirtualMedia -Access "read-only" | Set-ImcLsbootVirtualMedia -Order "2" -Force
Get-ImcLsbootVirtualMedia -Access "read-write" | Set-ImcLsbootVirtualMedia -Order "3" -Force
Get-ImcLsbootLan -Type "lan" | Set-ImcLsbootLan -Order "4" -Force
Get-ImcLsbootEfi -Type efi | Set-ImcLsbootEfi -Order 5 -Force
11-24-2017 12:53 AM
Thanks Rishi!
Does the following command also work for booting from M.2 disks in UEFI mode?
Get-ImcLsbootEfi -Type efi | Set-ImcLsbootEfi -Order 5 -Force
11-24-2017 01:03 AM
This particular command will set the efi at 5th preference of boot order. If higher preference is required then change the order accordingly while setting order.
11-24-2017 03:13 AM
Great, thanks a lot!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide