This shows you the differences between two versions of the page.
err:2d0280 [2011/04/20 19:35] |
err:2d0280 [2011/04/20 19:35] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | This error indicates that your iPXE [[:scripting|script]] has attempted to ''[[:cmd:goto]]'' a non-existent label. | ||
+ | |||
+ | Things to try: | ||
+ | |||
+ | * Check the script line that defines the label, such as<code> :my_label</code> | ||
+ | |||
+ | * Check the script line that attempts to ''[[:cmd:goto]]'' the label, such as<code> goto my_label</code>Note that the label name specified in the ''[[:cmd:goto]]'' command must **not** include the colon ('':'') sign:<code> # This is wrong | ||
+ | goto :my_label</code> | ||
+ | |||
+ | * If you are using a dynamically-generated label, such as<code> goto host_${hostname}</code> then you should consider using a fallback label in case the dynamically-generated label does not exist. For example:<code> goto host_${hostname} || goto unknown</code> | ||