Boot menu and Kernel panic
-
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