1 .. SPDX-License-Identifier: GPL-2.0+:
11 bootmeth list [-a] - list selected bootmeths (-a for all)
12 bootmeth order "[<bm> ...]" - select the order of bootmeths\n"
18 The `bootmeth` command is used to manage bootmeths. It can list them and change
19 the order in which they are used.
21 See :doc:`../../develop/bootstd` for more information.
29 Selects which bootmeths to use and the order in which they are invoked. When
30 scanning bootdevs, each bootmeth is tried in turn to see if it can find a valid
31 bootflow. You can use this command to adjust the order or even to omit some
34 The argument is a quoted list of bootmeths to use, by name. If global bootmeths
35 are included, they must be at the end, otherwise the scanning mechanism will not
42 This lists the selected bootmeths, or all of them, if the `-a` flag is used.
43 The format looks like this:
45 ===== === ================== =================================
46 Order Seq Name Description
47 ===== === ================== =================================
48 0 0 distro Syslinux boot from a block device
49 1 1 efi EFI boot from an .efi file
50 2 2 pxe PXE boot from a network device
51 3 3 sandbox Sandbox boot for testing
52 glob 4 efi_mgr EFI bootmgr flow
53 ===== === ================== =================================
55 The fields are as follows:
58 The order in which these bootmeths are invoked for each bootdev. If this
59 shows as a hyphen, then the bootmeth is not in the current ordering. If it
60 shows as 'glob', then this is a global bootmeth and should be at the end.
63 The sequence number of the bootmeth, i.e. the normal ordering if none is set
69 A friendly description for the bootmeth
75 This shows listing bootmeths. All are present and in the normal order::
78 Order Seq Name Description
79 ----- --- ------------------ ------------------
80 0 0 distro Syslinux boot from a block device
81 1 1 efi EFI boot from an .efi file
82 2 2 pxe PXE boot from a network device
83 3 3 sandbox Sandbox boot for testing
84 4 4 efi_mgr EFI bootmgr flow
85 ----- --- ------------------ ------------------
88 Now the order is changed, to include only two of them::
90 => bootmeth order "sandbox distro"
92 Order Seq Name Description
93 ----- --- ------------------ ------------------
94 0 3 sandbox Sandbox boot for testing
95 1 0 distro Syslinux boot from a block device
96 ----- --- ------------------ ------------------
99 The -a flag shows all bootmeths so you can clearly see which ones are used and
103 Order Seq Name Description
104 ----- --- ------------------ ------------------
105 1 0 distro Syslinux boot from a block device
106 - 1 efi EFI boot from an .efi file
107 - 2 pxe PXE boot from a network device
108 0 3 sandbox Sandbox boot for testing
109 - 4 efi_mgr EFI bootmgr flow
110 ----- --- ------------------ ------------------