This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
cmd:boot [2012/03/24 19:24] mcb30 |
cmd:boot [2012/03/24 19:38] mcb30 |
||
---|---|---|---|
Line 19: | Line 19: | ||
boot http://boot.ipxe.org/demo/boot.php | boot http://boot.ipxe.org/demo/boot.php | ||
- | |||
- | === Boot a Linux kernel with arguments === | ||
- | |||
- | boot http://192.168.0.1/vmlinuz vga=788 | ||
=== Boot pxelinux === | === Boot pxelinux === | ||
Line 31: | Line 27: | ||
boot | boot | ||
+ | |||
+ | === Boot a Linux kernel with an initrd and arguments === | ||
+ | |||
+ | imgfetch http://192.168.0.1/initrd.gz | ||
+ | boot http://192.168.0.1/vmlinuz vga=788 | ||
===== Description ===== | ===== Description ===== | ||
Line 65: | Line 66: | ||
===== Notes ===== | ===== Notes ===== | ||
- | The commands ''boot'', ''imgexec'' and ''chain'' are identical. In older versions of iPXE, ''boot'' and ''imgexec'' will accept only the name of an already-downloaded image, and ''chain'' will accept only the URI of a new image to be downloaded. | + | The commands ''boot'', ''imgexec'' and ''chain'' are identical. |
+ | |||
+ | ===== Backwards compatibility ===== | ||
+ | |||
+ | In older versions of iPXE, you must use ''chain'' when you want to download and boot a new image from a URI, and you must use ''boot'' or ''imgexec'' when you want to boot an image that has already been downloaded. | ||
- | For the sake of backwards compatibility with existing scripts, you can specify a new name for the image using the ''--name'' option, as with the ''[[:cmd:imgfetch]]'' command. | + | To maintain compatibility with existing scripts, you can specify a new name for the image using the deprecated ''--name'' option. |