• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Rebelman
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 16
    • Best 0
    • Controversial 0
    • Groups 0

    Rebelman

    @Rebelman

    0
    Reputation
    6
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Rebelman Unfollow Follow

    Latest posts made by Rebelman

    • RE: Fog Menu loop

      @Tom-Elliott Yes, everything is working as expected, I don’t have to press escape to get into the menu, it partclones without any problems and performs a full reg.

      posted in FOG Problems
      R
      Rebelman
    • RE: Fog Menu loop

      @Tom-Elliott

      mysql> SELECT settingKey,settingValue FROM globalSettings WHERE settingKey IN ('FOG_EFI_BOOT_EXIT_TYPE','FOG_KERNEL_ARGS','FOG_KERNEL_DEBUG','FOG_KERNEL_LOGLEVEL','FOG_KERNEL_RAMDISK_SIZE','FOG_KEYMAP','FOG_KEY_SEQUENCE','FOG_MEMTEST_KERNEL','FOG_PXE_BOOT_IMAGE','FOG_PXE_BOOT_IMAGE_32','FOG_PXE_HIDDENMENU_TIMEOUT','FOG_PXE_MENU_HIDDEN','FOG_PXE_MENU_TIMEOUT','FOG_TFTP_PXE_KERNEL','FOG_TFTP_PXE_KERNEL_32') ORDER BY settingKey;
      +----------------------------+--------------+
      | settingKey                 | settingValue |
      +----------------------------+--------------+
      | FOG_EFI_BOOT_EXIT_TYPE     | refind_efi   |
      | FOG_KERNEL_ARGS            |              |
      | FOG_KERNEL_DEBUG           |              |
      | FOG_KERNEL_LOGLEVEL        | 4            |
      | FOG_KERNEL_RAMDISK_SIZE    | 127000       |
      | FOG_KEYMAP                 |              |
      | FOG_KEY_SEQUENCE           |              |
      | FOG_MEMTEST_KERNEL         | memtest.bin  |
      | FOG_PXE_BOOT_IMAGE         | init.xz      |
      | FOG_PXE_BOOT_IMAGE_32      | init_32.xz   |
      | FOG_PXE_HIDDENMENU_TIMEOUT | 30           |
      | FOG_PXE_MENU_HIDDEN        | 0            |
      | FOG_PXE_MENU_TIMEOUT       | 3            |
      | FOG_TFTP_PXE_KERNEL        | bzImage      |
      | FOG_TFTP_PXE_KERNEL_32     | bzImage32    |
      +----------------------------+--------------+
      15 rows in set (0.00 sec)
      

      Here is the return now with that included, I’ve also tried doing a new install on my UEFI machine and it went further into the menu until it crashed on cannot find disk on the system. I had to make a change in my BIOS and I’m now able to successfully install an image onto the machine. Everything completes with no errors.

      posted in FOG Problems
      R
      Rebelman
    • RE: Fog Menu loop

      @Tom-Elliott

      mysql> SELECT settingKey,settingValue FROM globalSettings WHERE settingKey IN ('FOG_EFI_BOOT_EXIT_TYPE','FOG_KERNEL_ARGS','FOG_KERNEL_DEBUG','FOG_KERNEL_LOGLEVEL','FOG_KERNEL_RAMDISK_SIZE','FOG_KEYMAP','FOG_KEY_SEQUENCE','FOG_MEMTEST_KERNEL','FOG_PXE_BOOT_IMAGE','FOG_PXE_BOOT_IMAGE_32','FOG_PXE_HIDDENMENU_TIMEOUT','FOG_PXE_MENU_HIDDEN','FOG_PXE_MENU_TIMEOUT','FOG_TFTP_PXE_KERNEL','FOG_TFTP_PXE_KERNEL_32') ORDER BY settingKey;
      +----------------------------+--------------+
      | settingKey                 | settingValue |
      +----------------------------+--------------+
      | FOG_EFI_BOOT_EXIT_TYPE     | refind_efi   |
      | FOG_KERNEL_ARGS            |              |
      | FOG_KERNEL_DEBUG           |              |
      | FOG_KERNEL_LOGLEVEL        | 4            |
      | FOG_KERNEL_RAMDISK_SIZE    | 127000       |
      | FOG_KEY_SEQUENCE           |              |
      | FOG_MEMTEST_KERNEL         | memtest.bin  |
      | FOG_PXE_BOOT_IMAGE         | init.xz      |
      | FOG_PXE_BOOT_IMAGE_32      | init_32.xz   |
      | FOG_PXE_HIDDENMENU_TIMEOUT | 30           |
      | FOG_PXE_MENU_HIDDEN        | 0            |
      | FOG_PXE_MENU_TIMEOUT       | 3            |
      | FOG_TFTP_PXE_KERNEL        | bzImage      |
      | FOG_TFTP_PXE_KERNEL_32     | bzImage32    |
      +----------------------------+--------------+
      14 rows in set (0.00 sec)```
      posted in FOG Problems
      R
      Rebelman
    • RE: Fog Menu loop

      @Tom-Elliott
      So I’m getting an error when typing that in on my FOG database -
      ERROR 1146 (42S02): Table ‘fog.global’ doesn’t exist

      posted in FOG Problems
      R
      Rebelman
    • RE: Fog Menu loop

      @Sebastian-Roth
      Yes, I only have it booting to one FOG server, the picture shows the UEFI boot screen. UEFI-boot.jpg

      For as long as I have had FOG running, I’ve always had to press escape to get into the menu. I’ve never marked it to be hidden, at least not intentionally.

      This is the link for the bootmenu.class.php file
      Bootmenu

      This is my menuAccess info you are also wanting.

      #!ipxe
      set fog-ip 10.254.1.20
      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://10.254.1.20/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.reginput Perform Full Host Registration and Inventory
      item fog.reg Quick Registration and Inventory
      item fog.deployimage Deploy Image
      item fog.multijoin Join Multicast Session
      item fog.sysinfo Client System Information (Compatibility)
      choose --default fog.local --timeout 0 target && goto ${target}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      :fog.memtest
      kernel memdisk initrd=init.xz iso raw
      initrd init.xz
      boot || goto MENU
      :fog.reginput
      kernel loglevel=4 initrd=30 root=/dev/ram0 rw ramdisk_size=127000 web=http://10.254.1.20/fog/ consoleblank=0 rootfstype=ext4 storage=10.254.1.20:/images/ storageip=10.254.1.20 loglevel=4 mode=manreg
      imgfetch 30
      boot || goto MENU
      :fog.reg
      kernel loglevel=4 initrd=30 root=/dev/ram0 rw ramdisk_size=127000 web=http://10.254.1.20/fog/ consoleblank=0 rootfstype=ext4 storage=10.254.1.20:/images/ storageip=10.254.1.20 loglevel=4 mode=autoreg
      imgfetch 30
      boot || goto MENU
      :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.sysinfo
      kernel loglevel=4 initrd=30 root=/dev/ram0 rw ramdisk_size=127000 web=http://10.254.1.20/fog/ consoleblank=0 rootfstype=ext4 storage=10.254.1.20:/images/ storageip=10.254.1.20 loglevel=4 mode=sysinfo
      imgfetch 30
      boot || goto MENU
      :bootme
      chain -ar http://10.254.1.20/fog/service/ipxe/boot.php##params ||
      goto MENU
      autoboot
      

      And finally no, I don’t have any other models per say I have different machines I can test, we just bought a batch of computers for a new lab and all are the same model and specs. I can try to upgrade the firmware and see if that makes a difference.

      posted in FOG Problems
      R
      Rebelman
    • RE: Fog Menu loop

      @Sebastian-Roth

      I did the database maintenance and every line I put in on my server came back “Query OK, 0 rows affected”

      The two links direct to the videos you were wanting to see.
      FOG Legacy Boot
      FOG UEFI Boot

      I’m wondering if I should just do a reinstall on my server and start fresh, ( update OS while I’m at it since I’m running an older version) maybe something goofed up during install and that’s what’s causing my problems.

      posted in FOG Problems
      R
      Rebelman
    • RE: Fog Menu loop

      @Sebastian-Roth said in Fog Menu loop:

      mysql> SELECT * FROM globalSettings WHERE globalSettings.settingKey LIKE ‘%HID%’;

      Here are my lines that return when I type that in.

      +-----------+----------------------------+-----------------------------------------------------------------------------+--------------+-------------------+
      | settingID | settingKey                 | settingDesc                                                                 | settingValue | settingCategory   |
      +-----------+----------------------------+-----------------------------------------------------------------------------+--------------+-------------------+
      |        64 | FOG_PXE_MENU_HIDDEN        | This setting defines if you would like the FOG pxe menu hidden or displayed | 0            | FOG Boot Settings |
      |       114 | FOG_PXE_HIDDENMENU_TIMEOUT | This setting defines the default value for the pxe hidden menu timeout.     | 30           | FOG Boot Settings |
      +-----------+----------------------------+-----------------------------------------------------------------------------+--------------+-------------------+
      2 rows in set (0.01 sec)
      
      posted in FOG Problems
      R
      Rebelman
    • RE: Fog Menu loop

      @Sebastian-Roth
      Here are my Menu hide settings, nothing is checked as far as hiding the menu.
      fog.png

      posted in FOG Problems
      R
      Rebelman
    • RE: Fog Menu loop

      @Sebastian-Roth said in Fog Menu loop:

      Please take a look through the iPXE menu options in the web UI. Maybe there is something wrong there.

      Is there something specific I need to be looking for, I’m under the iPXE Menu Item Settings and not sure what to be looking for.

      posted in FOG Problems
      R
      Rebelman
    • RE: Fog Menu loop

      @Sebastian-Roth This is what I get when I do the ? mark.

      #!ipxe
      set fog-ip 10.254.1.20
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      cpuid --ext 29 && set arch x86_64 || set arch i386
      iseq ${platform} efi && set key 0x1b || set key 0x1b
      iseq ${platform} efi && set keyName ESC || set keyName Escape
      prompt --key ${key} --timeout 0 Booting... (Press ${keyName} to access the menu) && goto menuAccess || sanboot --no-describe --drive 0x80
      :menuAccess
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param platform ${platform}
      param username ${username}
      param password ${password}
      param menuaccess 1
      param debug 1
      param sysuuid ${uuid}
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      :bootme
      chain -ar http://10.254.1.20/fog/service/ipxe/boot.php##params
      
      posted in FOG Problems
      R
      Rebelman