Skip To Main Content
Support Knowledge Base

How to Change Boot Order Using Redfish Commands in Intel® Server M50FCP/D50DNP Family

Content Type: Maintenance & Performance   |   Article ID: 000098680   |   Last Reviewed: 04/17/2024

Description

It is unclear which Redfish commands to use to modify/change the boot order for the storage devices in my system remotely.

Resolution

  1. Check the existing boot options:

    curl -k -u 'username:password' https://BMC IP Address/redfish/v1/Systems/system -H "content-type:application/json" -X GET | python3 -m json.tool

    Output: 

    example image

  2. Change the boot order using the below command. For example, change the first boot device to Windows Boot Manager: 

    curl -k -u 'username:password' https://BMC IP Address/redfish/v1/Systems/system -H "content-type: application/json" --data '{"Boot": {"BootSourceOverrideEnabled": "Continuous","BootSourceOverrideTarget": "None", "BootOrder": ["Windows Boot Manager","UEFI Internal Shell","UEFI INTEL SSDSC2BB300G4 BTWL408004EL300PGN ","UEFI IPv4: Intel Network 00 at Slot 03","UEFI IPv6: Intel Network 00 at Slot 03","UEFI IPv4: Intel Network 01 at Slot 03","UEFI IPv6: Intel Network 01 at Slot 03","UEFI HTTPv4: Intel Network 00 at Slot 03","UEFI HTTPv6: Intel Network 00 at Slot 03","UEFI HTTPv4: Intel Network 01 at Slot 03","UEFI HTTPv6: Intel Network 01 at Slot 03"]}}' -X PATCH

  3. Restart the system for changes to take effect.
  4. Confirm changes to BootOrder:
    curl -k -u 'username:password' https://BMC IP Address/redfish/v1/Systems/system -H "content-type:application/json" -X GET | python3 -m json.tool

    example image

     

Note

Using curl commands in the Windows* OS, the user needs to escape all double quotes except the first one and the last one.  For example, the data in Change Boot Order command would be:--data "{\"Boot\": {\"BootSourceOverrideEnabled\": \"Continuous\",\"BootSourceOverrideTarget\": \"None\", \"BootOrder\": [\"boot option 1\",\"boot option 2\"]}}"