Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wimboot, I'm stumped
2014-01-19, 03:41 (This post was last modified: 2014-01-19 03:42 by MultimediaMan.)
Post: #3
OK, it's ugly, but you can debug it line by line:
Recommendations:

1) Recreate the file in gEdit or another POSIX-compatible editor.
2) Don't use leading tabs or spaces
3) Do make sure any trailing spaces are deleted.

Line By Line debug example: added an echo and a sleep statement with tailing pipes to let the script continue if there are errors. You should be able to see where the problem is in the called script.

Code:
#!ipxe
echo Line 1; sleep 3
set wimboot-path http://192.168.1.10/Win7
echo Line 2; sleep 3
kernel ${wimboot-path}/wimboot ||
echo Line 3; sleep 3
initrd ${wimboot-path}/W7/bootmgr     bootmgr ||
echo Line 4; sleep 3
initrd ${wimboot-path}/W7/boot/bcd    BCD ||
echo Line 5; sleep 3
initrd ${wimboot-path}/W7/boot/boot.sdi   boot.sdi ||
echo Line 6; sleep 3
initrd ${wimboot-path}/W7/sources/boot.wim   boot.wim ||
echo Line 7; sleep 3
imgstat ||
echo Line 8; sleep 3
boot ||
echo End; sleep 10

Best,

M^3

"Thus far, you have been adrift within the sheltered harbor of my patience..."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
wimboot, I'm stumped - mecasull - 2014-01-12, 02:46
RE: wimboot, I'm stumped - mecasull - 2014-01-18, 20:46
OK, it's ugly, but you can debug it line by line: - MultimediaMan - 2014-01-19 03:41



User(s) browsing this thread: 1 Guest(s)