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.
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
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
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
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.
Great, thanks a lot!