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

How to pxe boot cent os 7

Scheduled Pinned Locked Moved Solved
General
5
63
30.0k
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
    dureal99d @Wayne Workman
    last edited by Sep 7, 2016, 2:27 AM

    @Wayne-Workman as suggested by @george1421 I am moving all my files to a folder called /opt/bootimgs on my Linux box

    W 1 Reply Last reply Sep 7, 2016, 2:29 AM Reply Quote 0
    • D
      dureal99d @Tom Elliott
      last edited by dureal99d Sep 6, 2016, 8:29 PM Sep 7, 2016, 2:28 AM

      @Tom-Elliott removed the suggested lines from the command same result

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman @dureal99d
        last edited by Sep 7, 2016, 2:29 AM

        @dureal99d said in How to pxe boot cent os 7:

        @Wayne-Workman as suggested by @george1421 I am moving all my files to a folder called /opt/bootimgs on my Linux box

        Because your boot menu is using http, you would still need to create a soft symbolic link from this new directory to somewhere in the web directory.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        D 1 Reply Last reply Sep 7, 2016, 2:30 AM Reply Quote 0
        • D
          dureal99d @Wayne Workman
          last edited by Sep 7, 2016, 2:30 AM

          @Wayne-Workman said in How to pxe boot cent os 7:

          you would still need to create a soft symbolic link from this new directory to somewhere in the web directory.

          Ok how do i create this soft link?

          W 1 Reply Last reply Sep 7, 2016, 2:38 AM Reply Quote 0
          • W
            Wayne Workman @dureal99d
            last edited by Wayne Workman Sep 6, 2016, 8:40 PM Sep 7, 2016, 2:38 AM

            @dureal99d The syntax is:

            ln -s <source> <destination>

            You should remove the left/right carrots when running the command.
            If all the ISOs are in /opt/bootimgs the command would be:
            ln -s /opt/bootimgs /var/www/html

            Of course, apache needs access to this new directory also. It’s fine to set ownership of /opt/bootimgs to apache:root or 777 or something.

            And your resultant web path to these files would then be:
            http://<IP>/bootimgs/whatever

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            D 2 Replies Last reply Sep 7, 2016, 2:42 AM Reply Quote 0
            • D
              dureal99d @Wayne Workman
              last edited by Sep 7, 2016, 2:42 AM

              @Wayne-Workman ok ima get on it and post the results shortly

              T 1 Reply Last reply Sep 7, 2016, 2:43 AM Reply Quote 0
              • T
                Tom Elliott @dureal99d
                last edited by Sep 7, 2016, 2:43 AM

                @dureal99d after setting the new nfs paths, did you run exportfs -a

                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

                D 2 Replies Last reply Sep 7, 2016, 2:47 AM Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Sep 7, 2016, 2:44 AM

                  Also may be useful to see the exact command you’re typing now.

                  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

                  D 1 Reply Last reply Sep 7, 2016, 2:46 AM Reply Quote 0
                  • D
                    dureal99d @Tom Elliott
                    last edited by Sep 7, 2016, 2:46 AM

                    @Tom-Elliott sudo mount 192.168.1.109:/opt/bootimgs/fedora /mnt

                    T 1 Reply Last reply Sep 7, 2016, 3:12 AM Reply Quote 0
                    • D
                      dureal99d @Tom Elliott
                      last edited by Sep 7, 2016, 2:47 AM

                      @Tom-Elliott no, i didnt know i had to, but will try it

                      1 Reply Last reply Reply Quote 0
                      • D
                        dureal99d @Tom Elliott
                        last edited by Sep 7, 2016, 2:57 AM

                        @Tom-Elliott said in How to pxe boot cent os 7:

                        exportfs -a

                        exportfs: /etc/exports [3]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/var/www/fog/service/ipxe”.
                        Assuming default behaviour (‘no_subtree_check’).
                        NOTE: this default has changed since nfs-utils version 1.0.x

                        exportfs: /etc/exports [4]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/opt/bootimgs/fedora”.
                        Assuming default behaviour (‘no_subtree_check’).
                        NOTE: this default has changed since nfs-utils version 1.0.x

                        T 1 Reply Last reply Sep 7, 2016, 2:59 AM Reply Quote 0
                        • T
                          Tom Elliott @dureal99d
                          last edited by Sep 7, 2016, 2:59 AM

                          @dureal99d those messages are fine
                          Any luck mounting now?

                          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

                          D 1 Reply Last reply Sep 7, 2016, 3:06 AM Reply Quote 0
                          • D
                            dureal99d @Tom Elliott
                            last edited by Sep 7, 2016, 3:06 AM

                            @Tom-Elliott said in How to pxe boot cent os 7:

                            @dureal99d those messages are fine
                            Any luck mounting now?

                            No luck

                            T 1 Reply Last reply Sep 7, 2016, 3:09 AM Reply Quote 0
                            • T
                              Tom Elliott @dureal99d
                              last edited by Sep 7, 2016, 3:09 AM

                              @dureal99d can you post your exports file again?

                              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

                              D 1 Reply Last reply Sep 7, 2016, 3:10 AM Reply Quote 0
                              • D
                                dureal99d @Tom Elliott
                                last edited by Sep 7, 2016, 3:10 AM

                                @Tom-Elliott said in How to pxe boot cent os 7:

                                @dureal99d can you post your exports file again?

                                /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
                                /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
                                /var/www/fog/service/ipxe *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
                                /opt/bootimgs *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tom Elliott @dureal99d
                                  last edited by Tom Elliott Sep 6, 2016, 9:15 PM Sep 7, 2016, 3:12 AM

                                  @dureal99d That’s the issue you can’t mount a full path. Only mount up to the bootimgs folder.

                                  Instead of:
                                  mount 192.168.1.109:/opt/bootimgs/fedora /mnt use :
                                  mount 192.168.1.109:/opt/bootimgs /mnt

                                  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

                                  D 2 Replies Last reply Sep 7, 2016, 3:15 AM Reply Quote 0
                                  • D
                                    dureal99d @Tom Elliott
                                    last edited by Sep 7, 2016, 3:15 AM

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      dureal99d @Tom Elliott
                                      last edited by Sep 7, 2016, 3:20 AM

                                      @Tom-Elliott said in How to pxe boot cent os 7:

                                      mount 192.168.1.109:/opt/bootimgs /mnt

                                      mount: wrong fs type, bad option, bad superblock on 192.168.1.109:/opt/bootimgs,
                                      missing codepage or helper program, or other error
                                      (for several filesystems (e.g. nfs, cifs) you might
                                      need a /sbin/mount.<type> helper program)

                                         In some cases useful info is found in syslog - try
                                         dmesg | tail or so.
                                      
                                      T 1 Reply Last reply Sep 7, 2016, 3:21 AM Reply Quote 0
                                      • T
                                        Tom Elliott @dureal99d
                                        last edited by Sep 7, 2016, 3:21 AM

                                        @dureal99d and output of dmesg | tail -20?

                                        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

                                        D 2 Replies Last reply Sep 7, 2016, 3:26 AM Reply Quote 0
                                        • D
                                          dureal99d @Tom Elliott
                                          last edited by Sep 7, 2016, 3:26 AM

                                          @Tom-Elliott said in How to pxe boot cent os 7:

                                          dmesg | tail -20

                                          [ 8605.032191] nfsd: last server has exited, flushing export cache
                                          [ 8605.178847] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
                                          [ 8605.179097] NFSD: starting 90-second grace period (net ffffffff81ef3ec0)
                                          [177245.456195] nfsd: last server has exited, flushing export cache
                                          [177245.571541] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
                                          [177245.571572] NFSD: starting 90-second grace period (net ffffffff81ef3ec0)
                                          [504820.256179] nfsd: last server has exited, flushing export cache
                                          [504820.379183] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
                                          [504820.379211] NFSD: starting 90-second grace period (net ffffffff81ef3ec0)
                                          [505766.396169] nfsd: last server has exited, flushing export cache
                                          [505766.443252] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
                                          [505766.443281] NFSD: starting 90-second grace period (net ffffffff81ef3ec0)
                                          [512189.424200] nfsd: last server has exited, flushing export cache
                                          [512189.469462] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
                                          [512189.469507] NFSD: starting 90-second grace period (net ffffffff81ef3ec0)
                                          [512652.019883] FS-Cache: Loaded
                                          [512652.045276] FS-Cache: Netfs ‘nfs’ registered for caching
                                          [512652.087294] NFS: Registering the id_resolver key type
                                          [512652.087309] Key type id_resolver registered
                                          [512652.087310] Key type id_legacy registered

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 2 / 4
                                          2 / 4
                                          • First post
                                            35/63
                                            Last post

                                          200

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project