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

    Custom ISO (centos 6/7 ) installation issues.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    17
    5.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.
    • Q
      Quazz Moderator @csa
      last edited by

      @csa You replaced APPEND with imgargs vmlinuz ?

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        Ok I see a red flag here.

        What version of FOG are you running? What do you have set for dhcp option 67 {boot file}.

        And to refer to your OP. Why does the top one work WITH imgargs and the bottom one does not if you replace append with imgargs? The only thing I see in the top one is you are calling out the kernel with linux then adding in the args.

        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!

        1 Reply Last reply Reply Quote 0
        • C
          csa
          last edited by

          Team,
          I tried all the following options but didn’t have any success. This is happening with any centos or RHEL distribution. With ubuntu “kernel, initrd and imgargs” are working like champ.
          The issue seems to be unable to pass the following option through ipxe.
          ramdisk_size=100000 ksdevice=eth0 root=/dev/rd/0 ip=dhcp
          using imgargs or moving to initrd.

          Option 1.

          Error --> boots and complains on “ks=… No such file or directory”
          Moved “ramdisk” before ks=. Errors out saying "ramdisk=100000… no such file or directory

          :fog.centos
          set path /fog/OS_IMAGES/CENTOS-6.8-DVD
          set nfs_path /images/OS_IMAGES/CENTOS-6.8-DVD
          kernel http://fogsrv/fog/OS_IMAGES/CENTOS-6.8-DVD/images/pxeboot/vmlinuz || read void
          initrd http://fogsrv/fog/OS_IMAGES/CENTOS-6.8-DVD/images/pxeboot/initrd.img || read void
          imgargs ks=http://fogsrv/fog/kickstarts/centos6.cfg ramdisk_size=100000 ksdevice=eth0 root=/dev/rd/0 ip=dhcp url --url http://10.0.28.24/fog/OS_IMAGES/CENTOS-6.8-DVD  || read void
          boot || read void
          goto start
          

          Option II
          Removed imgargs section and moved everything to “initrd” section. Boots further but errors out saying " Cannot open root device "(null) … Please append a correct “root=” boot option ". Which means its the options in initrd section are getting ignored.

          :fog.centos
          set path /fog/OS_IMAGES/CENTOS-6.8-DVD
          set nfs_path /images/OS_IMAGES/CENTOS-6.8-DVD
          kernel http://fogsrv/fog/OS_IMAGES/CENTOS-6.8-DVD/images/pxeboot/vmlinuz || read void
          initrd http://fogsrv/fog/OS_IMAGES/CENTOS-6.8-DVD/images/pxeboot/initrd.img ks=http://fogsrv/fog/kickstarts/centos6.cfg ramdisk_size=100000 ksdevice=eth0 root=/dev/rd/0 ip=dhcp || read void
          boot || read void
          goto start
          

          Thank you
          Chakri

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

            @csa I believe you need to move it to the “kernel” section, not the initrd

            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

            C 1 Reply Last reply Reply Quote 1
            • C
              csa @Tom Elliott
              last edited by

              @Tom-Elliott said in Custom ISO (centos 6/7 ) installation issues.:

              @csa I believe you need to move it to the “kernel” section, not the initrd

              Tom,
              You are simply awesome. Yes moving all the options to kernel worked like a champ. So for RHEL / Centos the following ipxe configuration menu works

              :fog.centos
              set path /fog/OS_IMAGES/CENTOS-6.8-DVD
              set nfs_path /images/OS_IMAGES/CENTOS-6.8-DVD
              kernel http://fogsrv/fog/OS_IMAGES/CENTOS-6.8-DVD/images/pxeboot/vmlinuz ks=http://fogsrv/fog/kickstarts/centos6.cfg  ramdisk_size=100000 ksdevice=eth0 root=/dev/rd/0 ip=dhcp splash quiet – || read void
              initrd http://fogsrv/fog/OS_IMAGES/CENTOS-6.8-DVD/images/pxeboot/initrd.img || read void
              goto start
              
              

              Thank you so much
              Chakri

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

                With my special thanks to Tom Elliott and team. Please resolve this ticket.

                Thank you
                Chakri

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

                  @csa I think you could still use imgargs just call it before initrd. Glad it’s working though.

                  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

                  Q 1 Reply Last reply Reply Quote 0
                  • Q
                    Quazz Moderator @Tom Elliott
                    last edited by

                    @Tom-Elliott I think he simply forgot to put vmlinuz after imgargs.

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

                      @Quazz I don’t think the kernel has to be specified as its the args but I could be wrong

                      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

                      Q Tom ElliottT 2 Replies Last reply Reply Quote 0
                      • Q
                        Quazz Moderator @Tom Elliott
                        last edited by Quazz

                        @Tom-Elliott iPXE seems to claim it’s mandatory from what I can tell

                        http://ipxe.org/cmd/imgargs

                        But it does basically the same thing as what you said, so it doesn’t really matter.

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

                          @Tom-Elliott that said I think it does need the mode arg aka linux

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

                          146

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project