FOG Project

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

    Solved Centos/rhel install problem

    FOG Problems
    4
    11
    172
    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.
    • R
      rockinhc last edited by rockinhc

      My client can pxe boot from fog and start the installation process but fails at find the repository for the os install.
      Screen Shot 2019-10-29 at 3.46.16 PM.png

      My iPXE menu looks as follows:

      kernel tftp://${fog-ip}/os/centos7-dvd/vmlinuz
      initrd tftp://${fog-ip}/os/centos7-dvd/initrd.img
      imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}/images/os/centos7-dvd/LiveOS/squashfs.img ip=dhcp repo=nfs://${fog-ip}/images/os/centos7-dvd splash quiet
      boot || goto MENU

      I have checked the the nfs shares exists and reachable from another system.
      Screen Shot 2019-10-29 at 3.53.36 PM.png

      I would like help understanding what I’m doing wrong. Thank you

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator last edited by

        @rockinhc Please click the “INSTALLATION SOURCE” button, take another picture of the settings and post here.

        According to this website the boot option is not repo=... but inst.repo=nfs:[options:]server:/path!

        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

        george1421 1 Reply Last reply Reply Quote 2
        • george1421
          george1421 Moderator @rockinhc last edited by

          @rockinhc The tutorial has been updated to reflect the currently in use kernel options. Thank you for the feedback.

          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
          • Tom Elliott
            Tom Elliott @rockinhc last edited by

            @rockinhc At one time, maybe the nfs:// worked fine, but it’s since been deprecated and as a part of that, i imagine when @george1421 created that article, the OS version wasn’t at the version it is now. Even though it’s still CentOS 7, its incremental upgrades may have removed the deprecated options as well.

            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
            • R
              rockinhc @Tom Elliott last edited by

              @Tom-Elliott said in Centos/rhel install problem:

              So the setup per redhat documentation:
              https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-anaconda-boot-options

              In particular, remove the // as the installer documentation shows it’s not to be set with nfs://

              inst.repo=nfs:${fog-ip}:/images/os/centos7-dvd
              

              Thank you George/Sebastian/Tom! This worked

              inst.repo=nfs:${fog-ip}:/images/os/centos7-dvd
              

              Screen Shot 2019-10-30 at 8.48.46 AM.png
              Screen Shot 2019-10-30 at 8.49.46 AM.png

              That’s strange since this is different from the instructions from link text

              Tom Elliott george1421 2 Replies Last reply Reply Quote 0
              • george1421
                george1421 Moderator @Sebastian Roth last edited by

                @Sebastian-Roth said in Centos/rhel install problem:

                According to this website the boot option is not repo=… but inst.repo=nfs:[options:]server:/path!

                You know I really wonder where I got that imgargs line from? Its complicated enough I just didn’t make it up. I searched last night but I couldn’t find a good example of netbooting centos 7.

                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
                • Tom Elliott
                  Tom Elliott last edited by Tom Elliott

                  So the setup per redhat documentation:
                  https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-anaconda-boot-options

                  In particular, remove the // as the installer documentation shows it’s not to be set with nfs://

                  inst.repo=nfs:${fog-ip}:/images/os/centos7-dvd
                  

                  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

                  R 1 Reply Last reply Reply Quote 1
                  • S
                    Sebastian Roth Moderator last edited by

                    @rockinhc Please click the “INSTALLATION SOURCE” button, take another picture of the settings and post here.

                    According to this website the boot option is not repo=... but inst.repo=nfs:[options:]server:/path!

                    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

                    george1421 1 Reply Last reply Reply Quote 2
                    • R
                      rockinhc @george1421 last edited by

                      @george1421
                      Nice catch! I did miss that but it’s still not working…
                      Screen Shot 2019-10-29 at 5.22.15 PM.png

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

                        @rockinhc said in Centos/rhel install problem:

                        kernel tftp://${fog-ip}/os/centos7-dvd/vmlinuz
                        initrd tftp://${fog-ip}/os/centos7-dvd/initrd.img
                        imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}/images/os/centos7-dvd/LiveOS/squashfs.img ip=dhcp repo=nfs://${fog-ip}/images/os/centos7-dvd splash quiet
                        boot || goto MENU

                        Ah I think I see it.

                        First I’m still questioning the root= live: nfs:// bit. But nfs paths have a colon after the host name.

                        so
                        root=live:nfs://${fog-ip}/images/os/centos7-dvd/LiveOS/squashfs.img
                        should be written as:
                        root=live:nfs://${fog-ip}:/images/os/centos7-dvd/LiveOS
                        /squashfs.img

                        and
                        repo=nfs://${fog-ip}/images/os/centos7-dvd

                        should be
                        repo=nfs://${fog-ip}:/images/os/centos7-dvd

                        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!

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rockinhc @george1421 last edited by rockinhc

                          @george1421 said in Centos/rhel install problem:

                          Realize that tftp and nfs have two different base paths. For tftp its /tftpboot and for nfs its /images. Do you have the repository files in the correct location?

                          It looks like i have the correct repository location.
                          Screen Shot 2019-10-29 at 4.55.12 PM.png

                          I can connect to the nfs share from my macbook.
                          Screen Shot 2019-10-29 at 5.01.47 PM.png

                          Which will show these contents:
                          Screen Shot 2019-10-29 at 5.02.20 PM.png

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

                            Realize that tftp and nfs have two different base paths. For tftp its /tftpboot and for nfs its /images. Do you have the repository files in the correct location?

                            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!

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

                            169
                            Online

                            10.2k
                            Users

                            16.3k
                            Topics

                            149.9k
                            Posts

                            Copyright © 2012-2020 FOG Project