could not boot: exec format error
-
@george1421 said in could not boot: exec format error:
file /var/www/html/fog/service/ipxe/bzImag
Thank you for responding! i did not build a custom ipxe menu. and when i run the command you provided i get a “no such file or directory”
-
@rude26 OK lets use the debian variant path
file /var/www/fog/service/ipxe/bzImage
If that gives us a no such file or directory, lets navigate to that path to see where the path fails.
I’m almost getting the idea you don’t have a complete install, but lets see where the path fails us.
-
@george1421 ok! so i got the "no such file or directory
i manually navigated to var/www/fog/service/ipxe/ there is no bzImage
but a there is a few other files. i put up a snip -
@rude26 OK I want you to reinstall fog. Make sure you do all 3 parts.
- installfog.sh
- Half way through you will be directed to the web gui.
- return back to the fog server console and complete the install.
You did find the root of the problem, we just need to understand why.
-
@george1421 ok! so im back at work this morning trying to correct this
attempted to reinstall never go the prompt to go to GUI like i did the 1st time around
i attempted to do a full uninstall and reinstall both of the times when attempting to install i noticed this errorcannot get this to download more then likely my issue?
-
@rude26 Do you have to use a proxy server in your network?
-
@sebastian-roth no we are not using a proxy server.
-
@rude26 Does your fog server have direct access to the internet? I would think yes if you got this far. But this error is the root of why its not booting.
Can you test to ping fogproject.org ? Maybe something is up with name resolution.
-
@george1421 yes it does have direct access, yes I can ping fogproject.org
checked the firewall for any potential blocks. but i did not see anything -
@rude26 Then try a manual download to find out what’s going on. On your FOG server run the following command and post output here:
curl -kOL https://github.com/FOGProject/fos/releases/latest/download/bzImage
-
@sebastian-roth said in could not boot: exec format error:
https://github.com/FOGProject/fos/releases/latest/download/bzImage
I just reversed engineering this answer…
-
@sebastian-roth ok ran that and this is what i got.
is my network denying to connection? -
@rude26 For reference when I run the command from my fog server.
Also when I paste the url into my browser I get a file download prompt. I just wanted to test to see if something was broken with the github site.
-
@george1421
when i go to the url with my browser on my windows machine it did download bzimage
when i do it from the fog server it does not downloadcan i just drop this file in the correct place?
-
@rude26 There are actually a series of files that gets downloaded here.
Are you sure your company isn’t using a transparent proxy for internet filtering? HTTP inspect might cause https to fail. See if you can pull the file with http.
-
@rude26 said in could not boot: exec format error:
can i just drop this file in the correct place?
Yes for the binaries itself but no for the checksums. The script is made to always re-download the checksums to make sure it would pull a newer kernel/init file even if an older one sits there in the tmp folder. I know this is not great for the situation you are in right now.
Are you ok with editing shell scripts? That way we could help you get around this. https://github.com/FOGProject/fogproject/blob/dev-branch/lib/common/functions.sh#L2422
The other option I can suggest is downloading kernel/init binaries and checksums plus the fog-client binaries and host those on a local mirror for the moment. Just put in “github.com” to your /etc/hosts.
-
@sebastian-roth so after the last post and seeing it might be my network blocking me or a proxy set up, i decided to do it a nasty way lol please dont hate me. and also i came into a place with alot of missing staff so its been a whole discovery session for me.
I tethered my cell to the machine( on a test machine in the office) for network
was able to download all the files
it assigned it different IP
went through install
and re ran install once hooked back in to the internal network changed IP and DHCP to what it should be
i got success!!! i was able to check in my device with the fog server!!!
you guys are awesome thanks for the help.now that its checked in and im trying to capture and image im getting this error looking through the forum to see if i can find the answer
-
@rude26 This is a YOU problem. What happened is that you used “shutdown” to power off the windows computer. This does not close all of the open windows files because fast startup is turned on.
There are a few ways to shut it down in preparation for cloning.
- Let sysprep do it.
- Use the command prompt and use
shutdown -s -t 0
- Turn off fast startup.
For more information google
windows dirty bit
Well done on the internet bypass to get FOG installed.
-
@rude26 Well done!
May I ask you to use separate topics for each issue you want to talk about. No trouble on the unclean NTFS stuff here. We just try to keep things sorted in the forums so others find information and help more easily.
-
@george1421 Thanks so much for the help to you and @Sebastian-Roth
I was able to successfully capture and image and deploy it yesterday!