Boot menu and Kernel panic
-
Hi,
I’ve some problems with FOG, I think it’s a mismatch in my configuration (I’m on Debian 7 and FOG 5360).
First, I’ve not all items in PXE menu, like quick registration and full host registration :
Below my boot menu
And my configuration
The other problem is a kernel panic after select a quick image task :
Below the error
Ipxe folder content
-rw-r--r-- 1 fog www-data 1372 nov. 16 10:04 advanced.php -rw-r--r-- 1 fog www-data 21280 nov. 16 10:04 bg.png -rw-r--r-- 1 fog www-data 679 nov. 16 10:04 boot.php -rw-r--r-- 1 fog www-data 6837408 nov. 16 11:27 bzImage -rw-r--r-- 1 fog www-data 6609104 nov. 16 11:23 bzImage32 -rw-r--r-- 1 fog www-data 234697 nov. 16 10:04 grub.exe -rw-r--r-- 1 fog www-data 9175040 nov. 16 10:06 init_32.xz -rw-r--r-- 1 fog www-data 7553024 nov. 16 10:06 init.xz -rw-r--r-- 1 fog www-data 25340 nov. 16 10:04 memdisk -rw-r--r-- 1 fog www-data 1839104 nov. 16 10:04 memtest.bin -rw-r--r-- 1 fog www-data 20933 nov. 16 10:04 refind.conf -rw-r--r-- 1 fog www-data 205192 nov. 16 10:04 refind.efi
Please help
Thank’s in advance.
-
Not sure about the menu but I think your init.xz/init_32.xz are way to small. Mine are about 1.5 times bigger (roughly 15 MB). Incomplete download of those files would explain the error you see I reckon.
cd /var/www/fog/service/ipxe rm init.xz init_32.xz wget -O init.xz "http://sourceforge.net/projects/freeghost/files/InitList/init.xz/download" wget -O init_32.xz "http://sourceforge.net/projects/freeghost/files/InitList/init_32.xz/download" chown www-data:www-data init*
-
I didn’t even see that, but I have now added the init=/sbin/init to the kernel args list for kernel bootup in an attempt to hopefully ensure we always use the proper file.
-
@Sebastian-Roth OK it’s solved my problem for the kernel panic. Menu always bugged
-
@ch3i Do you have anything in the apache error logs when you try to load the boot menu?
-
@Tom-Elliott Hi Tom, I’ve nothing in error.log
-
@ch3i Please try accessing the bootmenu URL from a browser and see what you get: http://ip.or.fog.srv/fog/service/ipxe/boot.php
-
@Sebastian-Roth said:
#!ipxe set fog-ip 172.20.0.4 set fog-webroot fog set boot-url http://${fog-ip}/${fog-webroot} #!ipxe cpuid --ext 29 && set arch x86_64 || set arch i386 goto get_console :console_set colour --rgb 0x00567a 1 && colour --rgb 0x00567a 2 && colour --rgb 0x00567a 4 || cpair --foreground 7 --background 2 2 || goto MENU :alt_console cpair --background 0 1 && cpair --background 1 2 || goto MENU :get_console console --picture http://172.20.0.4/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console :MENU menu colour --rgb 0xff0000 0 || cpair --foreground 1 1 || cpair --foreground 0 3 || cpair --foreground 4 4 || item --gap Host is NOT registered! item --gap -- ------------------------------------- item fog.local Boot from hard disk item fog.memtest Run Memtest86+ item fog.quickimage Quick Image item fog.multijoin Join Multicast Session item fog.sysinfo Client System Information (Compatibility) choose --default fog.local --timeout 3000 target && goto ${target} :fog.local sanboot --no-describe --drive 0x80 || goto MENU :fog.memtest kernel memdisk iso raw initrd memtest.bin boot || goto MENU :fog.reginput kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.20.0.4/fog/ consoleblank=0 loglevel=4 mode=manreg imgfetch init_32.xz boot || goto MENU :fog.reg kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.20.0.4/fog/ consoleblank=0 loglevel=4 mode=autoreg imgfetch init_32.xz boot || goto MENU :fog.quickimage login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param qihost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme :fog.multijoin login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param sessionJoin 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme :fog.sysinfo kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.20.0.4/fog/ consoleblank=0 loglevel=4 mode=sysinfo imgfetch init_32.xz boot || goto MENU :bootme chain -ar http://172.20.0.4/fog/service/ipxe/boot.php##params || goto MENU autoboot
-
Interesting as
:fog.reginput
and:fog.reg
are available but not listed as an item in the menu section… Are you sure you don’t have any related messages in your apache error log?? -
No error, but can’t post the log >> Antispam xD
-
Looking at the source code I think I found the “issue”. Didn’t know that there is a new option called FOG_REGISTRATION_ENABLED in FOG Settings… Check the settings in your web interface…
-
@Sebastian-Roth said:
Looking at the source code I think I found the “issue”. Didn’t know that there is a new option called FOG_REGISTRATION_ENABLED in FOG Settings… Check the settings in your web interface…
\o/ Solved ! Thx
-
@ch3i Believe it or not, this option isn’t really new. It’s been there for a while.
It’s what enables registering or not, so you have control over whether or not you want to allow systems to register. It’s kind of a security feature.
-
@Tom-Elliott Hi Tom, I’ve updated my old server during few month, and never seen that option. I’m on a fresh install, and I’ve not checked that