Black screen and blinking cursor after selecting anything from FOG menu



  • Hello!

    I recently updated FOG to 1.5.7 and seem to have hit a snag.

    FOG: 1.5.7
    OS: Centos 7

    When trying to do anything from the FOG menu after PXE booting I get a black screen with blinking cursor.

    The PC’s are a mixture of Desktop and Laptop machines, all with Safe Mode turned off and UEFI/Legacy mode turned on with trying legacy first on boot.

    Any help would be great.

    Thanks.


  • Senior Developer

    @Brad-Schumann From what you wrote so far I am fairly sure this is a different issue than we had before. Please open a new topic and post more details on when this is exactly happening. When there is a task scheduled or if you try to register the host or what?



  • I am having the same issue, with the black screen and blinking cursor in the upper left corner after the Fog splash screen to boot to Hard Drive. So far it is isolated to Dell Latitude 5570’s that I have found was there a fix?

    Fog version: 1.5.5
    bzImage Version: 4.19.6
    bzImage32 Version: 4.19.1


  • Senior Developer

    @jam1987 Again I am wondering why we see bzImage4.19 in the picture. This is not booting the currently 4.19.48 kernel I suppose.



  • @Sebastian-Roth , while using 1.5.4 all worked perfectly fine. I updated to 1.5.6 recently but did not need to use it. Logged into to use it yesterday and 1.5.7 popped up so I updated and now it’s not working.

    I’m using this kernel currently, which was auto enabled during the install:

    de8c4b3a-4602-4ec6-a1b5-d6a51e1f1507-image.png

    I’ll try it on another piece of hardware.


  • Senior Developer

    @jam1987 Did it all work perfectly fine before you updated? Which version did you update from?

    Have you tried booting a couple different hardware models? Do they all sit with the same blinking cursor when they should be booting from the hard drive after the FOG menu?

    The menu code you posted looks ok in first sight.

    In the picture I notice it’s loading bzImage4.19 which is not the default kernel. What kind of modification is this? I am not saying this is wrong or causing the issue but it’s something I notice and I try to get the whole picture.



  • I just tried adding a blank laptop to FOG, added it as a host and gave it a blank image and ran a capture.

    Rebooted and it is now sitting here:

    ed499041-5ff2-44aa-a2df-eed2469c4e14-image.png



  • @Sebastian-Roth said in Black screen and blinking cursor after selecting anything from FOG menu:

    http://x.x.x.x/fog/service/ipxe/boot.php?mac=aa:bb:cc:dd:ee:ff

    @Sebastian-Roth here is the print out from a host:

    #!ipxe
    set fog-ip 192.168.2.161
    set fog-webroot fog
    set boot-url http://${fog-ip}/${fog-webroot}
    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://192.168.2.161/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
    :MENU
    menu
    colour --rgb 0x00567a 0 ||
    cpair --foreground 1 1 ||
    cpair --foreground 0 3 ||
    cpair --foreground 4 4 ||
    item --gap Host is registered as IT-FRESH-DT!
    item --gap -- -------------------------------------
    item fog.local Boot from hard disk
    item fog.memtest Run Memtest86+
    item fog.keyreg Update Product Key
    item fog.deployimage Deploy Image
    item fog.multijoin Join Multicast Session
    item fog.quickdel Quick Host Deletion
    item fog.sysinfo Client System Information (Compatibility)
    item fog.approvehost Approve This Host
    item fog.Antivirus Antivirus
    choose --default fog.local --timeout 3000 target && goto ${target}
    :fog.local
    sanboot --no-describe --drive 0x80 || goto MENU
    :fog.memtest
    kernel memdisk initrd=memtest.bin iso raw
    initrd memtest.bin
    boot || goto MENU
    :fog.keyreg
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param keyreg 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    param sysuuid ${uuid}
    :fog.deployimage
    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
    param sysuuid ${uuid}
    :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
    param sysuuid ${uuid}
    :fog.quickdel
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param delhost 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    param sysuuid ${uuid}
    :fog.sysinfo
    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://192.168.2.161/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.2.161:/images/ storageip=192.168.2.161 loglevel=4 mode=sysinfo
    imgfetch init_32.xz
    boot || goto MENU
    :fog.approvehost
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param approveHost 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    param sysuuid ${uuid}
    :fog.Antivirus
    kernel tftp://${fog-ip}/mint/vmlinuz
    initrd tftp://${fog-ip}/mint/initrd.lz
    imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/images/os/mint systemd.mask=tmp.mount ip=dhcp rw
    boot
    param sysuuid ${uuid}
    :bootme
    chain -ar http://192.168.2.161/fog/service/ipxe/boot.php##params ||
    goto MENU
    autoboot
    

    You helped me the other week getting FOG upgraded to 1.5.6 from 1.5.4 I had to change some settings in relation to MariaDB-client and server for the upgrade to progress.

    Since then I haven’t needed to use FOG until today where I noticed the 1.5.7 update so I ran it and now seeing the issue…

    Exit type is:

    660eda78-7f8c-4660-ae0b-1c8551092c5f-image.png

    In the past it has always worked fine for me. I would either add the client to FOG via the web interface or the FOG PXE menu.

    Capture image, check compatibility etc all worked. Instead now I get a black screen with a blinking cursor.


  • Senior Developer

    @jam1987 Please open the following URL in your browser and post the text output you get here: http://x.x.x.x/fog/service/ipxe/boot.php?mac=aa:bb:cc:dd:ee:ff (put in the FOG server IP instead of x.x.x.x and a host’s MAC address as parameter)

    Which exit type do you use? Has this ever worked before?

    From which version did you upgrade to 1.5.7? I am not aware of any change between 1.5.6 and 1.5.7 that would cause this.


Log in to reply
 

382
Online

7.5k
Users

14.6k
Topics

137.7k
Posts