Display images


  imgstat [<name>...]


Display all images


Display the image ''pxelinux.0''

  imgstat pxelinux.0


Display information about the specified images. If no images are explicitly specified, iPXE will display information about all images. For example:

  iPXE> imgstat
  boot.php : 111 bytes [script] [SELECTED]

In this example you can see that there is a single image, named boot.php, which is an iPXE script. The image has already been selected for booting (using a command such as kernel or imgselect).

It is possible to have multiple images present at the same time. For example:

  iPXE> imgstat
  vmlinuz : 2904736 bytes [bzImage] [SELECTED] "console=ttyS0,115200n8 console=tty0"
  initrd.img : 421168 bytes
  e1000.ko : 64852 bytes "/lib/modules/e1000.ko"

In this example you can see that there are three images. The image named vmlinuz is a Linux kernel bzImage and has been selected for booting. The command line “console=ttyS0,115200n8 console=tty0” will be passed to the Linux kernel when it boots.

The other two images will be available to the booted Linux kernel image: the image named initrd.img is a Linux initial RAM filesystem image, and the image named e1000.ko is a Linux kernel module that will be provided as the file /lib/modules/e1000.ko within the initial RAM filesystem.

See also


You can boot images displayed by imgstat using the boot command.

You can discard images displayed by imgstat using the imgfree command.

cmd/imgstat.txt · Last modified: 2012/03/24 20:22 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.