3.2.2. boot - boot from script, device, …¶
3.2.2.1. Usage¶
boot [-vdlmMwt] [BOOTSRC...]
3.2.2.2. Synopsis¶
This is for booting based on scripts. Unlike the bootm command which
can boot a single image this command offers the possibility to boot with
scripts (by default placed under /env/boot/).
BOOTSRC can be:
- a filename under /env/boot/
- a full path to a boot script
- a full path to a bootspec entry
- a device name
- a partition name under /dev/
- a full path to a directory which
- contains boot scripts, or
- contains a loader/entries/ directory containing bootspec entries
- "bootchooser": boot with barebox bootchooser
- "bootsource": boot from the device barebox has been started from
- "diskuuid.*": boot from disk with specified diskuuid
Multiple bootsources may be given which are probed in order until
one succeeds.
3.2.2.3. Options¶
- -v
Increase verbosity
- -d
Dryrun. See what happens but do no actually boot (pass twice to run scripts)
- -l
List available boot sources
- -m
Show a menu with boot options
- -M INDEX
Show a menu with boot options with entry INDEX preselected
- -w SECS
Start watchdog with timeout SECS before booting
- -o VAR[=VAL]
override VAR (bootm.{oftree,initrd}) with VAL
if VAL is not specified, the value of VAR is taken
- -t SECS
specify timeout in SECS