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

    Centos/rhel install problem

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    11
    1.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.
    • george1421G
      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
      • 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
        • george1421G
          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

            @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
            • 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!

              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

              george1421G 1 Reply Last reply Reply Quote 2
              • Tom ElliottT
                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
                • george1421G
                  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
                  • 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 ElliottT george1421G 2 Replies Last reply Reply Quote 0
                    • Tom ElliottT
                      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
                      • george1421G
                        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
                        • 1 / 1
                        • First post
                          Last post

                        209

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project