The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recover from failed tftp boot
2012-06-03, 01:21
Post: #1
Recover from failed tftp boot
HI All,

Love this project and so thankful for its existence. I am using a snapshot taken 12-APR-2012 and I have run into a boot failure situation and I was wondering if there was a way to recover from it...

I am currently booting ipxe.lkrn and then in a script doing the following:

#!ipxe
:retry_dhcp
dhcp net1 && isset ${filename} || goto retry_dhcp
echo "Booting from ${dhcp-server}/${filename} via net1"
chain tftp://${dhcp-server}/${filename}
echo "Boot failed. Retrying..."
goto retry_dhcp

The issue is that I had the dhcp server misconfigured and it was giving out addresses on the wrong network. Doh! Anyway what would happen is the dhcp would work but the tftp would fail. I expected the chain to fail and the loop would retry the operation. This would also be the case do to a tftp transfer failure.

What happens is the boot fails with a connection timed out message (as expected) but then I get a "FATAL: INT18: BOOT FAILURE" and I have to reset the system to retry.

Is there a way to do what I want? I need to recover from a failed tftp transfer without having to physically power cycle the system.. Any help would be greatly appreciated..

Thanks,

-Don
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Recover from failed tftp boot - dpost - 2012-06-03 01:21



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