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

    Sort Fog Image Menu

    Scheduled Pinned Locked Moved
    General
    2
    4
    396
    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

      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

        @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 Reply Quote 0
        • ?
          A Former User @Sebastian Roth
          last edited by

          @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

            @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
            • First post
              Last post

            177

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project