Network boot : "not an elf header"

Dear All,

Because of a power outage, our RB1100 got sick : corrupted firmware.

After a reboot through webfig, the router went definitely mute. Even after a reset, it was not booting anymore.

Then I tried to netinstall … but netinstall does not work on my Windows 7 machine (netinstall tries to bind to 0.0.0.0 which is not allowed despite all firewalls and security features disabled).

Finally, I resorted to bootp + tftp from a Linux computer (which is basically what netinstall does) in order to netboot from a fresh routeros-powerpc-6.30-2.npk The file transfer goes fine (I can monitor it through the serial console) but then I have a “setting up elf image… not an elf header” error when the router tries to process the npk file.

Serial + xmodem yields the same outcome. Trying to netboot with ‘old’ routeros releases (3.* or 5.*) also. I also tried to have only the system package installed → same result.

I’m stuck.

Any help appreciated.

Laurent

And here is a self-reply :

I tried this morning with Netinstall on an XP computer : it worked like a charm and I was able to resurrect the RB1100.

I still wonder what’s the difference between Netinstall and going through RouterBoot + bootp/tftp.

Hope this helps

Hello,

I am also looking for an answer to this question. I have a RB532A that has recently died after trying to update to the latest 6.32.4 release. Now the router will not boot. I consoled in and tried the NetInstall program on a Windows XP SP3 with all updates applied. As soon as the RB532A attempts to boot, the NetInstall program errors out with the message

" FindResource: The specified resource name cannot be found in the image file (1814) "


After researching the forums I then tried using TFTPd using DHCP boot and renaming the routeros.npk file to vmlinux. I can get the file to transfer but then in the console i get the error message

“not an elf header”.

Can someone please help me? I do not have access to another computer. The laptop I am using is a Lenovo X301 circa 2008. I have seen suggested about using an older computer so I think that should be old enough. I also disabled checksum offloading on the NIC card as well as I have seen problems with servers in the past, but no luck.

Any help would be appreciated.

*edited 03042016 132900 - Corrected RouterOS version from 6.34.2 to 6.32.4

edited to add: I realized the Subject line didn’t accurately describe our problem, so I started my own topic here: https://forum.mikrotik.com/viewtopic.php?f=2&t=121205

I have the same problem as above. I’m using Netinstall v6.38.5 with MIPSBE v6.38.5 with a RB532. routerBOOT 2.18 router OS 6.32.4

Due to a lost password, we’re using netinstall to flash a new image onto the RB532. When you power the RB532, it connects to net install, gets an IP, resolves MAC address and the **** begin to show up, however on the PC, immediately after it resolves the MAC address, we get this error: “Find Resource: The specified resource name cannot be found in the image file. (1814)”. Eventually the RB532 says “Falling back to small packet size” then more ***** until “kernel loading failed”. Then the RB532 reboots. However, this time because netinstall has crashed, it will fail after “boot p protocol …”

If anyone has any help they can give us, I would be ever so grateful.

Is it a Santa header?

Sorry couldn’t help myself …

RB532 is not a mipsbe but mipsle.