Could not boot... Help?
-
Re: Fog 1.3 PXE Menu Entry for System Rescue CD
Fog: running Version 1.3.4
Ubuntu: 16.04.1Hello,
First, thanks for your work. Fog works great and installation was just perfect.
I strictly follow this tutorial [https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu#System_Rescue_CD](link url) especially about System Rescue CD (version downloaded: version 4.8.1 )
Booting one of my PC and then choosing srcd, I got the following error message :
http://xxx.xxx.xx.xxx/srcd/rescue64… No such file or directory (http://ipxe.org/2d0c613b)
Could not boot: No such file or directory http://ipxe.org/2d0c613b etc.Any help would be appreciated… Thanks in advance.
Christophe
-
on the fog server linux console, can you provide the output of the following command:
ls -la /var/www/html/srcd
-
@george1421 said in Could not boot... Help?:
ls -la /var/www/html/srcd
ls -la /var/www/html/srcd
total 375224
drwxr-xr-x 2 root root 4096 mars 14 10:34 .
drwxr-xr-x 3 root root 4096 mars 14 09:45 …
-rw-r–r-- 1 root root 15403740 août 12 2016 initram.igz
-rw-r–r-- 1 root root 14027296 août 11 2016 rescue64
-rw-r–r-- 1 root root 354783232 août 12 2016 sysrcd.dat
-rw-r–r-- 1 root root 45 août 12 2016 sysrcd.md5 -
@cnaud86 OK the files are in the right spot according to the document.
From a web browser can you access
http://<fog_server_ip>/srcd/sysrcd.md5
I’m only interested to see if you can access the files via a web browser.Right now its not clear if the issue is in the web server or the iPXE menu configuration. the above test will tell us if the web server part is setup correctly.
-
@george1421 said in Could not boot... Help?:
/srcd/sysrcd.md5
http://xxx.xxx.xx.xxx/html/srcd/sysrcd.md5 works fine
http://xxx.xxx.xx.xxx/fog/srcd/sysrcd.md5 404 not found
-
@cnaud86 are you absolutely sure you need /html in the url to get to the md5 file? AND /fog is in the html document root directory? The reason why I ask is the html doc root may be off for your system.
For example on my fog server the dashboard is
http://<fog_server_ip>/fog/management/index.phpIf you look in the doc root of my fog server in
/var/www/html
there is the fog directory and an isoimage directory./var/www/html
should be the html doc root for Ubuntu also. In your case you should have a fog directory and a srcd directory.Why I’m confused is that your url that said it worked
http://xxx.xxx.xx.xxx/html/srcd/sysrcd.md5
implies your html doc root is /var/www (where you are adding in the /html to get to your srcd directory). This may be your issue… -
There is symbolic link into the fog folder fog -> /var/www/fog/
I try to move the srcd folder either into the fog folder or the html folder, giving permissions to www-data:www-data
I reboot each time
I still get the initial error message.
-
@cnaud86 What are the actual “permissions”, not ownership?
www-data:www-data just makes the files owned by the www-data user, but if the files are not readable the server won’t be able to access them.
I think Apache needs at least r+x on the files so maybe;
chmod -R 755 /var/www/html/srcd
could help? -
@Tom-Elliott
I put the srcd folder either in the fog directory of the html one. Permissions set 755. Also tried www-data or root as owner. Reboot the fog server each time.Still the initial error message…
-
@cnaud86 If the URL is still set to look at:
http://xxx.xxx.xx.xxx/srcd/rescue64
but the file exists in:
/var/www/html/fog/srcd/
Then you need to change the url to read as:
http://xxx.xxx.xx.xxx/fog/srcd/rescue64
-
@Tom-Elliott Thank you! It finally works…