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

    Can only add 1 entry to FOF pxe selection menu

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    7
    2.3k
    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.
    • D
      dabob
      last edited by

      Can anyone please explain why I am only able to add one entry to FOG pxe selection menu when I go in and edit the default pxelinux.cfg file?

      I added an entry/menu label for both DSL and Knoppix, however only one of them displays correctly.

      Thanks,
      dabob

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Can you show us the configuration so we can try to help you out.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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
        • D
          dabob
          last edited by

          Hi Tom, and thanks for the prompt response.

          Here is the configuration below, I believe it has something to do with wrong formatting on my end. However, I’m very new to FOG and am not exactly sure. I will try to post a screen shot somehow of the menu after pxe boot, but I’m running ubuntu on VB VM which holds all of FOG services, then I have another VB VM that I use to pxe the FOG VM. Both running on Windows 7 host.

          How do I screen shot of the pxe client VM while in FOG pxe selection menu?

          DEFAULT vesamenu.c32
          MENU TITLE NewAgeITSupport Computer Cloning Solution
          MENU BACKGROUND fog/bg.png
          MENU MASTER PASSWD $1$0123456789
          \n
          menu color title 1;36;44 #ffffffff #00000000 std
          \n
          LABEL fog.local
          localboot 0
          MENU DEFAULT
          MENU LABEL Boot from hard disk
          TEXT HELP
          Boot from the local hard drive.
          If you are unsure, select this option.
          ENDTEXT
          \n
          LABEL fog.memtest
          kernel fog/memtest/memtest
          MENU LABEL Run Memtest86+
          TEXT HELP
          Run Memtest86+ on the client computer.
          ENDTEXT
          \n
          LABEL fog.reg
          kernel fog/kernel/bzImage
          append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 mode=autoreg web=192.168.1.121/fog/ loglevel=4
          MENU LABEL Quick Host Registration and Inventory
          TEXT HELP
          Automatically register the client computer,
          and perform a hardware inventory.
          ENDTEXT
          \n
          LABEL fog.reginput
          kernel fog/kernel/bzImage
          append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 mode=manreg web=192.168.1.121/fog/ loglevel=4
          MENU LABEL Perform Full Host Registration and Inventory
          TEXT HELP
          Perform a full host registration on the client
          computer, perform a hardware inventory, and
          optionally image the host.
          ENDTEXT
          \n
          LABEL fog.quickimage
          MENU PASSWD $1$0123456789
          kernel fog/kernel/bzImage
          append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 mode=quickimage keymap= web=192.168.1.121/fog/ loglevel=4
          MENU LABEL Quick Image
          TEXT HELP
          This mode will allow you to image this host quickly with
          it’s default assigned image.
          ENDTEXT
          \n
          LABEL fog.sysinfo
          kernel fog/kernel/bzImage
          append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 mode=sysinfo loglevel=4
          MENU LABEL Client System Information
          TEXT HELP
          View basic client information such as MAC address
          and FOG compatibility.
          ENDTEXT
          \n
          LABEL fog.debug
          MENU PASSWD $1$0123456789
          kernel fog/kernel/bzImage
          append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 mode=onlydebug
          MENU LABEL Debug Mode
          TEXT HELP
          Debug mode will load the boot image and load a prompt so
          you can run any commands you wish.
          ENDTEXT

          LABEL DSL LIVE CD
          MENU MASTER PASSWD password
          kernel fog/DSL/memdisk
          append iso initrd=fog/DSL/dsl-4.11.rc1.iso raw
          MENU LABELDSL LIVE CD
          TEXT HELP
          END TEXT

          LABEL KNOPPIX LIVE CD
          MENU MASTER PASSWD password
          kernel fog/linux-iso/memdisk
          append iso initrd=fog/linux-iso/KNOPPIX_V7.2.0CD-2013-06-16-EN.iso raw
          MENU LABEL KNOPPIX LIVE CD
          TEXT HELP
          END TEXT

          \n
          PROMPT 0
          TIMEOUT 30\n

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            I’m only going out on a limb here, but it seems, based on looking at the configuration, you’re not seeing the menu option for DSL? Is this correct?

            It’s because of the line that says:
            [code]MENU LABELDSL LIVE CD[/code]
            It should say:
            [code]MENU LABEL DSL LIVE CD[/code]

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            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
            • D
              dabob
              last edited by

              [quote=“Tom Elliott, post: 19765, member: 7271”]I’m only going out on a limb here, but it seems, based on looking at the configuration, you’re not seeing the menu option for DSL? Is this correct?

              It’s because of the line that says:
              [code]MENU LABELDSL LIVE CD[/code]
              It should say:
              [code]MENU LABEL DSL LIVE CD[/code][/quote]

              Hi again Tom,

              Here is a screenshot of the menu, notice how the code for the KNOPPIX LIVE CD is being displayed and located in the lower right hand corner.

              NOTE: I made the change to the spacing of LABEL and DSL that you pointed out, however the results are the same as indicated in the screenshot attachment.

              Thanks,
              dabob

              [url=“/_imported_xf_attachments/0/437_win7vm.png?:”]win7vm.png[/url]

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                Then I’d try getting rid of the TEXT HELP and END TEXT Bits as you have nothing underneath it anyway.

                Maybe try the following lines to your /tftpboot/pxelinux.cfg/default
                [code]
                LABEL DSL LIVE CD
                MENU MASTER PASSWD password
                kernel fog/DSL/memdisk
                append iso initrd=fog/DSL/dsl-4.11.rc1.iso raw
                MENU LABEL DSL LIVE CD
                TEXT HELP
                DSL Linux Bootable ISO
                ENDTEXT

                LABEL KNOPPIX LIVE CD
                MENU MASTER PASSWD password
                kernel fog/linux-iso/memdisk
                append iso initrd=fog/linux-iso/KNOPPIX_V7.2.0CD-2013-06-16-EN.iso raw
                MENU LABEL KNOPPIX LIVE CD
                TEXT HELP
                Knoppix Bootable ISO
                ENDTEXT[/code]

                Last thing:

                END TEXT Should actually read ENDTEXT <-- Sorry I didn’t notice this sooner.
                Hopefully this will help.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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
                • D
                  dabob
                  last edited by

                  Hi Tom,

                  I put END TEXT as you suggested and and all seems good now, I even put it back to END TEXT and was able to recreate to problem.

                  I really appreciate your help and prompt responses, now I’m able to carry on with my learning on linux/Ubuntu and FOG.

                  i guess that’s what my professor meant when he said "pay close attention to details when working, especially with text based config files/programs.

                  Thanks;
                  dabob

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

                  200

                  Online

                  12.1k

                  Users

                  17.3k

                  Topics

                  155.3k

                  Posts
                  Copyright © 2012-2024 FOG Project