• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Sort Fog Image Menu

Scheduled Pinned Locked Moved
General
2
4
422
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ?
    A Former User
    last edited by Dec 3, 2018, 6:45 PM

    Hello,
    (I hope the question has not been asked before)
    I have added some images, but there are more to come.
    Is it possible to sort the FOG menu? (Categories, headings, groups)
    0_1543862673100_2018-12-03 19_39_00-FISCHER-FS [FS15-EX].png
    Greetings and thanks 🙂

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Dec 3, 2018, 1:16 PM Dec 3, 2018, 7:13 PM

      @LycaKnight Just guessing here as I have not had a look at the code yet. But from the picture you posted I suppose we do some kind of alphabetical sort on the names. WIN10... comes before WIN7... because a non-numerical sort is used I reckon. I guess you could write your own hook to sort things differently.

      I am sure you can add “empty” menu entries (untested), e.g. using a caption like ------------------------------ to sort of separate different categories.

      Edit: Take a look at this picture! Surely iPXE can do a lot of things… Play with it to see what you can make of it: http://ipxe.org/cmd/menu, http://ipxe.org/cmd/item, http://ipxe.org/cmd/choose

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      ? 1 Reply Last reply Dec 3, 2018, 7:57 PM Reply Quote 0
      • ?
        A Former User @Sebastian Roth
        last edited by Dec 3, 2018, 7:57 PM

        @Sebastian-Roth Thanks for your answer 🙂
        I have created an extended menu as in your picture. (For ISOs etc. ) Work great.
        But the Image Fog Menu is created automatically and I do not know how to edit the menu or load images manually (advanced menu).
        I tried your “empty” menu entries, but thie generates a error.

        I found this and tried it, but the image is not loaded correctly:

        :WIN10P-64-UEFI
        kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp web=${fog-ip}/fog/ consoleblank=0 loglevel=4 type=down img=WIN10P-64-UEFI ftp=${fog-ip} imgType=n imgPartitionType=all osid=5 storage=${fog-ip}:/images/ capone=1
        imgfetch init.xz
        boot ||
        

        The error after loading:
        0_1543867025648_2018-12-03 20_56_00-FISCHER-FS [FS15-EX].png

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Dec 3, 2018, 9:39 PM

          @LycaKnight You are missing the parameter initrd=init.xz (kernel bzImage initrd=init_32.xz ...). I am fairly sure this is causing the kernel panic.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post

          189

          Online

          12.1k

          Users

          17.3k

          Topics

          155.4k

          Posts
          Copyright © 2012-2024 FOG Project